After installing the chroot, there's a bunch of these errors:
rpmdb: Build signature doesn't match environment
error: db3 error(-30971) from dbenv->open: DB_VERSION_MISMATCH: Database environment version mismatch
error: cannot open Packages database in /var/lib/rpm
In the install method of creator.py, you probably want to do this at the end:
for path in glob.glob('%s/var/lib/rpm/__db*' % self._instroot):
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux major release. Product Management has requested further
review of this request by Red Hat Engineering, for potential inclusion in a Red
Hat Enterprise Linux Major release. This request is not yet committed for
Workaround could be to put this in RHEL6 livecd kickstart %post:
# cleanup rpmdb to allow non-matching host and chroot RPM versions
rm -f /var/lib/rpm/__db*
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated
in the current release, Red Hat is unfortunately unable to
address this request at this time. Red Hat invites you to
ask your support representative to propose this request, if
appropriate and relevant, in the next release of Red Hat
Enterprise Linux. If you would like it considered as an
exception in the current release, please ask your support
Are these errors from livecd-creator? Or after booting the image? We are already calling _cleanupRpmdbLocks at the end of ayum.runInstall() so there should not be any of these files on the target image. I checked a F15 minimal iso I just created and /var/lib/rpm/ doesn't have any __db* files in it.
We can't reproduce this problem, closing it out.