Bug#429924: heartbeat: Annoying warnings about core_uses_pid displayed when inappropriate

2007-06-21 Thread Russell Coker
On Thursday 21 June 2007 19:57, Horms <[EMAIL PROTECTED]> wrote:
> > echo core.%p.%u.%g > /proc/sys/kernel/core_pattern
>
> I think that I know what /proc/sys/kernel/core_uses_pid does,
> but I am not at all sure about /proc/sys/kernel/core_pattern.
> Could you elaborate?

http://etbe.coker.com.au/2007/01/05/core-files/

It is a way of specifying which criteria are used to determine the file name 
for a core file.  The above blog post has some information about it.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#429924: heartbeat: Annoying warnings about core_uses_pid displayed when inappropriate

2007-06-21 Thread Horms
On Thu, Jun 21, 2007 at 06:23:38PM +1000, Russell Coker wrote:
> Package: heartbeat
> Version: 2.0.8-9
> Severity: normal
> 
> echo core.%p.%u.%g > /proc/sys/kernel/core_pattern
> 
> After running the above command I should not be seeing warnings such as the 
> following:
> 
> Jun 21 15:48:49 node-0 mgmtd: [1632]: debug: Enabling coredumps
> Jun 21 15:48:49 node-0 mgmtd: [1632]: WARN: Consider setting 
> /proc/sys/kernel/core_uses_pid (or equivalent) to 1 for maximum supportability
> 

Hi Russell,

I think that I know what /proc/sys/kernel/core_uses_pid does,
but I am not at all sure about /proc/sys/kernel/core_pattern.
Could you elaborate?

-- 
Horms
  H: http://www.vergenet.net/~horms/
  W: http://www.valinux.co.jp/en/



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#429924: heartbeat: Annoying warnings about core_uses_pid displayed when inappropriate

2007-06-21 Thread Russell Coker
Package: heartbeat
Version: 2.0.8-9
Severity: normal

echo core.%p.%u.%g > /proc/sys/kernel/core_pattern

After running the above command I should not be seeing warnings such as the 
following:

Jun 21 15:48:49 node-0 mgmtd: [1632]: debug: Enabling coredumps
Jun 21 15:48:49 node-0 mgmtd: [1632]: WARN: Consider setting 
/proc/sys/kernel/core_uses_pid (or equivalent) to 1 for maximum supportability


-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-xen-686
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]