From cbcefd7a5c61bdce0bba045d3fc939d0b721e693 Mon Sep 17 00:00:00 2001 From: Marian Csontos Date: Tue, 2 Oct 2018 17:11:25 +0200 Subject: [PATCH] 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 --- lvm2.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lvm2.spec b/lvm2.spec index 8f74ebc..3bfa16a 100644 --- a/lvm2.spec +++ b/lvm2.spec @@ -383,8 +383,8 @@ systemctl start lvm2-lvmpolld.socket >/dev/null 2>&1 || : %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} %{_tmpfilesdir}/%{name}.conf %{_unitdir}/blk-availability.service %{_unitdir}/lvm2-monitor.service