[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



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

Reply via email to