From 23cbe90d7db6b569ae2fc18ad88f99f8ef505593 Mon Sep 17 00:00:00 2001 From: Chris Patterson Date: Fri, 25 Aug 2023 17:23:40 -0400 Subject: [PATCH] 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 --- rules.d/99-systemd.rules.in | 2 ++ 1 file changed, 2 insertions(+) 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" -- 2.25.1