[Bug 1175850] MicroOS Desktop can't reboot?
https://bugzilla.suse.com/show_bug.cgi?id=1175850
https://bugzilla.suse.com/show_bug.cgi?id=1175850#c11
--- Comment #11 from Fabian Vogt
(In reply to Fabian Vogt from comment #7)
So it seems like systemd-journald.service doesn't reach stopped for some reason.
We do not really know it if journald stopped writing into /var. To capture what happens after that serial or net console is needed together with systemd.log_target=console.
I assumed the output was acquired by doing it like that (judging by the manual naming of files), but apparently not. (In reply to Andrei Borzenkov from comment #9)
Created attachment 843606 [details] Hung systemd-cryptsetup stack strace
(In reply to Fabian Vogt from comment #7)
So it seems like systemd-journald.service doesn't reach stopped for some reason.
nope. I can reproduce it using TW in QEMU installed with transnational desktop and separate /var partition. For some reasons it happens only with Plymouth disabled. I checked that systemd-journald correctly relinquishes /var and /var is unmounted. But systemd-cryptsetup hangs.
Not great. The issue is that udev needs /etc (https://github.com/openSUSE/read-only-root-fs/commit/21c36fb3bfa66dc2bf33173...) and /etc needs /var (due to /var/lib/overlay/etc/*). So if unmounting /var needs udev, there's a cycle... Apparently cryptsetup@ units don't set a dependency on udev, so that's why it fails that way. On boot there's no cycle, because /var and /etc are mounted from the initrd using the initrd's udev. Somehow making systemd-cryptsetup work without udev on shutdown is probably the best option here. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com