Re: Packages adding groups in %pre/post

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Panu Matilainen (pmatilai@xxxxxxxxxxxxxxx) said: 
> And yes there are nasty loops:
> http://laiskiainen.org/tmp/fedora-rawhide-231208-loops.txt
> For a reproducer try:
> yum --disablerepo="*" --enablerepo=rawhide --installroot=<somewhere> install sed"
>
> This is so not going to work:
> [pmatilai@localhost badorder]$ rpm -qp --scripts  
> setup-2.7.5-3.fc11.noarch.rpm
> postinstall scriptlet (using /bin/sh):
> if [ `grep -c video /etc/group` -eq 0 ] ; then
>   groupadd -g 39 video
> fi
> if [ `grep -c audio /etc/group` -eq 0 ] ; then
>   groupadd -g 63 audio
> fi
>
> [pmatilai@localhost badorder]$ rpm -qp --requires setup-2.7.5-3.fc11.noarch.rpm |grep -v rpmlib
> /bin/sh
> config(setup) = 2.7.5-3.fc11
> grep

Bug 477769 filed.

Bill

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux