Directories not owned by package

Nicolas Mailhot Nicolas.Mailhot at laPoste.net
Thu Jan 15 09:55:39 UTC 2004


Le jeu 15/01/2004 à 10:18, Michael Schwendt a écrit :
> On Thu, 15 Jan 2004 10:13:59 +0100, Nicolas Mailhot wrote:
> 
> > > The check is not to work around package bugs in Core and to own every
> > > directory which a core package should include already
> > 
> > This is a correctness thing. It came up on the list before - ideally rpm
> > should auto-own all directories a package uses (this would solve every
> > single dangling directory problem and simplify specs a lot) but this
> > would probably inflate the rpm db a bit and the rpm maintainer never
> > managed to convince his fellow redhaters to make this change.
> 
> And that would make directory-based dependencies impossible, such as
> "what package provides /var/lib/foo"?

Directory-based deps are mostly useless anyway - unlike file deps where
you care about the file contents, for directories the end result is
exactly the same regardless of what package actually creates it and you
often do not have any clear owner of a directory (except for artificial
constructs like default fhs layout).

If directory ownership mattered rpm would refuse to install any package
with unowned directories which is not the case today (ie it will happily
create new dirs even if the package does not claim them)

Cheers,

-- 
Nicolas Mailhot
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Ceci est une partie de message num?riquement sign?e.
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20040115/ef736776/attachment.sig>


More information about the fedora-devel-list mailing list