[systemd-devel] systemd shutdown problem on openSuSE 13.1 with NFS mounted user home

Reindl Harald h.reindl at thelounge.net
Tue Feb 4 02:47:42 PST 2014


Am 04.02.2014 11:31, schrieb Rainer Krienke:
> I am experiencing problems on openSuSE 13.1 systems using systemd, iff
> this system uses NFS mounts for the users home directory mounted by
> automount.
> 
> Regular 13.1 installations with local user home directories just work fine.
> 
> The problem is, that when trying to shut the system down this shutdown
> process hangs for a very long time (> 5min). After 5 Min I went away ,
> when I came back an hour later the shutdown had succeded.
> 
> To investigate the problem I created a systemd debug log of such a
> shutdown you can download here:
> 
> http://userpages.uni-koblenz.de/~krienke/tmp/systemd/shutdown-debug.log
> 
> My problem is to extract really useful information about the real reason
> for the hanging shutdown. My thoughts are, that perhaps systemd already
> tries to umount NFS filesystems when there are still user processes
> active on them and thus the umount hangs.
> 
> In the default openSuSE 13.1 autofs.service file there is no dependency
> on user sessions (only this: After=network.target remote-fs.target
> ypbind.service) and perhaps this is the reason for my problem. But I do
> not know how I could tell systemd to stop automount only after the users
> session has been terminated and thus his NFS home directory can be
> umounted by stopping automount

most likely the same as, both introduced with recent systemd and not present in Fedora 19

https://bugzilla.redhat.com/show_bug.cgi?id=1023820
https://bugzilla.redhat.com/show_bug.cgi?id=1023788

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 246 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20140204/88d741c5/attachment.pgp>


More information about the systemd-devel mailing list