-
Notifications
You must be signed in to change notification settings - Fork 112
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change location of system extensions' udev rules #1053
Comments
👍 on using |
We need to ensure we update this as well: https://github.com/siderolabs/talos/blob/39fe285e69691059f91d8c7c5506e156356263d9/pkg/machinery/extensions/extensions.go#L19-L20 |
|
We can do a copy/bind mount it if that makes less patches on udevd. |
https://www.freedesktop.org/software/systemd/man/latest/iocost.conf.html#Configuration%20Directories%20and%20Precedence I guess the default config should work for us |
Yeah, looks like in case of ENOENT iocost will still work (I was a bit confused by its error handling). udev.conf is not needed as well, we set needed flags in args. |
It is not supported by systemd upstream and we decided to move system extensions' rules to be stored alongside system rules in /usr/lib/udev/rules.d Ref: siderolabs#1053 Reverts: siderolabs#1053 Signed-off-by: Dmitry Sharshakov <[email protected]>
Ref: siderolabs/pkgs#1053 Signed-off-by: Dmitry Sharshakov <[email protected]>
Ref: siderolabs/pkgs#1053 Signed-off-by: Dmitry Sharshakov <[email protected]>
It is not supported by systemd upstream and we decided to move system extensions' rules to be stored alongside system rules in /usr/lib/udev/rules.d Ref: siderolabs#1053 Reverts: siderolabs#1053 Signed-off-by: Dmitry Sharshakov <[email protected]>
Revert ba0341e and move /use/etc configs for udev to either /usr/lib or /etc.
systemd developers replied stuff as I did with /usr/etc is not officially supported by them, yet it works well, so we could keep things as is and carry a patch downstream to lookup rules at our locations.
We already store system rules in /usr/lib and user-provided ones (generated on boot) in /etc.
Probably the only system extension installing udev rules should be mdadm, and a notice should be added to the release notes to make sure third-party extensions transition in advance before 1.9.
I believe it's the best to just add system extensions' rules into the same directory our base rules are in. Let extension developers make sure they don't override the rules by accident.
Ref: systemd/systemd#34632
The text was updated successfully, but these errors were encountered: