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

Thierry Vignaud thierry.vignaud at gmail.com
Mon Apr 1 15:37:33 CEST 2013


On 1 April 2013 15:24, Colin Guthrie <mageia at colin.guthr.ie> wrote:
>> 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?

rewrite glibc scriptlets in lua instead of sh
See http://www.rpm.org/wiki/PackagerDocs/RpmLua


More information about the Mageia-sysadm mailing list