You are not logged in.

#1 2022-11-19 12:04:37

lester29
Member
Registered: 2022-10-31
Posts: 4

Failed unmounting /var/log and /var/log/journal at shutdown

Hi there, I have a problem with unmounting some systemd services at shutdown:

Nov 19 12:31:55 laptop systemd[1]: var-log-journal.mount: Mount process exited, code=exited, status=32/n/a
Nov 19 12:31:55 laptop systemd[1]: Failed unmounting /var/log/journal.
Nov 19 12:31:55 laptop systemd[1]: Stopped target Swaps.
Nov 19 12:31:55 laptop systemd[1]: Unmounting /var/log...
Nov 19 12:31:55 laptop umount[21663]: umount: /var/log: target is busy.
Nov 19 12:31:55 laptop systemd[1]: var-log.mount: Mount process exited, code=exited, status=32/n/a
Nov 19 12:31:55 laptop systemd[1]: Failed unmounting /var/log.

I have ZFS on root and /var, /var/log, /var/log/journal on the separate datasets. Let me know how can I solve this issue. Thanks

Last edited by lester29 (2022-11-19 12:05:05)

Offline

#2 2022-11-19 15:05:48

seth
Member
Registered: 2012-09-03
Posts: 33,685

Re: Failed unmounting /var/log and /var/log/journal at shutdown

You cannot umount /var as long as journald is trying to write there.
See whether you get away w/ https://www.freedesktop.org/software/sy … itrd.mount for the relevant entries in fstab.

Offline

Board footer

Powered by FluxBB