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

Ralph Angenendt ra+centos at br-online.de
Wed Sep 6 08:33:20 UTC 2006

David Hrbáč wrote:
> Johnny Hughes napsal(a):
>> The fix is to define _rpmlock_path inside the chroot as the user who is
>> installing the software (per the above link).
> No, I guess, this is not the issue. Setting %_rpmlock_path didn't help.
> As I have written, upgrading to rpm-4.3.3-18 within CentOS 4.3 doesn't
> block 'mocking'.

What works for me (Karanbir Singh found this) is adding 

os.path.join(self.rootdir, 'var/lock/rpm'),

around line 530 of /usr/bin/mock - works for me with 0.4.x, but
supposedly also works with 0.6.x.

You find the lines by searching for "# make chroot dir".


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/20060906/e99f803c/attachment.sig>

More information about the CentOS mailing list