System boot fails with systemd-242 in initramfs. Last messages from systemd are: Started Cleaning Up and Shutting Down Daemons. Stopped udev Kernel Device Manager. There is some more output from the kernel. Boot without initramfs works. Initramfs build with systemd-241 works too. The initramfs was build with dracut.
What version of dracut are you using?
(In reply to Mike Gilbert from comment #1) > What version of dracut are you using? 049-r1
This may be this systemd bug: https://github.com/systemd/systemd/issues/12335 That's a systemd hang on shutdown, but I hit what I'm pretty sure is the same bug when dracut's initramfs systemd shuts down. I partially reverted the commit 4ff9bc2 mentioned on that bug and that worked around it. I haven't tried the patch on that bug yet but I suspect it'll fix this problem.
Dropping https://github.com/systemd/systemd/commit/f3d75364fbebf2ddb6393e54db5e10b6f6234e14.patch into /etc/portage/patches/sys-apps/systemd/ helped.
I've been dealing with this for the past few days on both my laptop and desktop. Both are using sys-apps/systemd-242 and sys-kernel/dracut-049-r1. The issue would show up on my laptop when booted with both "quiet" and "splash" options were given in the kernel command line. The problem showed up unconditionally with my desktop. (In reply to Marien Zwart from comment #4) > Dropping > https://github.com/systemd/systemd/commit/ > f3d75364fbebf2ddb6393e54db5e10b6f6234e14.patch into > /etc/portage/patches/sys-apps/systemd/ helped. The patch fixed the issue for me on both systems
(In reply to Peter Levine from comment #5) > I've been dealing with this for the past few days on both my laptop and > desktop. Both are using sys-apps/systemd-242 and sys-kernel/dracut-049-r1. > The issue would show up on my laptop when booted with both "quiet" and > "splash" options were given in the kernel command line. The problem showed > up unconditionally with my desktop. > I confirm the issue but it happens randomly. Enabling loggin hides the issue... like Heisen-bug effect. Ciao luigi
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb1d80e6a30d09f9f139877c5b754c8a8e918d7a commit eb1d80e6a30d09f9f139877c5b754c8a8e918d7a Author: Mike Gilbert <floppym@gentoo.org> AuthorDate: 2019-05-09 13:41:30 +0000 Commit: Mike Gilbert <floppym@gentoo.org> CommitDate: 2019-05-09 13:41:30 +0000 sys-apps/systemd: backport patch to fix dracut boot Closes: https://bugs.gentoo.org/685002 Package-Manager: Portage-2.3.66_p2, Repoman-2.3.12_p111 Signed-off-by: Mike Gilbert <floppym@gentoo.org> .../files/242-socket-util-flush-accept.patch | 46 ++++++++++++++++++++++ .../{systemd-242.ebuild => systemd-242-r1.ebuild} | 1 + 2 files changed, 47 insertions(+)