Code review comment for lp:~clint-fewbar/ubuntu/natty/nfs-utils/wait-for-local-filesystems

Revision history for this message
Steve Langasek (vorlon) wrote :

Oh right, should read the diff - you're also starting on runlevel [2345]. So that solves the "start even without nfs services at boot" problem.

+stop on stopping portmap or runlevel [!2345]

That's definitely wrong; it causes statd to be torn down at shutdown or reboot, out from under the NFS mounts that are still being used.

> (local-filesystems and (mounting TYPE=nfs)

Have you checked whether mountall emits these events synchronously or asynchronously? If it emits them synchronously, that's obviously going to cause a deadlock at boot, because both 'local-filesystems' and 'mounting' are emitted by the same mountall process.

« Back to merge proposal