summaryrefslogtreecommitdiffstats
path: root/rules.d
diff options
context:
space:
mode:
authorChris Patterson <cpatterson@microsoft.com>2023-08-25 23:23:40 +0200
committerLuca Boccassi <luca.boccassi@gmail.com>2023-08-28 11:42:27 +0200
commit23cbe90d7db6b569ae2fc18ad88f99f8ef505593 (patch)
tree2628a5534ad2fd0541845ff0c54e6fb694008dfd /rules.d
parentsd-dhcp-client: make client initially in stopped state (diff)
downloadsystemd-23cbe90d7db6b569ae2fc18ad88f99f8ef505593.tar.xz
systemd-23cbe90d7db6b569ae2fc18ad88f99f8ef505593.zip
99-systemd.rules.in: tag PTP devices with systemd
Chronyd and similar time services, when using PTP devices, may need the BindsTo/After directives to ensure the devices are available before starting. Tag PTP devices with systemd to allow for wider adoption. Signed-off-by: Chris Patterson <cpatterson@microsoft.com>
Diffstat (limited to 'rules.d')
-rw-r--r--rules.d/99-systemd.rules.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/rules.d/99-systemd.rules.in b/rules.d/99-systemd.rules.in
index b5a2b6aaea..0d68f31d36 100644
--- a/rules.d/99-systemd.rules.in
+++ b/rules.d/99-systemd.rules.in
@@ -12,6 +12,8 @@ ACTION=="remove", GOTO="systemd_end"
SUBSYSTEM=="tty", KERNEL=="tty[a-zA-Z]*|hvc*|xvc*|hvsi*|ttysclp*|sclp_line*|3270/tty[0-9]*", TAG+="systemd"
KERNEL=="vport*", TAG+="systemd"
+SUBSYSTEM=="ptp", TAG+="systemd"
+
SUBSYSTEM=="ubi", TAG+="systemd"
SUBSYSTEM=="block", TAG+="systemd"