Hide Forgot
Description of problem: # getenforce Enforcing # mock -r jenny shell INFO: mock.py version 1.0.7 starting... State Changed: init plugins State Changed: start State Changed: lock buildroot mock-chroot> dbus-launch pwd Failed to start message bus: Failed to open "/etc/security/contexts/dbus_contexts": No such file or directory EOF in dbus-launch reading address from bus daemon mock-chroot> you must disable selinux # getenforce Disabled # mock -r jenny shell INFO: mock.py version 1.0.7 starting... State Changed: init plugins State Changed: start State Changed: lock buildroot mock-chroot> dbus-launch pwd / mock-chroot> Version-Release number of selected component (if applicable): # rpm -qa | grep dbus dbus-1.1.2-15.el5_6 dbus-libs-1.1.2-15.el5_6 dbus-glib-devel-0.73-10.el5_5 dbus-glib-0.73-10.el5_5 dbus-devel-1.1.2-15.el5_6 dbus-libs-1.1.2-15.el5_6 dbus-glib-0.73-10.el5_5 dbus-devel-1.1.2-15.el5_6 dbus-python-0.70-9.el5_4 dbus-x11-1.1.2-15.el5_6 How reproducible: Steps to Reproduce: 1. see description 2. 3. Actual results: Expected results: Additional info:
It looks like in enforcing mode, dbus-launch expects the SELinux policy to provide /etc/security/contexts/dbus_contexts, but for whatever reason mock isn't installing policy into the chroot.
This bug/component is not included in scope for RHEL-5.11.0 which is the last RHEL5 minor release. This Bugzilla will soon be CLOSED as WONTFIX (at the end of RHEL5.11 development phase (Apr 22, 2014)). Please contact your account manager or support representative in case you need to escalate this bug.
I am okay with this.
Thanks for reply, closing WONTFIX for RHEL 5.