Hi everyone,
after upgrading my system to Fedora 41 beta I cannot boot system in selinux enforcing mode. Systemd stuck on start of systemd-vconsole-setup.service, when I boot system in permissive mode system boots without any issues but generates a lot of selinux alerts. I already tried to autorelabel the whole system and restore selinux contex of specific files - without any effect. Any toughs on that? I would be grateful for any help. Thanks.
systemd-vconsole-setup journal message:
Sep 25 17:58:49 hp840 systemd-vconsole-setup[301]: /usr/bin/setfont failed with a "system error" (EX_OSERR), ignoring.
Sep 25 17:58:49 hp840 systemd-vconsole-setup[309]: setfont: ERROR kdfontop.c:183 put_font_kdfontop: Unable to load such font with such kernel version
Sep 25 17:58:49 hp840 systemd-vconsole-setup[301]: Setting source virtual console failed, ignoring remaining ones.
Sep 25 17:58:49 hp840 systemd[1]: Finished systemd-vconsole-setup.service - Virtual Console Setup.
Sep 25 17:58:50 hp840 systemd[1]: systemd-vconsole-setup.service: Deactivated successfully.
Sep 25 17:58:50 hp840 systemd[1]: Stopped systemd-vconsole-setup.service - Virtual Console Setup.
Sep 25 17:58:50 hp840 systemd[1]: Stopping systemd-vconsole-setup.service - Virtual Console Setup...
Sep 25 17:58:50 hp840 systemd[1]: Starting systemd-vconsole-setup.service - Virtual Console Setup...
Sep 25 17:58:50 hp840 systemd-vconsole-setup[606]: setfont: ERROR kdfontop.c:183 put_font_kdfontop: Unable to load such font with such kernel version
Sep 25 17:58:50 hp840 systemd-vconsole-setup[584]: /usr/bin/setfont failed with a "system error" (EX_OSERR), ignoring.
Sep 25 17:58:50 hp840 systemd-vconsole-setup[584]: Setting source virtual console failed, ignoring remaining ones.
Sep 25 17:58:50 hp840 systemd[1]: Finished systemd-vconsole-setup.service - Virtual Console Setup.
Sep 25 17:59:11 hp840 systemd[1]: systemd-vconsole-setup.service: Deactivated successfully.
Sep 25 17:59:11 hp840 systemd[1]: Stopped systemd-vconsole-setup.service - Virtual Console Setup.
Sep 25 17:59:11 hp840 systemd[1]: Stopping systemd-vconsole-setup.service - Virtual Console Setup...
Sep 25 17:59:11 hp840 systemd[1]: Starting systemd-vconsole-setup.service - Virtual Console Setup...
Sep 25 17:59:11 hp840 systemd[1]: Finished systemd-vconsole-setup.service - Virtual Console Setup.
Sep 25 17:59:16 hp840 systemd[1]: systemd-vconsole-setup.service: Deactivated successfully.
Sep 25 17:59:16 hp840 systemd[1]: Stopped systemd-vconsole-setup.service - Virtual Console Setup.
Sep 25 17:59:16 hp840 systemd[1]: Stopping systemd-vconsole-setup.service - Virtual Console Setup...
Sep 25 17:59:16 hp840 systemd[1]: Starting systemd-vconsole-setup.service - Virtual Console Setup...
Sep 25 17:59:16 hp840 systemd-vconsole-setup[1694]: Couldn't open /dev/tty1
Sep 25 17:59:16 hp840 systemd-vconsole-setup[1683]: /usr/bin/loadkeys failed with exit status 1.
Sep 25 17:59:16 hp840 systemd[1]: systemd-vconsole-setup.service: Main process exited, code=exited, status=1/FAILURE
Sep 25 17:59:16 hp840 systemd[1]: systemd-vconsole-setup.service: Failed with result 'exit-code'.
Sep 25 17:59:16 hp840 systemd[1]: Failed to start systemd-vconsole-setup.service - Virtual Console Setup.
Selinux alert:
type=AVC msg=audit(1727281305.583:252): avc: denied { read write } for pid=1610 comm="systemd-logind" name="tty2" dev="devtmpfs" ino=21 scontext=system_u:system_r:systemd_logind_t:s0 tcontext=unconfined_u:object_r:device_t:s0 tclass=chr_file permissive=1
tty devices with secontex:
crw-rw-rw-. 1 root tty system_u:object_r:devtty_t:s0 5, 0 Sep 25 18:45 /dev/tty
crw--w----. 1 root tty system_u:object_r:device_t:s0 4, 1 Sep 25 18:21 /dev/tty1
crw--w----. 1 grzegorz tty unconfined_u:object_r:device_t:s0 4, 2 Sep 25 18:21 /dev/tty2
crw--w----. 1 root tty system_u:object_r:device_t:s0 4, 3 Sep 25 18:21 /dev/tty3
crw--w----. 1 root tty system_u:object_r:device_t:s0 4, 4 Sep 25 18:21 /dev/tty4