public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/systemd] rawhide: Do not check ownership of /var/lib/systemd/timesync/ in rpm -V
@ 2026-06-10 13:55 
  0 siblings, 0 replies; only message in thread
From:  @ 2026-06-10 13:55 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/systemd
            Branch : rawhide
            Commit : 720fa8259a64a2de8c0119d59d7545fba5319c36
            Author : Zbigniew Jędrzejewski-Szmek <zbyszek@amutable.com>
            Date   : 2026-06-10T15:07:53+02:00
            Stats  : +2/-2 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/systemd/c/720fa8259a64a2de8c0119d59d7545fba5319c36?branch=rawhide

            Log:
            Do not check ownership of /var/lib/systemd/timesync/ in rpm -V

rpm -V systemd-udev would report that /var/lib/systemd/timesync/ has
wrong ownership. This happens because create the directory via %ghost
and it ends up with the default root:root ownership in the rpm %files
list. We _could_ fix the owernship in the listing, but it's actually OK
if the directory is owned by root or even some other account, as long as
the service is not running. Systemd will change owernship to the
systemd-timesync user:group when starting the service. Disabling of the
ownership verification makes it easier to precreate the timestamp (c.f.
https://src.fedoraproject.org/rpms/systemd/pull-request/238). So let's
just disable the owernship check.

---
diff --git a/split-files.py b/split-files.py
index 84cc955..f7f9989 100644
--- a/split-files.py
+++ b/split-files.py
@@ -26,8 +26,8 @@ known_files = '''
 %ghost %dir /var/lib/private/systemd
 %ghost %dir /var/lib/private/systemd/journal-upload
 %ghost /var/lib/private/systemd/journal-upload/state
-%ghost %dir /var/lib/systemd/timesync
-%ghost /var/lib/systemd/timesync/clock
+%ghost %dir %verify(not user group) /var/lib/systemd/timesync
+%ghost %verify(not user group) /var/lib/systemd/timesync/clock
 %ghost %dir /var/lib/systemd/backlight
 %ghost /var/lib/systemd/catalog/database
 %ghost %dir /var/lib/systemd/coredump

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

only message in thread, other threads:[~2026-06-10 13:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-10 13:55 [rpms/systemd] rawhide: Do not check ownership of /var/lib/systemd/timesync/ in rpm -V 

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