[CentOS] Anyone seeing mock breakage after updating to 4.4?

Karanbir Singh mail-lists at karan.org
Fri Sep 1 08:47:21 UTC 2006


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



More information about the CentOS mailing list