Package: gkrellmd
Version: 2.3.5-3
Severity: normal

When gkrellmd is started with the supplied init.d script, it creates
a PID file, by default in /var/run/gkrellmd.pid

When gkrellmd is stopped with the supplied init.d script, it stops
the daemon but fails to remove the PID file.

Thus subsequent attempts to stop the non-running daemon causes the
script to try to kill a non running process and produce an error message.


# /etc/init.d/gkrellmd stop
Stopping gkrellmd: gkrellmd.

# /etc/init.d/gkrellmd stop
Stopping gkrellmd: start-stop-daemon: warning: failed to kill 1880: No such 
process
gkrellmd.


It is therefore suggested that the script should check to see if the daemon
really has been stopped by checking the PID in the process list, and then
if it has been successfully stopped, remove the PID file so that subsequent
attempts do not produce misleading messages and keep /var/run clean of non
running process PID files.


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

Kernel: Linux 3.2.0-4-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages gkrellmd depends on:
ii  adduser       3.113+nmu3
ii  libc6         2.13-37
ii  libglib2.0-0  2.33.12+really2.32.4-3
ii  libsensors4   1:3.3.2-2

gkrellmd recommends no packages.

gkrellmd suggests no packages.

-- Configuration Files:
/etc/gkrellmd.conf changed:
detach
group                   proc
user                    gkrellmd
allow-host              localhost
allow-host              192.168.11.*
port                    19150
fs-interval             4
inet-interval           2
nfs-interval            32
io-timeout              16
max-clients             2
pidfile                 /var/run/gkrellmd.pid
plugin-enable           gkrelltopd
update-hz               2
reconnect-timeout       8


-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to