I have a strange problem with Leap 15 & KDE desktop.
Everything works fine.
I created a new systemgroup “usbtmc” and I added myself to this group and rebooted.
Everything works fine.
I created a new file /lib/udev/rules.d/30-usbtmc.rules that contains the following:
I rebooted.
Now the system hangs at the point where you can still see the console but there’s already the mouse cursor.
No graphical login yet.
I start a new terminal by using ctrl-alt-f1, login as root and remove the apparently offending file.
I enter “init 6”.
The system hangs because systemd says a stopjob is running for usermanager which takes ages (2 minutes).
I switch-off the power.
I switch it on again.
Everything works fine.
I have two questions:
why is the above procedure working fine on Opensuse Leap 42.3?
First,
Tnat’s a udev rule, not a systemd rule (It’s on the roadmap, somewhere a long time from now systemd wants to replace udev as well).
Sounds like there could be timing problem, the boot parallelism is probably different between 42.3 and 15.
At least you have a working example, you should probably start by mapping out what ihappens just prior to your system freezing in 15 and extract specific errors and not rely just on your observation… Then you can compare with what happens on 42.3.
You’ll want to use journalctl for at least the following
Extract prior bootlogs
Filter for specific level errors
Filter for errors that are specific to udev
I’d recommend the following that describes how to do the above and more