Package:  portmap
Version:  6.0-5
User:     [EMAIL PROTECTED]
Usertags: runtime-problem

With the new feature of sendsigs to ignore some pids, it is now
possible to let portmap keep running for a bit longer during shutdown,
to let it stop after NFS file systems are unmounted.  To allow this,
the pid need to be stored in one of the files used by
/etc/init.d/sendsigs to fetch pids to ignore.

I suggest symlinking to the pid file, to make sure no pid is passed to
sendsigs when no daemon is running.  But I failed to find a pidfile
for portmap, so I am not sure if that is feasible.

Is there a pidfile for portmap?  If not, can portmap be fixed to
create one?  With a pid file in place, the start part of the init.d
script could add something like this

  rm -f /lib/init/rw/sendsigs.omit.d/sysklogd
  ln -s /var/run/portmap.pid /lib/init/rw/sendsigs.omit.d/portmap

to make sure it would survive sendsigs during shutdown.

Happy hacking,
--
Petter Reinholdtsen



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

Reply via email to