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

Nathanael D. Noblet nathanael at gnat.ca
Wed Nov 24 17:45:48 UTC 2010


On 11/24/2010 08:00 AM, Lennart Poettering wrote:
> On Tue, 23.11.10 16:56, Nathanael D. Noblet (nathanael at gnat.ca) wrote:
>
>>> Imho there should be a packaging guideline to make it clear what needs
>>> to be done in which cases. E.g. when to %ghost files and when not.
>>
>> I'm curious, one of my packages has /var/run/dspam in the specfile and
>> /var/lock/subsystem/dspam used in the initscript... I added a %ghost for
>> the second and now I'm wondering if I even need to.. Should I revert
>> that change? and just %ghost /var/run/dspam ?
>
> You probably should %ghost all dirs/files beneath those two directories.


So...

%ghost /var/run
%ghost /var/run/dspam
%ghost /var/lock
%ghost /var/lock/subsystem
%ghost /var/lock/subsystem/dspam

?


More information about the devel mailing list