[Mageia-sysadm] setup package not installed until quite late on...

Colin Guthrie mageia at colin.guthr.ie
Sun Mar 31 18:03:10 CEST 2013

The setup package contains /etc/group and friends, but when installing a
chroot, it is not installed until after some packages which require the
default groups it defines (e.g. sysvinit-legacy-tools requires the tty
group yet it is installed before setup.

Now here comes the tricky part... As part of the very first transaction
which includes filesystem and glibc, dash-static is pulled in.

dash-static requires the "mail" group defined by setup package.

So really glibc requires dash-static which requires setup which requires
glibc and shadow-utils and run-parts...

Do we really want to add this loop?

I'd suggest we should rejig setup to not have a hard require on glibc,
shadow-utils and run-parts but still run it's current scripts if the
needed binaries/tools are installed (i.e. on package upgrade) and then
rejig dash-static to Require(pre): setup. This should ensure things are
installed properly (I think - although not sure how this will affect the
initial transaction split...)

Any other/better thoughts?



Colin Guthrie

Day Job:
  Tribalogic Limited http://www.tribalogic.net/
Open Source:
  Mageia Contributor http://www.mageia.org/
  PulseAudio Hacker http://www.pulseaudio.org/
  Trac Hacker http://trac.edgewall.org/

More information about the Mageia-sysadm mailing list