Skip to main content
Topic: [Experimental] Artix without Udev (Read 621 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

[Experimental] Artix without Udev

Me and a few other members of the TG chat have been experimenting with a udev-less Artix setup, using nldev+smdev (thanks @phoenix_king_rus ).

If you want to experiment with it too, here's instructions and workarounds for common issues you'll find.

https://gist.github.com/capezotte/03ee5548218e819b06459819bb120b4b

Reminders:
- This is unsupported. Reproduce bugs on Artix's stock udev before raising an issue with distro maintainers.
- Stuff depending on udev is everywhere. A lot of "magic" will break (bluetooth and cryptsetup will need to be recompiled, elogind will deny you access to devices you're supposed to be able to, etc.). Fortunately, Libudev-zero allows a lot of binary packages of non-system software from Artix's repos and beyond to run unchanged, and there are workarounds for the issues caused by system software being tightly coupled to udev, compiled on the linked gist. Some of them have permanent solutions on the horizon (like elogind),  though this brings us to the next problem...
- udev rule language is not easily translatable into shell scripts, especially when labeling and goto are involved. Automatic translation, despite my efforts, seems unfeasible, and writing an interpreter for them seems like a dauting task.