[Pkg-sysvinit-devel] Bug#491059: Bug#491059: initscripts: Please don't delete /var/run/portmap.pid in bootclean.sh

Petter Reinholdtsen pere at hungry.com
Wed Jul 16 09:37:52 UTC 2008


[Sven Joachim]
> In order to fix #490985 it is necessary to have a
> /var/run/portmap.pid file, and since mountnfs-bootclean.sh runs
> after portmap that means it must not delete that file.  The
> following patch against /lib/init/bootclean.sh achieves this:

Hm, I suspect this is the wrong solution.  I wonder why /var/run/ is
cleaned after NFS is mounted.  As far as I know, we do not support
/var/run/ mounted on NFS.  Perhaps the fix is to drop that cleaning
after NFS is mounted?

> -	find . ! -xtype d ! -name utmp ! -name innd.pid \
> +	find . ! -xtype d ! -name utmp ! -name innd.pid ! -name portmap.pid \

I wonder why innd.pid is handled specially.  According to #272066, it
was present in 2005.  I find nothing about it in the changelog. :( I
suspect we want to skip all *.pid, not just innd.pid and portmap.pid,
if we are going to skip pid files.

Happy hacking,
-- 
Petter Reinholdtsen





More information about the Pkg-sysvinit-devel mailing list