-
Notifications
You must be signed in to change notification settings - Fork 407
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
udev.rules documentation improvement #326
Conversation
As recently discovered (thanks @tresf), the `TAG+="uaccess"` has to be used before `73-seat-late.rules` and not before `70-uaccess.rules`. Technically it doesn't harm, to have a more restrictive recommenration, but it was not technically currect. Refference on `uaccess` TAG consumption: [1](https://github.com/systemd/systemd/blob/3a1220eedfb65355c387c29584380742a21917aa/src/login/73-seat-late.rules.in), [2](https://www.apt-browse.org/browse/debian/wheezy/main/amd64/systemd/44-11+deb7u4/file/lib/udev/rules.d/73-seat-late.rules).
# NOTE: these rules must have priorty before 73-seat-late.rules. | ||
# (Small discussion/explanation in systemd repo: | ||
# https://github.com/systemd/systemd/issues/4288#issuecomment-348166161) | ||
# for example, name the file /etc/udev/rules.d/70-my-application-hid.rules. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# for example, name the file /etc/udev/rules.d/70-my-application-hid.rules. | |
# for example, name the file /etc/udev/rules.d/72-my-application-hid.rules. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about renaming the file to 72-hid.rules?
So there is a standard set of rules that adds a uaccess
TAG (70-uaccess.rules
) with priority 70
.
I'm thinking maybe having and example with the same priority would be nit.
How about renaming the file to |
I tested changing the priority of Mixxx's udev rule file and confirmed this is correct. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me!
As recently discovered (thanks @tresf), the
TAG+="uaccess"
has to be usedbefore
73-seat-late.rules
and not before70-uaccess.rules
.Technically it doesn't harm, to have a more restrictive recommenration,
but it was not technically currect.
Refference on
uaccess
TAG consumption:1, 2.
Relates to: #276, systemd/systemd/issues/4288.