Red Hat Bugzilla – Bug 182748
SELinux prevents dbus from starting
Last modified: 2007-11-30 17:11:25 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20060212 Epiphany/1.9
Description of problem:
DBUS fails to come up during boot and networkmanager tells me the following:
Feb 24 15:17:07 price NetworkManager: <WARNING> nm_dbus_get_networks_cb (): nm-dbus-nmi.c:527 (nm_dbus_get_networks_cb): error received: org.freedesktop.DBus.Error.AccessDenied - An SELinux policy prevents this sender from sending this message to this recipient (rejected message had interface "org.freedesktop.NetworkManagerInfo" member "getNetworks" error name "(unset)" destination "org.freedesktop.NetworkManagerInfo").
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Enable dbus and SELinux
Actual Results: 2. obtain the cryptic message above
Expected Results: 2. Running DBUS.
Running Development as of 24-02-06 on Athlon-XP 1600+
*** Bug 182747 has been marked as a duplicate of this bug. ***
What avc messages are you seeing?
I'm not seeing any avc messages for some reason - all I get is the message
above. I tested with and without SELinux and without dbus starts. The filesystem
semodule -b /usr/share/selinux/targeted/enableaudit.pp
Will turn on all auditing messages.
semodule -b /usr/share/selinux/targeted/base.pp
Turns them back off.
What version of dbus are you running?
I have not seen this here. But maybe I am not running the same version.
Have you seen this?
Attached is everything in the audit.log that pretains to dbus.
Created attachment 125186 [details]
grep dbus /var/log/audit/audit.log
Works for me. I have seen issues with NetworkManager but D-Bus starts up fine.
David can you confirm that D-Bus does not run? do a 'ps -aux | grep dbus'.
Also a more complete audit log would be useful.
Okay now it's just taunting me, dbus is running, the problem must thus be
elsewhere. Why does the boot sequence then tell me that dbus fails I wonder.
dbus 1778 0.0 0.1 13396 1244 ? Ssl 17:18 0:00 dbus-daemon
david 2044 0.0 0.0 4052 676 ? Ss 17:18 0:00
/usr/bin/ssh-agent /usr/bin/dbus-launch --exit-with-session /etc/X11/xinit/Xclients
david 2047 0.0 0.0 2852 516 ? S 17:18 0:00
/usr/bin/dbus-launch --exit-with-session /etc/X11/xinit/Xclients
david 2048 0.0 0.1 13260 1380 ? Ssl 17:18 0:00 dbus-daemon
--fork --print-pid 8 --print-address 6 --session
Created attachment 125188 [details]
after todays update this magically went away