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
This commit is contained in:
Marian Csontos 2018-10-02 17:11:25 +02:00
parent dede4cbfca
commit cbcefd7a5c

View File

@ -383,8 +383,8 @@ systemctl start lvm2-lvmpolld.socket >/dev/null 2>&1 || :
%dir %{_sysconfdir}/lvm/backup %dir %{_sysconfdir}/lvm/backup
%dir %{_sysconfdir}/lvm/cache %dir %{_sysconfdir}/lvm/cache
%dir %{_sysconfdir}/lvm/archive %dir %{_sysconfdir}/lvm/archive
%ghost %dir %{_default_locking_dir} %dir %{_default_locking_dir}
%ghost %dir %{_default_run_dir} %dir %{_default_run_dir}
%{_tmpfilesdir}/%{name}.conf %{_tmpfilesdir}/%{name}.conf
%{_unitdir}/blk-availability.service %{_unitdir}/blk-availability.service
%{_unitdir}/lvm2-monitor.service %{_unitdir}/lvm2-monitor.service