On 2008-07-15 21:15 +0200, Sven Joachim wrote: > The portmap init script still uses `pidof portmap' when deciding whether > to start portmap instead of creating a pidfile under /var/run. This > means that > > - the potential DoS in #448470 still exists > > - on system shutdown portmap will be killed by sendsigs, causing trouble. > > The latter problem was triggered on my system when I switched to a > dependency based boot system with the insserv package. It moved > nfs-common after sendsigs and the rpc.{stat,idmap}.d processes had to be > SIGKILLed, causing a 5-6 seconds delay in the shutdown process. See the > thread starting at > http://lists.alioth.debian.org/pipermail/initscripts-ng-devel/2008-July/000548.html.
I tried to change portmap's init script to use "start-stop-daemon --pidfile", but without success. The problem is that portmap starts before mountnfs-bootclean.sh which deletes its pidfile. :-( Regards, Sven -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]