[Pkg-systemd-maintainers] Bug#719945: Bug#719945: systemd: Hangs during shutdown (likely NFS-related)

Sam Morris sam at robots.org.uk
Thu Jan 23 11:41:19 GMT 2014


tag -1 + patch
thanks

On Thu, Jan 23, 2014 at 09:33:52AM +0000, Sam Morris wrote:
> On Wed, Jan 22, 2014 at 10:45:58PM +0100, Zbigniew Jędrzejewski-Szmek wrote:
> > On Wed, Jan 22, 2014 at 11:59:27AM +0000, Sam Morris wrote:
> > > $ 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.
> 
> Here's the full home.mount from the generator:
> 
> 	[Unit]
> 	SourcePath=/etc/fstab
> 	DefaultDependencies=no
> 	After=remote-fs-pre.target
> 	After=network.target
> 	After=network-online.target
> 	Wants=network-online.target
> 	Conflicts=umount.target
> 	Before=umount.target
> 	Before=remote-fs.target
> 
> 	[Mount]
> 	What=gaia:/home
> 	Where=/home
> 	Type=nfs
> 	FsckPassNo=0
> 	Options=rw,nosuid,nodev,nfsvers=3,hard,sloppy
> 
> Not sure where Before=local-fs.target comes from.

I rebuilt with the attached patch and it does the trick. I think it's
also the fix applied to fix
<https://bugzilla.redhat.com/show_bug.cgi?id=999061>.

Cheers,

-- 
Sam Morris <https://robots.org.uk/>
3412 EA18 1277 354B 991B  C869 B219 7FDB 5EA0 1078
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 77009452cfd25208509b14ea985e81fdf9f7d40e.patch
Type: text/x-diff
Size: 1322 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20140123/7fe33f84/attachment-0002.patch>


More information about the Pkg-systemd-maintainers mailing list