We're using static networking on our system. We're also using autofs to mount home directories. It seems systemd is shutting down the network interface before trying to unmount NFS-mounted home directories, so there's a long hang (several minutes) after the network is shut down. Presumably, this is when systemd is trying to unmount the NFS mounts. There is no hang if the system is shut down before anyone logs in. Version-Release number of selected component (if applicable): systemd-37-3.fc16.x86_64
We're seeing this as well, though not every time. The first problem I'm having in debugging this is that rsyslog gets shut down very early in the shutdown process so almost none of the shutdown process gets logged. It seems like this should be one of the last things to get shutdown, just before unmounting filesystems. Any easy way to specify this?
I think the (or at least one) problem is the lack of dependency information in /etc/init.d/netfs. I propose the following: # Should-Start: $syslog $network $portmap # Should-Stop: $syslog $network $portmap Similar to bug 767818
Should-Start: $network should be enough, I would think.
Marking as a dup, if it proves to be something else, we can split it out again. *** This bug has been marked as a duplicate of bug 767818 ***
You're going to need $portmap/rpcbind to unmount nfs mounts, correct? Or is that only on the server side?