Skip to content

Commit

Permalink
add %ghost to rpm spec %files /var/run/munge dir
Browse files Browse the repository at this point in the history
Add the %ghost directive to the /var/run/munge directory in the rpm
spec %files list.

It has become increasingly common for /var/run to be mounted as tmpfs.
As such, the /var/run/munge directory is created in the init script
when the service is started.
  • Loading branch information
dun committed Apr 23, 2013
1 parent aeeaca7 commit 0f89429
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion munge.spec
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ if [ -x /sbin/ldconfig ]; then /sbin/ldconfig %{_libdir}; fi
%config(noreplace) %{_sysconfdir}/*/*
%dir %attr(0711,munge,munge) %{_localstatedir}/lib/munge
%dir %attr(0700,munge,munge) %{_localstatedir}/log/munge
%dir %attr(0755,munge,munge) %{_localstatedir}/run/munge
%dir %attr(0755,munge,munge) %ghost %{_localstatedir}/run/munge
%{_bindir}/*
%{_sbindir}/*
%{_mandir}/*[^3]/*
Expand Down

0 comments on commit 0f89429

Please sign in to comment.