Split coreutils?

Jakub Bogusz qboosh at pld-linux.org
Tue Jun 10 07:43:37 CEST 2008


On Tue, Jun 10, 2008 at 12:59:04AM +0200, Patryk Zawadzki wrote:
> Hi,
> 
> The problem we are currently facing is that installing packages to a
> fresh system results in poldek being confused about coreutils + pam
> circular deps. It seems to work with poldek from th-test but is not
> reliable in ac or th-main. The end result is coreutils requires pam
> which in turn requires coreutils and make and their installation is
> broken. Both make and pam use the binaries provided by coreutils in
> their respective %post sections.
> 
> Two proposed solutions:
> 
> 1) move parts of %post in make and pam to %posttrans so they are
> executed after the transaction is complete - ugly but could work

Or use lua in pam's %post.

> 2) split coreutils into coreutils and coreutils base where *-base
> contains all binaries except sudo and runuser as those depend on pam;
> make and pam should then require coreutils-base instead of coreutils
> and we get a clean dependency tree

-base, -basic, -core, -shared... the naming key is unclear (especially
in KDE4 packages, BTW)

I'd rather separate coreutils-su (containing su and runuser), they could
have alternatives (e.g. more configurable shadow-su).


-- 
Jakub Bogusz    http://qboosh.pl/


More information about the pld-devel-en mailing list