Public bug reported:

On my system (a Xen virtual machine running karmic and acting as an NFS
client), I see the following during boot:

init: statd pre-start process (831) terminated with status 1
mountall: Event failed

Enabling console output in /etc/init/statd.conf shows that the error is
caused by statd's pre-start script attempting to start portmap when it
is already started.  The pre-start script tries to avoid this by
checking portmap's status:

        status portmap | grep -q start/running || start portmap

However adding debug statements showed that portmap's status at this
point was "start/spawned" rather than "start/running".  I.e. portmap was
already in the process of being started but was not yet "running".

Simply changing that line to

        status portmap | grep -q start/ || start portmap

solved the problem for me.

** Affects: nfs-utils (Ubuntu)
     Importance: Undecided
         Status: New

-- 
/etc/init/statd.conf: race with portmap startup
https://bugs.launchpad.net/bugs/484209
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to