On Sat, 14 Jan 2017 16:37:54 +0100 Daniel Pocock <dan...@pocock.pro> wrote: > Package: systemd > Version: 232-8 > Severity: important > > > The box is running stretch, updated from jessie yesterday. > > When the box shuts down, it unmounts all the filesystems. > > When it gets to /var there is a warning: Failed unmounting /var > > > I wrote a little wrapper script to put in place of /bin/umount, it calls > lsof to show what is going on before the real umount call > > The only open files on /var at the time of unmounting appear to be > journalctl files > > Is this expected? Is some manual configuration needed to make sure /var > is unmounted later
/var should be unmounted later, after the final killing spree by systemd-shutdown (see man 8 systemd-shutdown). I don't suppose you actually had a dirty fs after shutdown? As for /var being unmounted earlier during shutdown, this is most likely happening because of var.mount conflicting with umount.target and systemd-journald.service not having an explicit ordering against var.mount I suppose you have persistent journal enabled, i.e. journald is writing to /var/log/journal? Fwiw, I think the warning is harmless (as said, systemd-shutdown will unmount /var). -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth?
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Pkg-systemd-maintainers mailing list Pkg-systemd-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-systemd-maintainers