mock BZ #215321

Clark Williams williams at redhat.com
Tue Dec 19 16:59:22 UTC 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Seth,

This bug occurs on systems that don't have a /var/lib/rpm directory. The
failure occurs while installing the chroot. Here's a snippet of a log of
the failure:

<snip>
Transaction Summary
=============================================================================
Install    100 Package(s)
Update       0 Package(s)
Remove       0 Package(s)

Total download size: 103 M
warning: mktemp-1.5-23.2.2: Header V3 DSA signature: NOKEY, key ID 897da07a
warning: rpmdevtools-5.3-1.fc6: Header V3 DSA signature: NOKEY, key ID
1ac70ce6
error: can't create transaction lock on /var/lib/rpm/__db.000
<snip>

I'm having trouble seeing where this is a mock versus a yum bug. At the
point of the failure, we're running yum and we've passed in
- --installroot= on the command line. Not sure what else mock can do.

I did try adding an _rpmlock_path to the macros that are setup by mock,
but that was really grasping at straws, since I wasn't convinced that
the macros are actually used. In any case adding the _rpmlock_macro to
the rpmmacros file didn't effect the bug behavior.

Is there someplace in yum that you're setting up a transaction and are
defaulting the installroot to '/'?

Clark
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFFiBppHyuj/+TTEp0RAnRtAJ9hDO6CH3dPtecV/ZcD5TzIh7tkIACeONDX
HzP2dIuYYUeuVLMeCYabrsk=
=ZY3s
-----END PGP SIGNATURE-----




More information about the Fedora-buildsys-list mailing list