Description of problem: selinux prevent debug python application under eclipse 3.2. I get exception: File "/usr/share/system-config-soundcard/soundcard.py", line 99, in __init__ self.soundcardBackend = soundcardBackend.soundcardBackend() File "/usr/share/system-config-soundcard/soundcardBackend.py", line 454, in __init__ self.detectCards() File "/usr/share/system-config-soundcard/soundcardBackend.py", line 468, in detectCards self.cardArray = self.mergeCards(self.probeCards(DETECTION_HAL),\ File "/usr/share/system-config-soundcard/soundcardBackend.py", line 501, in probeCards default_device, card_list, card_max) File "/usr/share/system-config-soundcard/soundcardBackendHal.py", line 191, in probeCards udiList = self.halManager.FindDeviceByCapability("alsa") File "/usr/lib/python2.5/site-packages/dbus/proxies.py", line 63, in __call__ return self._proxy_method(*args, **keywords) File "/usr/lib/python2.5/site-packages/dbus/proxies.py", line 135, in __call__ **keywords) File "/usr/lib/python2.5/site-packages/dbus/connection.py", line 598, in call_blocking message, timeout) dbus.exceptions.DBusException: org.freedesktop.DBus.Error.AccessDenied: An SELinux policy prevents this sender from sending this message to this recipient (rejected message had interface "org.freedesktop.Hal.Manager" member "FindDeviceByCapability" error name "(unset)" destination ":1.5") Version-Release number of selected component (if applicable): last How reproducible: try to debug under exlipse system-config-soundcard component. easy to reproduce with firstboot.rpm debugging. Actual results: exception Expected results: run without exception, similar as run without debugger
What avc messages are you seeing?
Oct 2 15:48:30 axet dbus: Can't send to audit system: USER_AVC avc: received setenforce notice (enforcing=1) : exe="/bin/dbus-daemon" (sauid=500, hostname=?, addr=?, terminal=?)
Look in /var/log/audit/audit.log
type=USER_AVC msg=audit(1191454289.412:96): user pid=1773 uid=81 auid=4294967295 subj=system_u:system_r:system_dbusd_t:s0 msg='avc: denied { send_msg } for msgtype=method_call interface=org.freedesktop.DBus.Introspectable member=Introspect dest=:1.5 spid=10459 tpid=2523 scontext=user_u:system_r:java_t:s0 tcontext=system_u:system_r:hald_t:s0 tclass=dbus : exe="/bin/dbus-daemon" (sauid=81, hostname=?, addr=?, terminal=?)' type=USER_AVC msg=audit(1191454289.418:97): user pid=1773 uid=81 auid=4294967295 subj=system_u:system_r:system_dbusd_t:s0 msg='avc: denied { send_msg } for msgtype=method_call interface=org.freedesktop.Hal.Manager member=FindDeviceByCapability dest=:1.5 spid=10459 tpid=2523 scontext=user_u:system_r:java_t:s0 tcontext=system_u:system_r:hald_t:s0 tclass=dbus : exe="/bin/dbus-daemon" (sauid=81, hostname=?, addr=?, terminal=?)'
Fixed in selinux-policy-2.6.4-49.fc7.src.rpm
Bulk closing a old selinux policy bugs that were in the modified state. If the bug is still not fixed. Please reopen.