Package: ipmitool
Version: 1.8.9-1
Severity: serious
Tags: patch
Justification: Policy 9.3.2

Hi,

According to man ipmievd:

      pidfile=<filename>
             Save  process  ID  to  this  file   when   in   daemon   mode.    
Defaults   to
             /var/run/ipmievd.pidN (where N is the ipmi device number -- 
defaults to 0).

but in /etc/init.d/ipmievd:

      PIDFILE=/var/run/$NAME.pid

which results in the wrong --pidfile parameter passed to start-stop-daemon,
making the init script incapable of stopping or restarting the running daemon.
Simply adding a 0 to the above line in the initscript as

      PIDFILE=/var/run/$NAME.pid0

fixed this problem for me.  Please consider incorporating this change before
the Lenny release if possible.

Thanks,
Feri.

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash



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

Reply via email to