Description of problem:
Any crash for processes running under mock is not caught. Despite it has all the rpmdb and debuginfos installed in that chroot.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
mock -r fedora-14-x86_64 --shell
mock-chroot> ulimit -c unlimited; sleep 1h &
mock-chroot> kill -SEGV 20269
abrtd: Executable '/var/lib/mock/fedora-14-x86_64/root/bin/sleep' doesn't belong to any package
Used /var/lib/mock/fedora-14-x86_64/root/var/lib/rpm database.
mock-chroot> rpm -qf `which sleep`
The root path can be obtained by reading the /proc/pid/root symlink.
Could you give it a higher priority?
BTW, it would be nice to integrate ABRT with koji - to catch crashes in the build roots and attach the crash analysis to the failed build task.
Fixed in git:
Author: Denys Vlasenko <email@example.com>
Date: Wed Dec 21 11:56:13 2011 +0100
abrt-action-save-package-data: query chrooted RPM db if non-chrooted one returns negative result
This patch uses "rootdir" element in problem dir.
If executable can't be identified, we check whether
its name starts with rootdir prefix. If it does,
we retry RPM query after we do rpmtsSetRootDir(rootdir).
abrt-2.0.9-1.fc17, libreport-2.0.10-1.fc17 has been submitted as an update for Fedora 17.
Package abrt-2.0.9-1.fc17, libreport-2.0.10-1.fc17:
* should fix your issue,
* was pushed to the Fedora 17 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing abrt-2.0.9-1.fc17 libreport-2.0.10-1.fc17'
as soon as you are able to, then reboot.
Please go to the following url:
then log in and leave karma (feedback).
abrt-2.0.10-1.fc17,libreport-2.0.10-2.fc17 has been submitted as an update for Fedora 17.
abrt-2.0.10-1.fc17, libreport-2.0.10-2.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report.