[HEADS-UP] Moving /var/run and /var/lock to tmpfs in Rawhide
mzerqung at 0pointer.de
Wed Nov 24 19:30:59 UTC 2010
On Wed, 24.11.10 10:45, Nathanael D. Noblet (nathanael at gnat.ca) wrote:
> 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.
> %ghost /var/run
> %ghost /var/run/dspam
> %ghost /var/lock
> %ghost /var/lock/subsystem
> %ghost /var/lock/subsystem/dspam
No. /var/run and /var/lock and /var/lock/subsystem is not owned by
you. Don't add those three to the spec file!
Lennart Poettering - Red Hat, Inc.
More information about the devel