Kernel panic after the systemd update

The Fedora Workstation 42 system does not boot after the systemd update.
Kernel panic exitcode=0x00007f00
Problem version - systemd-257.5-2
Working version - systemd-257.3-7

Linux 6.14.2-300.fc42.x86_64

After a long search on the forums, a solution has been found.
An error in the /etc/group file prevented the systemd package from being updated to systemd-257.5-2. The error correction allowed the update package and the booting was error-free.
However, there was no such problem on version - systemd-257.3-7

Welcome to Fedora @elikcandy

Thanks for relating this issue.

Can you remember the error you got? Would probably help others with same issue.

This error can be reproduced when introducing a syntax error like this one on /etc/group


*smbgroup:x:968:smbuser:myuser*

which correct syntax should be


*smbgroup:x:968:smbuser,myuser*

With this error, updating some packages leads to an error:

*[RPM] %sysusers scriptlet failed*

*Failed to add existing group "smbgroup" to temporary group file: Invalid argument*

So, the systemd package was only partially updated and this led to a kernel panic

But updating from Discover I couldn’t see this error.
Only dnf update package show it.
I think this is incorrect update behavior.

1 Like

Ok I got it. It is about samba.

smbuser,myuser*

While the : acts as a delimiter, the , is in this case an enumeration.

Did you have to add something manually to /etc/group or was it a package you just installed?
If we do have the information which action changed it, we can correct alias relate it.

This line was added a long time ago and did not cause any problems until the last update.

That is not the problem, seams on F42 changed the way how it has to be mentioned/declared for samba.
If there is a manual on docs.fedoraproject.org which shows this line we should change it. Or at least mention that since F42, it is written differently.