Registration of TAG+="systemd" udev rules?

Ian Campbell ijc at debian.org
Sun May 10 13:46:55 BST 2015


Hello,

In adding systemd unit support to the qcontrol package (#781886) I
needed to add a udev rule (60-qcontrol.rules):
        KERNELS=="gpio-keys", SUBSYSTEMS=="platform", DRIVERS=="gpio-keys", TAG+="systemd"

In order to tag /dev/input/by-path/platform-gpio-keys-event for systemd,
so that the dev-input-by\x2dpath-platform\x2dgpio\x2dkeys
\x2devent.device unit works correctly and can be depended on by qcontrol.

Am I suppose to register this device tag somewhere central (since other
packages may add the same, although I expect that to be harmless) or
perhaps even send a patch against udev or
systemd instead of just adding it myself?

Thanks,
Ian.





More information about the Pkg-systemd-maintainers mailing list