Skip to content
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

Open
dsseng opened this issue Oct 16, 2024 · 2 comments
Open

Change location of system extensions' udev rules #1053

dsseng opened this issue Oct 16, 2024 · 2 comments
Assignees

Comments

@dsseng
Copy link
Member

dsseng commented Oct 16, 2024

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

@dsseng dsseng self-assigned this Oct 16, 2024
@frezbo
Copy link
Member

frezbo commented Oct 16, 2024

👍 on using /usr/lib

@smira
Copy link
Member

smira commented Oct 16, 2024

We need to ensure we update this as well: https://github.com/siderolabs/talos/blob/39fe285e69691059f91d8c7c5506e156356263d9/pkg/machinery/extensions/extensions.go#L19-L20

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants