From: Nick Rosbrook Date: Wed, 22 Jan 2025 16:59:36 +0000 (-0500) Subject: udev: add systemd tag to devices tagged with security-device X-Git-Tag: v258-rc1~1527 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=16f99f5be954081a185b63c70780ddbd25d4b97a;p=thirdparty%2Fsystemd.git udev: add systemd tag to devices tagged with security-device This ensures that device units are created for these, which is convenient for other units that want to declare dependencies on such devices. --- diff --git a/rules.d/99-systemd.rules.in b/rules.d/99-systemd.rules.in index 882cda0dcdb..ae05c75bb53 100644 --- a/rules.d/99-systemd.rules.in +++ b/rules.d/99-systemd.rules.in @@ -61,6 +61,7 @@ SUBSYSTEM=="bluetooth", TAG+="systemd", ENV{SYSTEMD_ALIAS}+="/sys/subsystem/blue ENV{SYSTEMD_WANTS}+="bluetooth.target", ENV{SYSTEMD_USER_WANTS}+="bluetooth.target" ENV{ID_SMARTCARD_READER}=="?*", TAG+="systemd", ENV{SYSTEMD_WANTS}+="smartcard.target", ENV{SYSTEMD_USER_WANTS}+="smartcard.target" +TAG=="security-device", TAG+="systemd" SUBSYSTEM=="sound", KERNEL=="controlC*", TAG+="systemd", ENV{SYSTEMD_WANTS}+="sound.target", ENV{SYSTEMD_USER_WANTS}+="sound.target" SUBSYSTEM=="printer", TAG+="systemd", ENV{SYSTEMD_WANTS}+="printer.target", ENV{SYSTEMD_USER_WANTS}+="printer.target"