On Nov 1, 2012, at 4:02 PM, Elan Ruusamäe wrote:

> On 11/01/2012 08:44 PM, Jeffrey Johnson wrote:
>> The original intent was setup was first pkg installed with /etc/passwd, and 
>> filesystem (or FHS or …)
>> carried a prerequisite (which is Requires: in modern RPM).
> that's the thing, currently FHS (or filesystem) needs to be installed before 
> setup package, due /etc dir-dependency :)
> 


Yep: a dependency LOOP with all edges in the LOOP ignored for ordering purposes.

So put /etc/passwd (and group) into FHS … the only requirement is that 
/etc/passwd
(and group) must be installed before any package that uses user:group other 
than root:root
(or what is hardwired in RPM itself).

Alternatively, put /etc (and /) into the setup package so that the parent-dir 
sep is resolved.

There shouldn't be a problem if multiple packages own a single directory: 
rmdir(2) fails on
non-empty directories and errno is ignored.

73 de Jeff

_______________________________________________
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en

Reply via email to