I have a workstation that the fix dosn't worked too.
I'm not gettting errors on "start portmap" but on "status portmap | grep -q 
start/running"
because status portmap is returning "start/spawned".

Puting "sleep 1" afeter "start portmap || true" worked, 
probably because it gave portmap time to start up before 
"status portmap | grep -q start/running" test if portmap is runing.

Probably a real solution is to put a loop to wait portmap start up,
like:

start portmap || true
while status portmap | grep -v -q start/running
do
        # if isn't running because a error ocurred, give up
        ...
        sleep 1
done
exec sm-notify

-- 
/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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to