Ralph Angenendt
2006-Sep-01 08:33 UTC
[CentOS] Anyone seeing mock breakage after updating to 4.4?
Morning, somehow the upgrade to 4.4 broke mock on my system: | [angenenr at shutdown SPECS]$mock -r c3-i386 /home/angenenr/redhat/SRPMS/apache-ssl-2.8.28-2el4.src.rpm | init | clean | prep | This may take a while | Could not find useradd in chroot, maybe the install failed? Nope, it's not the config_opts['chroot_setup_cmd'] = 'groupinstall build' issue, as I'm still using mock 0.4 (from kbs-CentOS-extras). I'm seeing this in the root.log in result/: | Executing /usr/sbin/mock-helper mount -t proc proc | /var/lib/mock/c3-i386/root/proc | mount: proc already mounted or /var/lib/mock/c3-i386/root/proc busy | mount: according to mtab, proc is already mounted on | /var/lib/mock/c3-i386/root/proc | | Executing /usr/sbin/mock-helper mount -t devpts devpts | /var/lib/mock/c3-i386/root/dev/pts | mount: devpts already mounted or /var/lib/mock/c3-i386/root/dev/pts busy | mount: according to mtab, devpts is already mounted on | /var/lib/mock/c3-i386/root/dev/pts When mock is trying to install the rpms for the buildroot then, I see: | error: can't create transaction lock on /var/lib/mock/c3-i386/root/var/lock/rpm/transaction And my root/ directory is missing usr/. Anyone else seeing this? Regards, Ralph -- Ralph Angenendt......ra at br-online.de | .."Text processing has made it possible Bayerischer Rundfunk...80300 M?nchen | ....to right-justify any idea, even one Programmbereich.Bayern 3, Jugend und | .which cannot be justified on any other Multimedia.........Tl:089.5900.16023 | ..........grounds." -- J. Finnegan, USC -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: <http://lists.centos.org/pipermail/centos/attachments/20060901/42ad2bfb/attachment-0002.sig>
Karanbir Singh
2006-Sep-01 08:47 UTC
[CentOS] Anyone seeing mock breakage after updating to 4.4?
Ralph Angenendt wrote:> Morning, > > somehow the upgrade to 4.4 broke mock on my system: > > | [angenenr at shutdown SPECS]$mock -r c3-i386 /home/angenenr/redhat/SRPMS/apache-ssl-2.8.28-2el4.src.rpm > | init > | clean > | prep > | This may take a while > | Could not find useradd in chroot, maybe the install failed? > > Nope, it's not the > > config_opts['chroot_setup_cmd'] = 'groupinstall build' > > issue, as I'm still using mock 0.4 (from kbs-CentOS-extras). > > I'm seeing this in the root.log in result/: > > | Executing /usr/sbin/mock-helper mount -t proc proc > | /var/lib/mock/c3-i386/root/proc > | mount: proc already mounted or /var/lib/mock/c3-i386/root/proc busy > | mount: according to mtab, proc is already mounted on > | /var/lib/mock/c3-i386/root/proc > | > | Executing /usr/sbin/mock-helper mount -t devpts devpts > | /var/lib/mock/c3-i386/root/dev/pts > | mount: devpts already mounted or /var/lib/mock/c3-i386/root/dev/pts busy > | mount: according to mtab, devpts is already mounted on > | /var/lib/mock/c3-i386/root/dev/pts > > When mock is trying to install the rpms for the buildroot then, I see: > > | error: can't create transaction lock on /var/lib/mock/c3-i386/root/var/lock/rpm/transaction > > And my root/ directory is missing usr/. > > Anyone else seeing this? >just noticed that its a c3 buildroot ? are you using a yum-2.4.x on your c3 machine and buildroot ? I am on 0.6 mock - dont see this issue. But did you by-chance enable selinux ? you problem sounds exactly like an issue I had with selinux in enforcing mode not allowing mock to do anything. -- Karanbir Singh : http://www.karan.org/ : 2522219 at icq
David Hrbáč
2006-Sep-01 22:13 UTC
[CentOS] Anyone seeing mock breakage after updating to 4.4?
Ralph Angenendt napsal(a):> | error: can't create transaction lock on /var/lib/mock/c3-i386/root/var/lock/rpm/transactionExperiencing the very same after upgrading build machine to 4.4. David
Konstantin Klimchev
2006-Sep-05 09:16 UTC
[CentOS] Anyone seeing mock breakage after updating to 4.4?
Ralph Angenendt ?????:> > When mock is trying to install the rpms for the buildroot then, I see: > > | error: can't create transaction lock on /var/lib/mock/c3-i386/root/var/lock/rpm/transaction > > And my root/ directory is missing usr/. >I dare to assume - there can be it consequences of correction RedHat #151255 ? If to execute a command: # yum --installroot /var/lib/mock/centos-4-i386-core/root install filesystem the output will be the same: <...> error: can't create transaction lock on /var/lib/mock/centos-4-i386-core/root/var/lock/rpm/transaction <..> -- Konstantin Klimchev Department IT JSC "Arhangelsk generation company" Arhangelsk, Russia