[Pkg-systemd-maintainers] Bug#719945: Bug#719945: systemd: Hangs during shutdown (likely NFS-related)
Zbigniew Jędrzejewski-Szmek
zbyszek at in.waw.pl
Wed Jan 22 21:45:58 GMT 2014
On Wed, Jan 22, 2014 at 11:59:27AM +0000, Sam Morris wrote:
> Package: systemd
> Version: 204-6
> Followup-For: Bug #719945
>
> I'm seeing this bug. Adding _netdev to the fstab entry doesn't help.
> I'm able to fiddle with configuration if you need my help to debug this
> further.
>
> /etc/fstab:
>
> gaia:/home /home nfs rw,nosuid,nodev,nfsvers=3,hard,intr,sloppy,_netdev 0 0
>
> Generator output after adding _netdev:
>
> diff --git i/home.mount w/home.mount
> index a3741bf..3d42691 100644
> --- i/home.mount
> +++ w/home.mount
> @@ -16,4 +16,4 @@ What=gaia:/home
> Where=/home
> Type=nfs
> FsckPassNo=0
> -Options=rw,nosuid,nodev,nfsvers=3,hard,intr,sloppy
> +Options=rw,nosuid,nodev,nfsvers=3,hard,intr,sloppy,_netdev
>
>
> $ systemctl show home.mount
> Id=home.mount
> Names=home.mount
> Requires=-.mount
> Wants=network-online.target
> Conflicts=umount.target
> Before=local-fs.target umount.target remote-fs.target
This is wrong. The dependency for local-fs.target should not be there.
It'll cause the fs to be kept around until after the network is gone.
Zbyszek
More information about the Pkg-systemd-maintainers
mailing list