[packages/filesystem] - can't use any non-root groups in this package and not depend on setup package, do similar workardo

Jeffrey Johnson n3npq at me.com
Thu Nov 1 21:08:23 CET 2012

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

More information about the pld-devel-en mailing list