[HEADS-UP] Moving /var/run and /var/lock to tmpfs in Rawhide

Paul Wouters paul at xelerance.com
Wed Nov 24 16:39:30 UTC 2010


On Wed, 24 Nov 2010, Paul Howarth wrote:

>> This remark makes no sense? If they "already" needed ghosting, then the mass-file should
>> be needed?
>
> Files are directories are currently treated differently. The initscripts
> clean out files from /var/lock and /var/run but leave directories alone.
>
> So any package containing a file in these directories should already
> have it marked as %ghost as it will already disappear at boot time.

Thanks for the clarification.

> However, most affected packages probably have directories rather than
> files here, and *those* shouldn't need %ghost-ing because re-creating
> them using a tmpfiles.d/*.conf file should be enough to keep rpm happy.

Is that needed if the package init script deals with this already?
(eg xl2tpd will create /var/run/xl2tpd if it does not exist)

Paul


More information about the devel mailing list