Bug#851402: failed unmounting /var during shutdown
Michael Biebl
biebl at debian.org
Sun Jan 15 21:20:35 GMT 2017
On Sat, 14 Jan 2017 16:37:54 +0100 Daniel Pocock <daniel at 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?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20170115/0cab08a5/attachment-0002.sig>
More information about the Pkg-systemd-maintainers
mailing list