Version-Release number of selected component: setroubleshoot-server-3.3.11-1.fc25 Additional info: reporter: libreport-2.8.0 cmdline: /usr/bin/python3 -Es /usr/sbin/setroubleshootd -f '' executable: /usr/sbin/setroubleshootd kernel: 4.8.0-0.rc6.git0.1.fc25.x86_64 pkg_fingerprint: 4089 D8F2 FDB1 9C98 pkg_vendor: Fedora Project runlevel: N 5 type: Python3 uid: 994 Truncated backtrace: server.py:706:RunFaultServer:SystemError: <built-in function init> returned a result with an error set ValueError: unable to open /sys/fs/selinux/policy: Device or resource busy During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/sbin/setroubleshootd", line 107, in <module> RunFaultServer(timeout) File "/usr/lib/python3.5/site-packages/setroubleshoot/server.py", line 706, in RunFaultServer audit2why.init() SystemError: <built-in function init> returned a result with an error set Local variables in innermost frame: timeout: 10 Potential duplicate: bug 1360477
Created attachment 1204195 [details] File: backtrace
Created attachment 1204196 [details] File: environ
I am getting this on booting current rawhide with the following found via ausearch --raw | audit2why | grep setroubleshoot: type=AVC msg=audit(1481111084.432:190): avc: denied { open } for pid=1235 comm="rpm" path="/var/lib/rpm/Packages" dev="sdb2" ino=658403 scontext=system_u:system_r:setroubleshootd_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:var_lib_t:s0 tclass=file permissive=1 type=AVC msg=audit(1481111084.432:191): avc: denied { lock } for pid=1235 comm="rpm" path="/var/lib/rpm/Packages" dev="sdb2" ino=658403 scontext=system_u:system_r:setroubleshootd_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:var_lib_t:s0 tclass=file permissive=1 type=AVC msg=audit(1481111084.432:189): avc: denied { read } for pid=1235 comm="rpm" name="Packages" dev="sdb2" ino=658403 scontext=system_u:system_r:setroubleshootd_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:var_lib_t:s0 tclass=file permissive=1
restorecon -R -v /var/lib/rpm Should fix the issue. For some reason the /var/lib/rpm directory is mislabled. matchpathcon /var/lib/rpm /var/lib/rpm system_u:object_r:rpm_var_lib_t:s0