Hi experts,
I have a problem at hand that I've found pretty hard to debug and seems like I've hit a road block with this. I have a system running kernel v5.10.82 with SELinux, systemd v244. The system used to boot just fine until for some usecases I had to enable the following kernel configurations.
CONFIG_USER_NS=y
Now, the system boots just fine on some attempts while on others it takes quite a lot of time to boot with logs such as
Starting version 244 ... ...
I noticed the "Failed to scan devices" and enabled systemd debug using the kernel command line with
systemd.log_level=debug systemd.log_target=kmsg log_buf_len=1M printk.devkmsg=on
and got
udevadm[433]: Failed to scan devices: Input/output error
There are no AVC denials seen and running SELinux in permissive mode makes no difference, I still see failing/lazy boots, however if I disable SELinux (selinux=0) altogether everything starts up cleanly. On a boot where such hiccups are seen running systemd-udev-trigger even after login fails with the same input/output error.
Any pointers on why udevadm might run into an input/output error could get me going here. Help will be much appreciated.
BR,
Awais
|