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

Thierry Vignaud thierry.vignaud at gmail.com
Mon Apr 1 22:56:40 CEST 2013


On 1 April 2013 22:19, Colin Guthrie <mageia at colin.guthr.ie> wrote:
>> actually it's the "filesystem" package that is bogus:
>> drwxr-xr-x    2 root daemon   4096 Gen  11 21:34 /var/spool/lpd
>> drwxrwxr-x    2 root mail     4096 Gen  11 21:34 /var/spool/mail
>>
>> you got bitten by the off by one issue due to %pretrans meaning rpm runs
>> open_callback more than we though
>>
>> so forget about glibc's scriptlets
>
> Ha! So it is :)
>
> So should the plan be to make setup's scripts run via dash-static and
> not use rpm-helper scripts and deal gracefully with non-existing
> binaries etc.?
>
> Then filesystem can require setup and all will be well in the world
> (other than the general draklive problem where groups are somehow not
> honoured by rpm when installing in the chroot)

Already fixed as part of bug #9326

setup's scriptlets were archeological remanants of mdv2007.
I've killed them for now.
If needed, they can be restored either by spliting setup-basesystem
(https://bugs.mageia.org/show_bug.cgi?id=9326#c19)
or by converting them to lua as suggested by you.


More information about the Mageia-dev mailing list