I think I have found the root cause of the remaining bug. The problem is
mountall adds remote mount childs to the nih watch list but it doesn't
wait until all childs exited properly. Therefore it also doesn't trigger
some events e.g. local-filesystems and filesystem in my case. If all
other mounts finish faster than the remote mounts on the nih watch list,
mountall should wait for the childs.

The attached patch fixes this race condition by checking the nih watch
list before exiting the main loop.

For anyone who want to give it a try, I have uploaded a fixed package to
my PPA. (It will need some hours until the packages are built.)

** Patch added: "mountall_2.15_child-watch-list-race-condition-fix.patch"
   
http://launchpadlibrarian.net/51866427/mountall_2.15_child-watch-list-race-condition-fix.patch

-- 
mountall issues with NFS root filesystem
https://bugs.launchpad.net/bugs/537133
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