Comment 16 for bug 537133

Revision history for this message
David Gnedt (lxp13) wrote :

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.)