public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/linuxptp] rawhide: don't require chrony directories in timemaster service
@ 2026-08-18 12:49 Miroslav Lichvar
  0 siblings, 0 replies; only message in thread
From: Miroslav Lichvar @ 2026-08-18 12:49 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/linuxptp
            Branch : rawhide
            Commit : 3b27634de43075338de3cd225984322bd9dfc657
            Author : Miroslav Lichvar <mlichvar@redhat.com>
            Date   : 2026-08-18T14:45:28+02:00
            Stats  : +1/-1 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/linuxptp/c/3b27634de43075338de3cd225984322bd9dfc657?branch=rawhide

            Log:
            don't require chrony directories in timemaster service

/var/lib/chrony doesn't have to exist if using a different NTP
implementation. Make the ReadWritePath optional.

Also, it might need to write some files to /run outside of
/run/timemaster (as chronyd needs to write to /run/chrony).

---
diff --git a/timemaster.service b/timemaster.service
index 5b722fc..c8754ec 100644
--- a/timemaster.service
+++ b/timemaster.service
@@ -29,7 +29,7 @@ ProtectKernelModules=yes
 ProtectKernelTunables=yes
 ProtectProc=invisible
 ProtectSystem=strict
-ReadWritePaths=/run/timemaster /var/lib/chrony -/var/log -/var/spool
+ReadWritePaths=/run -/var/lib/chrony -/var/log -/var/spool
 RestrictAddressFamilies=AF_INET AF_INET6 AF_NETLINK AF_PACKET AF_UNIX
 RestrictNamespaces=yes
 RestrictSUIDSGID=yes

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-18 12:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-18 12:49 [rpms/linuxptp] rawhide: don't require chrony directories in timemaster service Miroslav Lichvar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox