-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
Since systemd >= 243 (this commit specifically), udev emits warnings for ignored tokens in an OPTIONS key, they were silently ignored before. In Debian 11 these warnings are:
root@mytest11:~# journalctl -b -0 | grep gandi
[…]
Jun 08 14:22:15 localhost systemd-udevd[290]: /etc/udev/rules.d/86-gandi.rules:14 Invalid value for OPTIONS key, ignoring: 'last_rule'
Jun 08 14:22:15 localhost systemd-udevd[290]: /etc/udev/rules.d/86-gandi.rules:15 Invalid value for OPTIONS key, ignoring: 'last_rule'
Jun 08 14:22:15 localhost systemd-udevd[290]: /etc/udev/rules.d/86-gandi.rules:16 Invalid value for OPTIONS key, ignoring: 'ignore_device'
Jun 08 14:22:15 localhost systemd-udevd[290]: /etc/udev/rules.d/86-gandi.rules:16 The line takes no effect, ignoring.
Jun 08 14:22:15 localhost systemd-udevd[290]: /etc/udev/rules.d/86-gandi.rules:22 Invalid value for OPTIONS key, ignoring: 'last_rule'
Jun 08 14:22:15 localhost systemd-udevd[290]: /etc/udev/rules.d/86-gandi.rules:32 Invalid value for OPTIONS key, ignoring: 'last_rule'
[…]
(obtained just after the first boot, also reported on issue #5)
I searched what was the semantics of last_rule and ignore_device:
last_rulewas introduced on 2005-04-26 and removed on 2009-10-28 (udev >= v147 released on 2009-11-10) with this comment:remove "last_rule" option Its use breaks too many things which expect to be run from independent later rules, and is an idication that something needs to be fixed properly instead.ignore_devicewas introduced on 2005-04-26 and removed on 2009-11-16 (udev >= v148 released on 2009-12-02) with this comment:remove "ignore_device" There is no way to ignore an event these days. Libudev events can not be suppressed. It only prevents RUN keys from being executed, which results in an inconsistent behavior in current setups.
This means these two actions are silently ignored since end of 2009. I guess there are no more servers running udev < 147 since most distributions have support for 5 to 7 years. It is probably ignored since Debian 6 (released on 2011, EOL 2014) and since Ubuntu 10.04 (EOL 2015).
In Gandi package these rules are present since the initial import on 2015-02-19.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels