Bug 973617
Summary: | [abrt] mock-1.1.32-1.fc19: backend.py:540:_nuke_rpm_db:OSError: [Errno 13] Permission denied: '/var/lib/mock/fedora-rawhide-x86_64/root/var/lib/rpm/__db.001' | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Björn 'besser82' Esser <besser82> | ||||||||||||
Component: | mock | Assignee: | Clark Williams <williams> | ||||||||||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||||||
Severity: | unspecified | Docs Contact: | |||||||||||||
Priority: | unspecified | ||||||||||||||
Version: | 19 | CC: | atu, besser82, loganjerry, mebrown, nphilipp, williams | ||||||||||||
Target Milestone: | --- | ||||||||||||||
Target Release: | --- | ||||||||||||||
Hardware: | x86_64 | ||||||||||||||
OS: | Unspecified | ||||||||||||||
Whiteboard: | abrt_hash:13974a5ff6f6343b772e19807df185b4c72c9984 | ||||||||||||||
Fixed In Version: | mock-1.1.38-1.el6 | Doc Type: | Bug Fix | ||||||||||||
Doc Text: | Story Points: | --- | |||||||||||||
Clone Of: | Environment: | ||||||||||||||
Last Closed: | 2013-11-10 06:37:22 UTC | Type: | --- | ||||||||||||
Regression: | --- | Mount Type: | --- | ||||||||||||
Documentation: | --- | CRM: | |||||||||||||
Verified Versions: | Category: | --- | |||||||||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||||||||
Embargoed: | |||||||||||||||
Attachments: |
|
Description
Björn 'besser82' Esser
2013-06-12 11:08:16 UTC
Created attachment 760093 [details]
File: backtrace
Created attachment 760094 [details]
File: core_backtrace
Created attachment 760095 [details]
File: environ
Almost the same crash for me while building frama-c, and I also saw a texlive-luatex-bin crash immediately beforehand. For me, it is __db.002 where permission is denied. I see this: # ls -al /var/lib/mock/fedora-rawhide-x86_64/root/var/lib/rpm total 39688 drwxr-xr-x. 2 root root 4096 Jun 21 10:37 . drwxr-xr-x. 14 root root 4096 Jun 21 10:39 .. -rw-r--r--. 1 root mock 2519040 Jun 21 10:40 Basenames -rw-r--r--. 1 root mock 8192 Jun 21 10:39 Conflictname -rw-r--r--. 1 root root 352256 Jun 21 10:41 __db.001 -rw-r--r--. 1 root root 98304 Jun 21 10:41 __db.002 -rw-r--r--. 1 root root 1318912 Jun 21 10:41 __db.003 -rw-r--r--. 1 root mock 458752 Jun 21 10:40 Dirnames -rw-r--r--. 1 root mock 12288 Jun 21 10:40 Group -rw-r--r--. 1 root mock 16384 Jun 21 10:40 Installtid -rw-r--r--. 1 root mock 28672 Jun 21 10:40 Name -rw-r--r--. 1 root mock 40960 Jun 21 10:40 Obsoletename -rw-r--r--. 1 root mock 35278848 Jun 21 10:40 Packages -rw-r--r--. 1 root mock 311296 Jun 21 10:40 Providename -rw-r--r--. 1 root mock 208896 Jun 21 10:40 Requirename -rw-r--r--. 1 root mock 0 Jun 21 10:35 .rpm.lock -rw-r--r--. 1 root mock 45056 Jun 21 10:40 Sha1header -rw-r--r--. 1 root mock 36864 Jun 21 10:40 Sigmd5 -rw-r--r--. 1 root mock 8192 Jun 21 10:39 Triggername Note that the __db.* files are owned by root:root, not root:mock. The texlive-luatex-bin crash does not appear in any of the mock logs. See bug 976863 for the cause of the luatex crash. Created attachment 815874 [details]
raise privileges before removing rpm db files from chroot
Not sure if you're still seeing this problem, but here's a patch to raise privileges before removing the chroot RPM db files. Can you try this and let me know the results?
Created attachment 816877 [details]
raise privileges before removing rpm db files from chroot
Grrrr. That will teach me to post a patch before running it through my test suite.
Fixed stupid typo.
mock-1.1.34-1.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/mock-1.1.34-1.fc18 mock-1.1.34-1.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/mock-1.1.34-1.el6 mock-1.1.34-1.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/mock-1.1.34-1.fc20 mock-1.1.34-1.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/mock-1.1.34-1.fc19 Package mock-1.1.34-1.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing mock-1.1.34-1.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-20329/mock-1.1.34-1.fc20 then log in and leave karma (feedback). mock-1.1.35-1.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/mock-1.1.35-1.fc19 mock-1.1.35-1.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/mock-1.1.35-1.fc18 mock-1.1.35-1.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/mock-1.1.35-1.el6 mock-1.1.35-1.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/mock-1.1.35-1.fc20 mock-1.1.35-1.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report. mock-1.1.36-1.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/mock-1.1.36-1.fc19 mock-1.1.36-1.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/mock-1.1.36-1.fc20 mock-1.1.36-1.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/mock-1.1.36-1.el6 mock-1.1.36-1.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report. mock-1.1.37-1.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/mock-1.1.37-1.fc19 mock-1.1.37-1.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/mock-1.1.37-1.fc20 mock-1.1.37-1.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/mock-1.1.37-1.el6 mock-1.1.37-2.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/mock-1.1.37-2.fc20 mock-1.1.37-2.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/mock-1.1.37-2.fc19 mock-1.1.37-2.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/mock-1.1.37-2.el6 mock-1.1.38-1.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/mock-1.1.38-1.fc19 mock-1.1.38-1.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/mock-1.1.38-1.el6 mock-1.1.38-1.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/mock-1.1.38-1.fc20 mock-1.1.38-1.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report. mock-1.1.38-1.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report. mock-1.1.38-1.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report. With the recent version in fc19 this problem seems to be fixed. |