diff options
author | Alex Elder <elder@dreamhost.com> | 2012-03-21 22:01:18 +0100 |
---|---|---|
committer | Alex Elder <elder@dreamhost.com> | 2012-03-21 22:01:18 +0100 |
commit | 1b2a0669b996b41e8d14592fdaaca8958126f67a (patch) | |
tree | e64b67f20ec0b1ee73e0d888a76122c3eddc5be9 /ceph.spec.in | |
parent | ceph: define and use a shell_scripts Makefile variable (diff) | |
download | ceph-1b2a0669b996b41e8d14592fdaaca8958126f67a.tar.xz ceph-1b2a0669b996b41e8d14592fdaaca8958126f67a.zip |
ceph-kdump-copy: add tools for saving kdumps
This puts in place an init script and a command it runs to save a
kernel core dump to a remote server when a panic or other kernel
failure occurs. The content of a crash file generated by the
"kdump" init script (which uses the Ubuntu "apport" kernel_crashdump
command) is re-packaged and copied (via scp) to a remote server
specified by variables in /etc/default/ceph-kdump-copy. This
packaging (as well as the work done by the apport script) is done
on the next boot of the kernel following a crash.
Note: Although the init script, its config file, and shell script
are known to work, the packaging of these things should not be
expected to be. I (now) know, for example, that the init script
belongs in src/init-ceph-kdump-copy.in if it is to follow the
pattern used by the ceph init script. And there are likely other
problems with the build/install portions of this patch.
Signed-off-by: Alex Elder <elder@dreamhost.com>
Diffstat (limited to 'ceph.spec.in')
-rw-r--r-- | ceph.spec.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ceph.spec.in b/ceph.spec.in index b8b2d1fd227..9af7986cf74 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -314,6 +314,7 @@ fi %{_bindir}/boto_tool %{_bindir}/ceph-coverage %{_bindir}/obsync +%{_bindir}/ceph-kdump-copy %{_initrddir}/ceph %dir %{_libdir}/rados-classes /sbin/mkcephfs |