Debian Bug report logs -
#857300
makedumpfile: Please add a dump-core script
Reply or subscribe to this bug.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, benjamin.drung@profitbricks.com, Louis Bouchard <louis.bouchard@ubuntu.com>:
Bug#857300; Package makedumpfile.
(Thu, 09 Mar 2017 18:42:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Benjamin Drung <benjamin.drung@profitbricks.com>:
New Bug report received and forwarded. Copy sent to benjamin.drung@profitbricks.com, Louis Bouchard <louis.bouchard@ubuntu.com>.
(Thu, 09 Mar 2017 18:42:04 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Package: makedumpfile
Version: 1:1.6.1-1
Severity: wishlist
Tags: patch
Hi,
Some users might want to store core dumps in the same place as kernel
dumps (especially when storing them on a remote machine). To avoid
having to configure two scripts, add a dump-core script to kdump-tools.
It will use the same configuration file as kdump-tools.
Set /proc/sys/kernel/core_pattern to pipe the core dumps to dump-core.
You can use following sysctl configuration file:
$ cat /etc/sysctl.d/50-dump-core.conf
kernel.core_pattern = |/usr/share/kdump-tools/dump-core %e-pid%p-sig%s-%t
# 2 = "suidsafe": Any binary which normally would not be dumped (see "0")
# is dumped readable by root only.
fs.suid_dumpable = 2
$ sysctl -p /etc/sysctl.d/50-dump-core.conf
A patch is attached. Please review it carefully. Some could is
duplicated and probably should be placed in a shell library file.
--
Benjamin Drung
System Developer
Debian & Ubuntu Developer
ProfitBricks GmbH
Greifswalder Str. 207
D - 10405 Berlin
Email: benjamin.drung@profitbricks.com
URL: http://www.profitbricks.com
Sitz der Gesellschaft: Berlin.
Registergericht: Amtsgericht Charlottenburg, HRB 125506B.
Geschäftsführer: Andreas Gauger, Achim Weiss.
[0001-Add-dump-core-script.patch (text/x-diff, attachment)]
Information forwarded
to debian-bugs-dist@lists.debian.org, Louis Bouchard <louis.bouchard@ubuntu.com>:
Bug#857300; Package makedumpfile.
(Fri, 10 Mar 2017 13:21:02 GMT) (full text, mbox, link).
Acknowledgement sent
to Benjamin Drung <benjamin.drung@profitbricks.com>:
Extra info received and forwarded to list. Copy sent to Louis Bouchard <louis.bouchard@ubuntu.com>.
(Fri, 10 Mar 2017 13:21:02 GMT) (full text, mbox, link).
Message #10 received at 857300@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Hi,
I enhanced the dump-core script to collect meta-data information in
apport's crash file format to ease the crash file analysis. An updated
patch is attached.
--
Benjamin Drung
System Developer
Debian & Ubuntu Developer
ProfitBricks GmbH
Greifswalder Str. 207
D - 10405 Berlin
Email: benjamin.drung@profitbricks.com
URL: http://www.profitbricks.com
Sitz der Gesellschaft: Berlin.
Registergericht: Amtsgericht Charlottenburg, HRB 125506B.
Geschäftsführer: Andreas Gauger, Achim Weiss.
[0001-Add-dump-core-script.patch (text/x-patch, attachment)]
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Wed Jan 10 04:52:04 2018;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.