Red Hat Bugzilla – Bug 1012113
having lvm2 python bindings installed breaks mock builds
Last modified: 2014-01-19 22:03:04 EST
Description of problem:
If lvm2-python-libs is installed, yum will load the python module and initialize the lvm2 library. On initialization /etc/lvm/lvm.conf is read and, with the default configuration, umask is changed from 022 to 077. Having umask set to 077 while yum is running breaks mock builds with reported permission errors on the created RPM database files when attempting to run repoquery.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. install lvm2-python-libs
2. attempt a mock build of any srpm as a non-root user
Fix committed to upstream:
lvm2-2.02.98-14.fc19 has been submitted as an update for Fedora 19.
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing lvm2-2.02.98-14.fc19'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
lvm2-2.02.98-14.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.