From 11d4e6388875f06e152a035290dc41df19dc79b6 Mon Sep 17 00:00:00 2001 From: Marian Csontos Date: Tue, 2 Oct 2018 17:02:37 +0200 Subject: [PATCH] spec: No %ghost for dirs at tmpfiles.d %ghost should not be used for directories created by systemd-tmpfiles. This may prevent package from working right after installation without invoking systemd-tmpfiles. See: https://pagure.io/packaging-committee/issue/439 --- spec/packages.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/packages.inc b/spec/packages.inc index 67a521df9..a1065a642 100644 --- a/spec/packages.inc +++ b/spec/packages.inc @@ -169,8 +169,8 @@ fi %dir %{_sysconfdir}/lvm/backup %dir %{_sysconfdir}/lvm/cache %dir %{_sysconfdir}/lvm/archive -%ghost %dir %{_default_locking_dir} -%ghost %dir %{_default_run_dir} +%dir %{_default_locking_dir} +%dir %{_default_run_dir} %if %{enable_systemd} %{_tmpfilesdir}/%{name}.conf %{_unitdir}/blk-availability.service -- 2.43.5