Bug#873613: systemd gets confused at shutdown time

Harald Dunkel harald.dunkel at aixigo.de
Fri Sep 1 11:27:33 BST 2017


On Wed, 30 Aug 2017 10:17:55 -0300
Felipe Sateler <fsateler at debian.org> wrote:

> On Wed, Aug 30, 2017 at 6:53 AM, Harald Dunkel <harald.dunkel at aixigo.de>
> wrote:
> 
> > On Tue, 29 Aug 2017 11:17:03 -0300
> > Felipe Sateler <fsateler at debian.org> wrote:  
> > >
> > > Please attach the full configuration for your mount points.
> > >  
> >
> > /proc/mounts is attached (as it is now).
> >  
> 
> Looks like your nfs mounts are missing the _netdev option. Does the problem
> persist if you add that option? Is this generated from fstab or mount units?
> 

Its in /etc/fstab. Is the "nfs" or "nfs4" in /proc/mounts somehow 
ambiguous?

Anyhow, the (tiny) problem is that systemd ignored the NFS mount point
completely. The local mount points were released, even though they
don't have the _netdev attribute set, either.

Even if systemd would have managed to unmount the NFS mount points,
the bigger problem is still that systemd stops basic services like
portmap very early at shutdown time.

> 
> >  
>  [...]  
> > >
> > > Looks like systemd shut down your network before it unnmounted remote
> > > filesystems.
> > >  
> >
> > Maybe it should have tried to run "umount -f" or to kill user processes
> > keeping the mount point busy? Anyway, if you look at the log file you
> > will notice that portmap was stopped *very* early at shutdown time, even
> > though /home was still mounted via NFS.
> >  
> > >
> > > Could you attach full logs? Attaching the info generated by reportbug
> > > would be useful too.
> > >  
> >
> > journalctl.log is attached (in ASCII). Unfortunately journald stopped
> > logging. The long delay at shutdown time doesn't show, but I took a
> > photo.
> >  
> 
> The full info that reportbug would have generated is important. Please
> attach it.
> 

Attached.

On Wed, 30 Aug 2017 11:53:38 +0200 I had sent some attachments to this 
bug (the output of journalctl and a screen snapshot). What happened to 
these?


Regards
Harri
-------------- next part --------------
A non-text attachment was scrubbed...
Name: reportbug.mail.gz
Type: application/gzip
Size: 111120 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-systemd-maintainers/attachments/20170901/837b6bff/attachment-0001.bin>


More information about the Pkg-systemd-maintainers mailing list