From 348151a546d4a4b7e7dcd62b8e390ef75779c967 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Fri, 4 Nov 2016 09:58:31 -0400 Subject: [PATCH] Fix ownership of directories we create Previously unowned: systemd-229-16.fc24.x86_64 |-- /etc/dbus-1/system.d/org.freedesktop.hostname1.conf |-- /etc/dbus-1/system.d/org.freedesktop.locale1.conf |-- /etc/dbus-1/system.d/org.freedesktop.login1.conf |-- /etc/dbus-1/system.d/org.freedesktop.network1.conf |-- /etc/dbus-1/system.d/org.freedesktop.resolve1.conf |-- /etc/dbus-1/system.d/org.freedesktop.systemd1.conf |-- /etc/dbus-1/system.d/org.freedesktop.timedate1.conf |-- /usr/share/factory/etc/nsswitch.conf |-- /usr/share/factory/etc/pam.d/other '-- /usr/share/factory/etc/pam.d/system-auth systemd-container-229-16.fc24.x86_64 |-- /etc/dbus-1/system.d/org.freedesktop.import1.conf '-- /etc/dbus-1/system.d/org.freedesktop.machine1.conf --- systemd.spec | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/systemd.spec b/systemd.spec index 5b8f9ff..a2a152a 100644 --- a/systemd.spec +++ b/systemd.spec @@ -591,6 +591,7 @@ getent passwd systemd-journal-upload >/dev/null 2>&1 || useradd -r -l -g systemd %ghost %attr(0664,root,utmp) %{_localstatedir}/run/utmp %ghost %attr(0664,root,utmp) %{_localstatedir}/log/wtmp %ghost %attr(0600,root,utmp) %{_localstatedir}/log/btmp +%ghost %dir %{_sysconfdir}/dbus-1/system.d %config(noreplace) %{_sysconfdir}/dbus-1/system.d/org.freedesktop.systemd1.conf %config(noreplace) %{_sysconfdir}/dbus-1/system.d/org.freedesktop.hostname1.conf %config(noreplace) %{_sysconfdir}/dbus-1/system.d/org.freedesktop.login1.conf @@ -757,9 +758,7 @@ getent passwd systemd-journal-upload >/dev/null 2>&1 || useradd -r -l -g systemd %exclude %{_mandir}/man*/systemd-cryptsetup* %exclude %{_mandir}/man*/systemd-sleep* -%{_datadir}/factory/etc/nsswitch.conf -%{_datadir}/factory/etc/pam.d/other -%{_datadir}/factory/etc/pam.d/system-auth +%{_datadir}/factory/ %{_datadir}/systemd/kbd-model-map %{_datadir}/systemd/language-fallback-map %{_datadir}/dbus-1/services/org.freedesktop.systemd1.service