Fedora 41 update has broken my system - kernel 6.13.4-200.fc41.x86_64

Dear Fedora experts,

Upon updating my Fedora 41 to kernel 6.13.4-200.fc41.x86_64 (ext4) last week, I can no longer log in, nor on GUI neither on TTY, there are no consoles. Trying to load the previous kernel from grub menu I still get error messages, system goes to rescue mode and asks for root password. However, it does not accept my root password at all. Mounting the disk on my other Fedora system I can mount the root partition to access the system messages at /var/log. But they have so many lines that I need some help to understand what caused the crash in order to fix it.
Here is the tail of last messages: tail -400 messages-20250504:

May 4 09:14:27 zabriskie audit[2884]: AVC avc: denied { create } for pid=2884 comm="gdm-session-wor" name="dbus-25saTyE1" scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=system_u:object_r:var_t:s0 tclass=sock_file permissive=0
May 4 09:14:27 zabriskie gdm-password][2884]: GLib-GIO: g_dbus_server_get_client_address: assertion 'G_IS_DBUS_SERVER (server)' failed
May 4 09:14:27 zabriskie kernel: audit: type=1400 audit(1746360867.855:24579): avc: denied { create } for pid=2884 comm="gdm-session-wor" name="dbus-25saTyE1" scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=system_u:object_r:var_t:s0 tclass=sock_file permissive=0
May 4 09:14:27 zabriskie kernel: audit: type=1400 audit(1746360867.856:24580): avc: denied { create } for pid=2884 comm="gdm-session-wor" name="dbus-V8rQ54eD" scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=system_u:object_r:var_t:s0 tclass=sock_file permissive=0
May 4 09:14:27 zabriskie audit[2884]: AVC avc: denied { create } for pid=2884 comm="gdm-session-wor" name="dbus-V8rQ54eD" scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=system_u:object_r:var_t:s0 tclass=sock_file permissive=0
May 4 09:14:27 zabriskie gdm-password][2884]: GLib: g_str_has_prefix: assertion 'str != NULL' failed
May 4 09:14:27 zabriskie gdm-password][2884]: GLib-GObject: invalid (NULL) pointer instance
May 4 09:14:27 zabriskie gdm-password][2884]: GLib-GObject: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
May 4 09:14:27 zabriskie gdm-password][2884]: Gdm: Cannot create worker D-Bus server for the session: Error binding to address (GUnixSocketAddress): Permission denied
May 4 09:14:27 zabriskie gdm-password][2884]: GLib-GIO: g_dbus_server_get_client_address: assertion 'G_IS_DBUS_SERVER (server)' failed
May 4 09:14:27 zabriskie gdm-password][2884]: GLib: g_str_has_prefix: assertion 'str != NULL' failed
May 4 09:14:27 zabriskie gdm-password][2884]: GLib-GObject: invalid (NULL) pointer instance
May 4 09:14:27 zabriskie gdm-password][2884]: GLib-GObject: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
May 4 09:14:27 zabriskie gdm-password][2884]: Gdm: Cannot create greeter D-Bus server for the session: Error binding to address (GUnixSocketAddress): Permission denied
May 4 09:14:27 zabriskie gdm-password][2884]: GLib-GIO: g_dbus_server_get_client_address: assertion 'G_IS_DBUS_SERVER (server)' failed
May 4 09:14:27 zabriskie gdm-password][2884]: GLib: g_variant_new_string: assertion 'string != NULL' failed
May 4 09:14:27 zabriskie gnome-shell[3107]: Failed to open reauthentication channel: Gio.IOErrorEnum: Address element “[Invalid UTF-8]” does not contain a colon (#012#012Stack trace:#012 _promisify/proto[asyncFunc]/</<@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:453:45#012 @resource:///org/gnome/shell/ui/init.js:21:20#012 ### Promise created here: ####012 _openReauthenticationChannel@resourc...ll/gdm/util.js:505:53#012 begin@resource:///org/gnome/shell/gdm/util.js:180:18#012 begin@resource:///org/gnome/shell/gdm/authPrompt.js:683:28#012 _onReset@resource:///org/gnome/shell/ui/unlockDialog.js:800:26#012 reset@resource:///org/gnome/shell/gdm/authPrompt.js:660:14#012 _onReset@resource:///org/gnome/shell/gdm/authPrompt.js:413:14#012 _callHandlers@resource:///org/gnome/...re/_signals.js:130:42#012 _emit@resource:///org/gnome/gjs/modu...re/_signals.js:119:10#012 _onReset@resource:///org/gnome/shell/gdm/util.js:810:14#012 _cancelAndReset@resource:///org/gnome/shell/gdm/util.js:826:14#012 _verificationFailed@resource:///org/...ll/gdm/util.js:871:22#012 async*_reportInitError@resource:///org/gnome/shell/gdm/util.js:499:14#012 _openReauthenticationChannel@resourc...ll/gdm/util.js:519:18#012 async*begin@resource:///org/gnome/shell/gdm/util.js:180:18#012 begin@resource:///org/gnome/shell/gdm/authPrompt.js:683:28#012 _onReset@resource:///org/gnome/shell/ui/unlockDialog.js:800:26#012 reset@resource:///org/gnome/shell/gdm/authPrompt.js:660:14#012 _onReset@resource:///org/gnome/shell/gdm/authPrompt.js:413:14#012 _callHandlers@resource:///org/gnome/...re/_signals.js:130:42#012 _emit@resource:///org/gnome/gjs/modu...re/_signals.js:119:10#012 _onReset@resource:///org/gnome/shell/gdm/util.js:810:14#012 _cancelAndReset@resource:///org/gnome/shell/gdm/util.js:826:14#012 _verificationFailed@resource:///org/...ll/gdm/util.js:871:22#012 async*_reportInitError@resource:///org/gnome/shell/gdm/util.js:499:14#012 _openReauthenticationChannel@resourc...ll/gdm/util.js:519:18#012 async*begin@resource:///org/gnome/shell/gdm/util.js:180:18#012 begin@resource:///org/gnome/shell/gdm/authPrompt.js:683:28#012 _onReset@resource:///org/gnome/shell/ui/unlockDialog.js:800:26#012 reset@resource:///org/gnome/shell/gdm/authPrompt.js:660:14#012 _ensureAuthPrompt@resource:///org/gn...nlockDialog.js:710:26#012 _showPrompt@resource:///org/gnome/sh...nlockDialog.js:741:14#012 @resource:///org/gnome/shell/ui/init.js:21:20#012
May 4 09:14:27 zabriskie sedispatch[329752]: sedispatch is exiting on stop request
May 4 09:14:27 zabriskie systemd[1]: auditd.service: Failed with result 'timeout'.
May 4 09:14:27 zabriskie systemd[1]: Failed to start auditd.service - Security Auditing Service.
May 4 09:14:27 zabriskie audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=auditd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed'
May 4 09:14:27 zabriskie audit[1]: AVC avc: denied { write } for pid=1 comm="systemd" name="socket" dev="tmpfs" ino=47 scontext=system_u:system_r:init_t:s0 tcontext=system_u:object_r:var_t:s0 tclass=sock_file permissive=0
May 4 09:14:27 zabriskie kernel: audit: type=1130 audit(1746360867.873:24581): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=auditd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed'
May 4 09:14:27 zabriskie kernel: audit: type=1400 audit(1746360867.873:24582): avc: denied { write } for pid=1 comm="systemd" name="socket" dev="tmpfs" ino=47 scontext=system_u:system_r:init_t:s0 tcontext=system_u:object_r:var_t:s0 tclass=sock_file permissive=0
May 4 09:14:27 zabriskie kernel: audit: type=1400 audit(1746360867.873:24583): avc: denied { write } for pid=1 comm="systemd" name="system_bus_socket" dev="tmpfs" ino=2896 scontext=system_u:system_r:init_t:s0 tcontext=system_u:object_r:var_t:s0 tclass=sock_file permissive=0
May 4 09:14:27 zabriskie systemd[1]: Failed to connect to API bus: Permission denied
May 4 09:14:27 zabriskie kernel: audit: type=1400 audit(1746360867.873:24584): avc: denied { write } for pid=1 comm="systemd" name="system_bus_socket" dev="tmpfs" ino=2896 scontext=system_u:system_r:init_t:s0 tcontext=system_u:object_r:var_t:s0 tclass=sock_file permissive=0

My system is a Quad-core AMD Opteron 1349 Supermicro H8SMI Nvidia Turing T600 Seagate Barracuda 3TB.

I have also dnf5.log and boot.log, but can not find a way to upload them to the attachment.

Would you please help me to fix my system?

Thanks.
Luiz Regis

It looks like the SELinux permissions are wrong. Try adding enforcing=0 as a parameter on the kernel command line.

If that works, run sudo fixfiles onboot and reboot to fix the problem.

Dear Gregory,

It worked. I included enforcing=0 and system gave me the login prompt. As root I entered the command fixfiles onboot and reboot it with enforcing=0 again. System started to fix SELinux permissions issuing messages on screen. It took a while. Then the screen turned grey with three little squares blinking at the center as going to GUI mode and stuck. I waited 30 minutes and nothing else happened. Then I decided to reset the computer. Trying enforcing=0 again I get the grey screen that gets stuck forever. Trying the regular boot I get FAILED messages (see the picture). Trying single mode I get BPF invalid offset and Job dev-disk-by\x2duuid keeps running forever, no progress. I am including the pictures.
Would you please advise?

Thanks,
Luiz Regis



The last error appears to be some sort of kernel bug. Does one of the older kernels work?

Once the relabeling that fixfiles onboot initiates completes, you should no longer need the enforcing=0 option.

Edit: I just noticed that you have the debugging kernels installed. You should remove those. They are only meant for use by kernel developers.

Kernel 6.11.9-100 (39) goes to grey screen with three little squares forever.
Kernel 6.13.4-200 same thing. It seems GDM is broken.
I can get the root login again including enforcing=0 single.
I have now the journalctl -xb output. It has more than 4000 lines with many error messages.
Here are some of them:

The job identifier is 734.
May 10 09:29:00 zabriskie systemd[1]: Starting systemd-vconsole-setup.service - Virtual Console Setup…
░░ Subject: A start job for unit systemd-vconsole-setup.service has begun execution
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ A start job for unit systemd-vconsole-setup.service has begun execution.
░░
░░ The job identifier is 734.
May 10 09:29:00 zabriskie systemd[1]: Finished nvidia-fallback.service - Fallback to nouveau as nvidia did not load.
░░ Subject: A start job for unit nvidia-fallback.service has finished successfully
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ A start job for unit nvidia-fallback.service has finished successfully.
░░
░░ The job identifier is 315.
May 10 09:29:00 zabriskie audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:kernel_t:s0 msg=‘unit=nvidia-fallback comm=“systemd” exe=“/usr/lib/systemd/systemd” hostname=? addr=? terminal=? res=success’
May 10 09:29:00 zabriskie systemd[1]: Finished systemd-vconsole-setup.service - Virtual Console Setup.
░░ Subject: A start job for unit systemd-vconsole-setup.service has finished successfully
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ A start job for unit systemd-vconsole-setup.service has finished successfully.
░░
░░ The job identifier is 734.
May 10 09:29:00 zabriskie systemd[1]: Startup finished in 1.119s (kernel) + 8.817s (initrd) + 22.086s (userspace) = 32.022s.
░░ Subject: System start-up is now complete
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ All system services necessary queued for starting at boot have been
░░ started. Note that this does not mean that the machine is now idle as services
░░ might still be busy with completing start-up.
░░
░░ Kernel start-up required 1119256 microseconds.
░░
░░ Initrd start-up required 8817114 microseconds.
░░
░░ Userspace start-up required 22086502 microseconds.
May 10 09:29:00 zabriskie audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:kernel_t:s0 msg=‘unit=systemd-vconsole-setup comm=“systemd” exe=“/usr/lib/systemd/systemd” hostname=? addr=? terminal=? res=success’
May 10 09:29:00 zabriskie audit[996]: AVC avc: denied { read } for pid=996 comm=“plymouth” path=“/dev/console” dev=“devtmpfs” ino=12 scontext=system_u:system_r:kernel_generic_helper_t:s0 tcontext=system_u:object_r:console_device_t:s0 tclass=chr_file permissive=1
May 10 09:29:00 zabriskie audit[996]: SYSCALL arch=c000003e syscall=59 success=yes exit=0 a0=560f4574d910 a1=560f45546250 a2=560f456ddbb0 a3=560f42ed9010 items=0 ppid=1 pid=996 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=tty1 ses=4294967295 comm=“plymouth” exe=“/usr/bin/plymouth” subj=system_u:system_r:kernel_generic_helper_t:s0 key=(null)
May 10 09:29:00 zabriskie audit: EXECVE argc=3 a0=“/usr/bin/plymouth” a1=“–wait” a2=“quit”
May 10 09:29:00 zabriskie audit: PROCTITLE proctitle=2F7573722F62696E2F706C796D6F757468002D2D776169740071756974
May 10 09:29:00 zabriskie audit[996]: AVC avc: denied { ioctl } for pid=996 comm=“plymouth” path=“/dev/console” dev=“devtmpfs” ino=12 ioctlcmd=0x5401 scontext=system_u:system_r:kernel_generic_helper_t:s0 tcontext=system_u:object_r:console_device_t:s0 tclass=chr_file permissive=1
May 10 09:29:00 zabriskie audit[996]: SYSCALL arch=c000003e syscall=16 success=yes exit=0 a0=2 a1=5401 a2=7fff97c252a0 a3=4 items=0 ppid=1 pid=996 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=tty1 ses=4294967295 comm=“plymouth” exe=“/usr/bin/plymouth” subj=system_u:system_r:kernel_generic_helper_t:s0 key=(null)
May 10 09:29:00 zabriskie audit: PROCTITLE proctitle=2F7573722F62696E2F706C796D6F757468002D2D776169740071756974
May 10 09:29:00 zabriskie systemd[1]: Received SIGRTMIN+21 from PID 348 (plymouthd).
May 10 09:29:00 zabriskie systemd[1]: Received SIGRTMIN+21 from PID 348 (plymouthd).
May 10 09:29:01 zabriskie kernel: usbcore: registered new interface driver snd-usb-audio
May 10 09:29:01 zabriskie kernel: usb 1-3: Found UVC 1.00 device AF FULL HD 1080P Webcam (0bda:58b0)
May 10 09:29:01 zabriskie kernel: usbcore: registered new interface driver uvcvideo
May 10 09:29:01 zabriskie kernel: kauditd_printk_skb: 489 callbacks suppressed
May 10 09:29:01 zabriskie kernel: audit: type=1400 audit(1746880141.142:546): avc: denied { getattr } for pid=594 comm=“(udev-worker)” path=“/dev/media0” dev=“devtmpfs” ino=984 scontext=system_u:system_r:kernel_generic_helper_t:s0 tcontext=system_u:object_r:v4l_device_t:s0 tclass=chr_file permissive=1
May 10 09:29:01 zabriskie kernel: audit: type=1300 audit(1746880141.142:546): arch=c000003e syscall=262 success=yes exit=0 a0=6 a1=7f75097bebd5 a2=7ffca5824aa0 a3=1000 items=0 ppid=573 pid=594 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=“(udev-worker)” exe=“/usr/bin/udevadm” subj=system_u:system_r:kernel_generic_helper_t:s0 key=(null)
May 10 09:29:01 zabriskie kernel: audit: type=1327 audit(1746880141.142:546): proctitle=“(udev-worker)”
May 10 09:29:01 zabriskie kernel: audit: type=1400 audit(1746880141.142:547): avc: denied { setattr } for pid=594 comm=“(udev-worker)” name=“media0” dev=“devtmpfs” ino=984 scontext=system_u:system_r:kernel_generic_helper_t:s0 tcontext=system_u:object_r:v4l_device_t:s0 tclass=chr_file permissive=1
May 10 09:29:01 zabriskie kernel: audit: type=1300 audit(1746880141.142:547): arch=c000003e syscall=260 success=yes exit=0 a0=6 a1=7f7509b05a43 a2=ffffffff a3=27 items=0 ppid=573 pid=594 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=“(udev-worker)” exe=“/usr/bin/udevadm” subj=system_u:system_r:kernel_generic_helper_t:s0 key=(null)
May 10 09:29:01 zabriskie kernel: audit: type=1327 audit(1746880141.142:547): proctitle=“(udev-worker)”
May 10 09:29:01 zabriskie audit[594]: AVC avc: denied { getattr } for pid=594 comm=“(udev-worker)” path=“/dev/media0” dev=“devtmpfs” ino=984 scontext=system_u:system_r:kernel_generic_helper_t:s0 tcontext=system_u:object_r:v4l_device_t:s0 tclass=chr_file permissive=1
May 10 09:29:01 zabriskie audit[594]: SYSCALL arch=c000003e syscall=262 success=yes exit=0 a0=6 a1=7f75097bebd5 a2=7ffca5824aa0 a3=1000 items=0 ppid=573 pid=594 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=“(udev-worker)” exe=“/usr/bin/udevadm” subj=system_u:system_r:kernel_generic_helper_t:s0 key=(null)
May 10 09:29:01 zabriskie audit: PROCTITLE proctitle=“(udev-worker)”
May 10 09:29:01 zabriskie audit[594]: AVC avc: denied { setattr } for pid=594 comm=“(udev-worker)” name=“media0” dev=“devtmpfs” ino=984 scontext=system_u:system_r:kernel_generic_helper_t:s0 tcontext=system_u:object_r:v4l_device_t:s0 tclass=chr_file permissive=1
May 10 09:29:01 zabriskie audit[594]: SYSCALL arch=c000003e syscall=260 success=yes exit=0 a0=6 a1=7f7509b05a43 a2=ffffffff a3=27 items=0 ppid=573 pid=594 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=“(udev-worker)” exe=“/usr/bin/udevadm” subj=system_u:system_r:kernel_generic_helper_t:s0 key=(null)
May 10 09:29:01 zabriskie audit: PROCTITLE proctitle=“(udev-worker)”
May 10 09:29:01 zabriskie audit[594]: AVC avc: denied { relabelfrom } for pid=594 comm=“(udev-worker)” name=“media0” dev=“devtmpfs” ino=984 scontext=system_u:system_r:kernel_generic_helper_t:s0 tcontext=system_u:object_r:v4l_device_t:s0 tclass=chr_file permissive=1
May 10 09:29:01 zabriskie audit[594]: AVC avc: denied { relabelto } for pid=594 comm=“(udev-worker)” name=“media0” dev=“devtmpfs” ino=984 scontext=system_u:system_r:kernel_generic_helper_t:s0 tcontext=system_u:object_r:v4l_device_t:s0 tclass=chr_file permissive=1
May 10 09:29:01 zabriskie audit[594]: SYSCALL arch=c000003e syscall=188 success=yes exit=0 a0=7ffca5824930 a1=7f7509613197 a2=55b3703c8e00 a3=22 items=0 ppid=573 pid=594 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=“(udev-worker)” exe=“/usr/bin/udevadm” subj=system_u:system_r:kernel_generic_helper_t:s0 key=(null)
May 10 09:29:01 zabriskie audit: PROCTITLE proctitle=“(udev-worker)”
May 10 09:29:01 zabriskie audit[594]: AVC avc: denied { write } for pid=594 comm=“(udev-worker)” name=“media0” dev=“devtmpfs” ino=984 scontext=system_u:system_r:kernel_generic_helper_t:s0 tcontext=system_u:object_r:v4l_device_t:s0 tclass=chr_file permissive=1
May 10 09:29:01 zabriskie audit[594]: SYSCALL arch=c000003e syscall=280 success=yes exit=0 a0=ffffff9c a1=7ffca58249e0 a2=0 a3=0 items=0 ppid=573 pid=594 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=“(udev-worker)” exe=“/usr/bin/udevadm” subj=system_u:system_r:kernel_generic_helper_t:s0 key=(null)
May 10 09:29:01 zabriskie audit: PROCTITLE proctitle=“(udev-worker)”
May 10 09:29:01 zabriskie kernel: audit: type=1400 audit(1746880141.143:548): avc: denied { relabelfrom } for pid=594 comm=“(udev-worker)” name=“media0” dev=“devtmpfs” ino=984 scontext=system_u:system_r:kernel_generic_helper_t:s0 tcontext=system_u:object_r:v4l_device_t:s0 tclass=chr_file permissive=1
May 10 09:29:01 zabriskie kernel: audit: type=1400 audit(1746880141.143:548): avc: denied { relabelto } for pid=594 comm=“(udev-worker)” name=“media0” dev=“devtmpfs” ino=984 scontext=system_u:system_r:kernel_generic_helper_t:s0 tcontext=system_u:object_r:v4l_device_t:s0 tclass=chr_file permissive=1
May 10 09:29:01 zabriskie kernel: audit: type=1300 audit(1746880141.143:548): arch=c000003e syscall=188 success=yes exit=0 a0=7ffca5824930 a1=7f7509613197 a2=55b3703c8e00 a3=22 items=0 ppid=573 pid=594 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=“(udev-worker)” exe=“/usr/bin/udevadm” subj=system_u:system_r:kernel_generic_helper_t:s0 key=(null)
May 10 09:29:01 zabriskie kernel: audit: type=1327 audit(1746880141.143:548): proctitle=“(udev-worker)”
May 10 09:29:01 zabriskie audit[1031]: AVC avc: denied { read } for pid=1031 comm=“v4l_id” name=“video0” dev=“devtmpfs” ino=982 scontext=system_u:system_r:kernel_generic_helper_t:s0 tcontext=system_u:object_r:v4l_device_t:s0 tclass=chr_file permissive=1
May 10 09:29:01 zabriskie audit[1031]: AVC avc: denied { open } for pid=1031 comm=“v4l_id” path=“/dev/video0” dev=“devtmpfs” ino=982 scontext=system_u:system_r:kernel_generic_helper_t:s0 tcontext=system_u:object_r:v4l_device_t:s0 tclass=chr_file permissive=1
May 10 09:29:01 zabriskie audit[1031]: SYSCALL arch=c000003e syscall=257 success=yes exit=3 a0=ffffff9c a1=7ffd19c35f06 a2=80100 a3=0 items=0 ppid=600 pid=1031 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=“v4l_id” exe=“/usr/lib/udev/v4l_id” subj=system_u:system_r:kernel_generic_helper_t:s0 key=(null)
May 10 09:29:01 zabriskie audit: PROCTITLE proctitle=2F7573722F6C69622F756465762F76346C5F6964002F6465762F766964656F30
May 10 09:29:01 zabriskie audit[1031]: AVC avc: denied { ioctl } for pid=1031 comm=“v4l_id” path=“/dev/video0” dev=“devtmpfs” ino=982 ioctlcmd=0x5600 scontext=system_u:system_r:kernel_generic_helper_t:s0 tcontext=system_u:object_r:v4l_device_t:s0 tclass=chr_file permissive=1
May 10 09:29:01 zabriskie audit[1031]: SYSCALL arch=c000003e syscall=16 success=yes exit=0 a0=3 a1=80685600 a2=7ffd19c33ed0 a3=0 items=0 ppid=600 pid=1031 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=“v4l_id” exe=“/usr/lib/udev/v4l_id” subj=system_u:system_r:kernel_generic_helper_t:s0 key=(null)
May 10 09:29:01 zabriskie audit: PROCTITLE proctitle=2F7573722F6C69622F756465762F76346C5F6964002F6465762F766964656F30
May 10 09:29:08 zabriskie audit[1025]: AVC avc: denied { checkpoint_restore } for pid=1025 comm=“sulogin” capability=40 scontext=system_u:system_r:kernel_generic_helper_t:s0 tcontext=system_u:system_r:kernel_generic_helper_t:s0 tclass=capability2 permissive=1
May 10 09:29:08 zabriskie audit[1025]: SYSCALL arch=c000003e syscall=16 success=yes exit=0 a0=3 a1=5457 a2=7ffdb6ef7990 a3=8 items=0 ppid=1024 pid=1025 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=tty1 ses=4294967295 comm=“sulogin” exe=“/usr/sbin/sulogin” subj=system_u:system_r:kernel_generic_helper_t:s0 key=(null)
May 10 09:29:08 zabriskie audit: PROCTITLE proctitle=“/usr/sbin/sulogin”
May 10 09:29:08 zabriskie kernel: kauditd_printk_skb: 10 callbacks suppressed
May 10 09:29:08 zabriskie kernel: audit: type=1400 audit(1746880148.382:552): avc: denied { checkpoint_restore } for pid=1025 comm=“sulogin” capability=40 scontext=system_u:system_r:kernel_generic_helper_t:s0 tcontext=system_u:system_r:kernel_generic_helper_t:s0 tclass=capability2 permissive=1
May 10 09:29:08 zabriskie kernel: audit: type=1300 audit(1746880148.382:552): arch=c000003e syscall=16 success=yes exit=0 a0=3 a1=5457 a2=7ffdb6ef7990 a3=8 items=0 ppid=1024 pid=1025 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=tty1 ses=4294967295 comm=“sulogin” exe=“/usr/sbin/sulogin” subj=system_u:system_r:kernel_generic_helper_t:s0 key=(null)
May 10 09:29:08 zabriskie kernel: audit: type=1327 audit(1746880148.382:552): proctitle=“/usr/sbin/sulogin”
May 10 09:29:08 zabriskie audit[1025]: AVC avc: denied { getpgid } for pid=1025 comm=“sulogin” scontext=system_u:system_r:kernel_generic_helper_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=process permissive=1
May 10 09:29:08 zabriskie audit[1025]: SYSCALL arch=c000003e syscall=121 success=yes exit=1024 a0=400 a1=4 a2=0 a3=10 items=0 ppid=1024 pid=1025 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=tty1 ses=4294967295 comm=“sulogin” exe=“/usr/sbin/sulogin” subj=system_u:system_r:kernel_generic_helper_t:s0 key=(null)
May 10 09:29:08 zabriskie audit: PROCTITLE proctitle=“/usr/sbin/sulogin”
May 10 09:29:08 zabriskie kernel: audit: type=1400 audit(1746880148.468:553): avc: denied { getpgid } for pid=1025 comm=“sulogin” scontext=system_u:system_r:kernel_generic_helper_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=process permissive=1
May 10 09:29:08 zabriskie kernel: audit: type=1300 audit(1746880148.468:553): arch=c000003e syscall=121 success=yes exit=1024 a0=400 a1=4 a2=0 a3=10 items=0 ppid=1024 pid=1025 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=tty1 ses=4294967295 comm=“sulogin” exe=“/usr/sbin/sulogin” subj=system_u:system_r:kernel_generic_helper_t:s0 key=(null)

Best,
Luiz

It looks like there are still selinux issues. Some selinux updates take a long time (more than 30 minutes for some) to complete without visible feedback, so other users have interrupted the in-progress changes with premature reboots. You may have missed a key selinux update. Try repeating the previous steps but enisre that you have current selinux packages: set enforcing=0 option and then check for updates that involve selinux. If there are selinux updates, install them and watch to ensure they have finished. Otherwise, try fixfiles onboot again.

That error should not happen. If you can get back to your shell prompt with networking, try the following:

  1. rpm -qa | grep '^kernel-debug-*' | xargs -r rpm -e
  2. dnf distro-sync
  3. dracut -f
  4. fixfiles -F onboot
  5. reboot

I can get the console including enforcing=0 at kernel bootup. I can log in to root superuser. Now,
rpm -qa | grep ‘^kernel-debug-*’ | xargs -r rpm -e
gives errors;
dnf distro-sync
also gives errors.
Image attached.

Best,
Luiz

You appear to have an installation that is missing critical system files. Perhaps your PC lost power while it was running a system update?

You might be able to recover your system by booting from a Live image, mounting your root filesystem to a temporary mountpoint such as /mnt, and then running something like dnf --installroot=/mnt distro-sync.

Do I need chroot in Live image?

No, the dnf command with the --installroot=... parameter should work without needing chroot.

I think the newer version of dnf5 might need an additional --use-host-config parameter. Also, make sure what you point the installroot parameter at is actually a root filesystem (containing subdirectories like etc, usr, and var). With Btrfs, there is an extra level of indirection (the subvolume= parameter).

How do I remove the following packages below that are broken?

There are 28 packages that don’t update.

root@localhost-live:~# dnf --installroot=/run/media/liveuser/ec286866-233b-49b8-b061-33a26dd13111 --use-host-config distro-sync
Updating and loading repositories:
Fedora 42 openh264 (From Cisco) - x86_64 100% | 2.0 KiB/s | 6.0 KiB | 00m03s
Fedora 42 - x86_64 - Updates 100% | 2.1 MiB/s | 6.5 MiB | 00m03s
Fedora 42 - x86_64 100% | 4.5 MiB/s | 35.4 MiB | 00m08s
Repositories loaded.
Failed to resolve the transaction:
Problem 1: installed package VirtualBox-server-7.1.4-1.fc39.x86_64 requires libvpx.so.8()(64bit), but none of the providers can be installed

  • libvpx-1.13.1-1.fc39.x86_64 does not belong to a distupgrade repository
  • problem with installed package
    Problem 2: installed package ant-javamail-1.10.12-10.fc39.noarch requires ant = 1.10.12-10.fc39, but none of the providers can be installed
  • ant-1.10.12-10.fc39.noarch does not belong to a distupgrade repository
  • problem with installed package
    Problem 3: installed package compat-ffmpeg4-4.4.5-1.fc39.x86_64 requires libdav1d.so.6()(64bit), but none of the providers can be installed
  • libdav1d-1.2.1-2.fc39.x86_64 does not belong to a distupgrade repository
  • problem with installed package
    Problem 4: installed package ffmpeg-libs-6.1.2-2.fc39.x86_64 requires libjxl.so.0.8()(64bit), but none of the providers can be installed
  • installed package ffmpeg-libs-6.1.2-2.fc39.x86_64 requires libjxl.so.0.8(JXL_0)(64bit), but none of the providers can be installed
  • installed package ffmpeg-libs-6.1.2-2.fc39.x86_64 requires libjxl_threads.so.0.8()(64bit), but none of the providers can be installed
  • installed package ffmpeg-libs-6.1.2-2.fc39.x86_64 requires libjxl_threads.so.0.8(JXL_0)(64bit), but none of the providers can be installed
  • libjxl-1:0.8.3-1.fc39.x86_64 does not belong to a distupgrade repository
  • problem with installed package
    Problem 5: installed package geogebra-classic-6.0.666.0-202109211234.x86_64 requires /usr/lib64/libgmp.so.10, but none of the providers can be installed
  • gmp-1:6.2.1-5.fc39.x86_64 does not belong to a distupgrade repository
  • problem with installed package
    Problem 6: installed package gspiceui-1.1.00-4.fc32.x86_64 requires libwx_gtk2u_core-3.0.so.0()(64bit), but none of the providers can be installed
  • installed package gspiceui-1.1.00-4.fc32.x86_64 requires libwx_gtk2u_core-3.0.so.0(WXU_3.0)(64bit), but none of the providers can be installed
  • installed package gspiceui-1.1.00-4.fc32.x86_64 requires libwx_gtk2u_html-3.0.so.0()(64bit), but none of the providers can be installed
  • installed package gspiceui-1.1.00-4.fc32.x86_64 requires libwx_gtk2u_html-3.0.so.0(WXU_3.0)(64bit), but none of the providers can be installed
  • compat-wxGTK3-gtk2-3.0.5.1-10.fc38.x86_64 does not belong to a distupgrade repository
  • problem with installed package
    Problem 7: installed package jgit-6.1.0-6.fc39.noarch requires mvn(org.bouncycastle:bcprov-jdk15on), but none of the providers can be installed
  • bouncycastle-1.70-9.fc39.noarch does not belong to a distupgrade repository
  • problem with installed package
    Problem 8: installed package libheif-freeworld-1.17.5-1.fc39.x86_64 requires libheif(x86-64) = 1.17.5, but none of the providers can be installed
  • libheif-1.17.5-1.fc39.x86_64 does not belong to a distupgrade repository
  • problem with installed package
    Problem 9: installed package mixxx-2.4.1-1.fc39.x86_64 requires librubberband.so.2()(64bit), but none of the providers can be installed
  • rubberband-3.3.0-6.fc39.x86_64 does not belong to a distupgrade repository
  • problem with installed package
    Problem 10: installed package mozjs102-102.15.1-1.fc39.x86_64 requires libicui18n.so.73()(64bit), but none of the providers can be installed
  • installed package mozjs102-102.15.1-1.fc39.x86_64 requires libicuuc.so.73()(64bit), but none of the providers can be installed
  • libicu-73.2-2.fc39.x86_64 does not belong to a distupgrade repository
  • problem with installed package
    Problem 11: installed package poco-pagecompiler-1.12.4-4.fc39.x86_64 requires libPocoFoundation.so.94()(64bit), but none of the providers can be installed
  • poco-foundation-1.12.4-4.fc39.x86_64 does not belong to a distupgrade repository
  • problem with installed package

–skip-broken does not help.

Thanks,
Luiz

Problem 27: package vlc-plugins-base-1:3.0.21-19.fc42.x86_64 from fedora requires libvpx.so.9()(64bit), but none of the providers can be installed

  • cannot install both libvpx-1.15.0-2.fc42.x86_64 from fedora and libvpx-1.13.1-1.fc39.x86_64 from @System
  • package vlc-cli-1:3.0.21-19.fc42.x86_64 from fedora requires vlc-plugins-base(x86-64) = 1:3.0.21-19.fc42, but none of the providers can be installed
  • installed package VirtualBox-server-7.1.4-1.fc39.x86_64 requires libvpx.so.8()(64bit), but none of the providers can be installed
  • problem with installed package
  • installed package kmod-VirtualBox-6.7.4-100.fc38.x86_64-7.0.14-2.fc38.x86_64 requires VirtualBox-kmod-common >= 7.0.14, but none of the providers can be installed
    • vlc-cli-1:3.0.21-1.fc39.x86_64 does not belong to a distupgrade repository
  • problem with installed package

Notice my system runs Fedora 41.

You can add --releasever=41 to prevent it trying to update to the latest release.

Adding --allowerasing might let it remove some of those packages that won’t upgrade for whatever reason. You can try reinstalling them after you get your system in working order again.

Thanks for the input.
Live image 42 uses dnf5, which does not have --allowerasing option.
Should I use Live image 41?

According to the man page, that option should be available for dnf5.

DNF5-DISTRO-SYNC(8)                                          dnf5                                          DNF5-DISTRO-SYNC(8)

NAME
       dnf5-distro-sync - Distro-Sync Command

SYNOPSIS
       dnf5 distro-sync [options] [<package-spec>...]

DESCRIPTION
       The  distro-sync  command in DNF5 serves to synchronize the installed packages with their latest available version from
       any enabled repository. It upgrades, downgrades or keeps packages as needed.

       Optional package-spec arguments could be passed to select only specific packages to be synced.

OPTIONS
       --allowerasing
              Allow removing of installed packages to resolve any potential dependency problems.

       --skip-broken
              Resolve any dependency problems by removing packages that are causing problems from the transaction.

       --skip-unavailable
              Allow skipping packages that are not possible to synchronize. All remaining packages will be synchronized.

       --downloadonly
              Download the resolved package set without executing an RPM transaction.

       --offline
              Store the transaction to be performed offline. See dnf5-offline(8), Offline command.

...

dnf5 has been default since 41, just in case.

It worked:

root@localhost-live:~# dnf --releasever=41 --installroot=/run/media/liveuser/ec286866-233b-49b8-b061-33a26dd13111 --use-host-config distro-sync --allowerasing

About 6200 packages were upgraded. But it failed to remove a bunch of packages and issuing the final message:

rpm transaction failed
(see the pictures)

Anyway, I rebooted the system with kernel-6.13.4-200. It worked. I get the console. Nvidia nouveau didn’t work. I did dnf upgrade to get nvidia drives. No luck, nvidia didn’t work. Notice, new kernel-6.14.5-200 is not seen by grub but it is present in /boot.
I have also tried:
dnf distro-sync
but it says error in pre-unistall scriptlet (see the picture).


I think that network-scripts package was supposed to be removed a very long time ago. I would try to remove it with rpm --nodeps --erase network-scripts. Then immediately try that distro-sync command again and see if you can get it to complete successfully.

Edit: Since the problem is in the prerun scripts, you might need to add --noscripts to the rpm command to get it to work.