Bug#700249: unclean rpc.statd shutdown; hangs for 30s
Package: freebsd-nfs-common
Version: 9.0+ds1-9
Severity: important
User: debian-bsd@lists.debian.org
Usertags: kfreebsd
X-Debbugs-Cc: debian-bsd@lists.debian.org
Hi,
The rpc.statd initscript always hangs for 30 seconds at shutdown.
There are two stages to the shutdown:
1. try to cleanly shut down the master process
2. wait 30s for any other (child) processes to exit, otherwise kill them
The first part was not working. A --pidfile is specified but does not
exist (rpc.statd does not create one itself). start-stop-daemon would
be unable to create one for it at startup either, because it backgrounds
itself with a different pid.
As such, the initscript waits 30s then abruptly sends a KILL to all
rpc.statd processes simultaneously.
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (500, 'testing'), (1, 'experimental')
Architecture: kfreebsd-amd64 (x86_64)
Kernel: kFreeBSD 9.0-2-amd64-xenhvm
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages freebsd-nfs-common depends on:
ii libbsd0 0.4.2-1
ii libc0.1 2.13-37
ii libtirpc1 0.2.2-5
ii rpcbind 0.2.0-8
freebsd-nfs-common recommends no packages.
freebsd-nfs-common suggests no packages.
-- no debconf information
Reply to: