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

Johnny Hughes mailing-lists at hughesjr.com
Tue Sep 5 14:06:21 UTC 2006


On Tue, 2006-09-05 at 15:43 +0200, David Hrbáč wrote:
> Konstantin Klimchev napsal(a):
> > 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
> > 
> 
> Well, probably something different. I took old virtual machine in
> VMWare, running 2.6.9-34EL.
> 
> 1. installed mock-0.6.4-1
> 2. run mock pam...src.rpm - OK
> 3. yum update rpm - updated to 4.3.3-18
> 4. run mock pam...src.rpm - OK
> 5. yum update yum - updated to 2.4.3-1
> 6. run mock pam...src.rpm - OK
> 7. yum update sqlite - updated to 3.3.3-1.2
> 8. run mock pam...src.rpm - not working anymore, because yum is not working
> 9. rpm -Uhv python-sqlite-1.1.7-1.2
> 10. run mock pam...src.rpm - OK
> 11. yum -y update, no reboot to stay on older kernel
> 12. run mock pam...src.rpm - not working - "can't create transaction
> lock on /var/lib/mock/centos-4-i386/root/var/lock/rpm/transaction" and
> "Could not find useradd in chroot, maybe the install failed?"
> 13. reboot, run mock - the very same
> 
> So I dare to say it has nothing to do with
> mock/rpm/yum/sqlite/python-sqlite...
> 

http://rhn.redhat.com/errata/RHBA-2006-0440.html

The fix is to define _rpmlock_path inside the chroot as the user who is
installing the software (per the above link).

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.centos.org/pipermail/centos/attachments/20060905/533764b2/attachment.sig>


More information about the CentOS mailing list