master - spec: No %ghost for dirs at tmpfiles.d
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=11d4e6388875f06e152a035290dc41df19dc79b6 Commit: 11d4e6388875f06e152a035290dc41df19dc79b6 Parent: a49f494c4d9a3551fe63c702a9e8c3495fe066d0 Author: Marian Csontos <[email protected]> AuthorDate: Tue Oct 2 17:02:37 2018 +0200 Committer: Marian Csontos <[email protected]> CommitterDate: Wed Oct 3 20:05:37 2018 +0200
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 files changed, 2 insertions(+), 2 deletions(-)
spec/packages.inc +2 -2
@@ -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