On Tue, Mar 28, 2006 at 09:32:33PM -0800, Bill Campbell wrote:
> On Wed, Mar 29, 2006, Michael van Elst wrote:
> >On Tue, Mar 28, 2006 at 06:27:07PM -0800, Bill Campbell wrote:
> >> I'm building a package for the current courier-imap, and the
> >> tarball's sample courier-imap.spec file uses something I've never
> >> seen before in the %files section ``%ghost %attr(600,...''.
> >> 
> >> What is the meaning of %ghost?
> >
> >%ghost specifies a file that does not exist in the RPM archive
> >but is added to the RPM database. It might be created by the
> >package and will be removed later with the package.
> 
> Interesting.  It the courier-imap package, this refers to pid and
> lock files which are actually created, but dynamic.

Yes. The files are not in the RPM archive itself but created dynamically
by the package, at install time or most often later when a daemon is
run, i.e. the files are some status or log files. They get erased with
the package when you 'rpm -e'.


-- 
                                Michael van Elst
Internet: [EMAIL PROTECTED]
                                "A potential Snark may lurk in every tree."
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
Developer Communication List                   openpkg-dev@openpkg.org

Reply via email to