On Wed, 24.11.10 10:45, Nathanael D. Noblet (nathanael@xxxxxxx) wrote: > > On 11/24/2010 08:00 AM, Lennart Poettering wrote: > > On Tue, 23.11.10 16:56, Nathanael D. Noblet (nathanael@xxxxxxx) 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 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 -- Lennart Poettering - Red Hat, Inc. -- devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/devel