Hi,
after upgrading to Fedora 42 I was stuck with a Kernel panic exitcode=0x00007f00, even for the older existing kernels from Fedora 41 … systemd install of version 257.3-7 turned out to be corrupted. When booting from live media and chroot, I couldn’t reinstall or upgrade to systemd 257.7-1 either. Root cause was a failing systemd-sysusers call from the postinstall scriptlet.
So I checked sysusers config and found a group <> gshadow inconsistency with grpck.
After fixing it manually, no grpck errors, a reinstall of systemd still failed !
It turned out that systemd-sysusers reported to install some missing users and groups, but actually didn’t, so the following systemd-tmpfiles run failed in sequence of the scriptlet.
I havn’t figured out why systemd-sysusers (from 257.3-7) couldn’t add the required/essential users to a known good passwd, group, and gshadow (acccording to grpck, my best knowledge, file persissions as expected, etc). But after modifying the files according to the reported sysuser actions (adding user/group gnome-remote-desktop and more), systemd reinstalled smoothly, I could rebuild the kernel and my system booted again.
Is anybody facing similar problem? Or is everyting related to something very specific in my passwd/group/gshadow, and I further need to debug ?
Regards,
Toby