Hi, sys-apps/dbus-0.23.4 defines wrongly the path to it's proper contexts file related with SELinux: (...) <include ignore_missing="yes">system-local.conf</include> <include if_selinux_enabled="yes" selinux_root_relative="yes">contexts/dbus_contexts</include> </busconfig> (...) It should be simply: <include if_selinux_enabled="yes" selinux_root_relative="yes">dbus_contexts</include> Also, dbus_contexts must be installed. Currently, dbus_contexts is available within the NSA SELinux (upstream) policy tarball, in ./appconfig/dbus_contexts. Cheers, Lorenzo.
Desktops are not currently supported with SELinux. That being said, this is not likely the correct solution for this problem. The correct way for determining the directory that dbus_contexts exists in is by using the libselinux function selinux_contexts_path(). I have not looked at the dbus code, but from what is listed below, I doubt that the listed fix is anything but a workaround. Also, in the future, dbus_contexts would be supplied by the dbus policy ebuild, so the file should not be added to the dbus ebuild.
dbus can support SELinux but needs a $(use_enable selinux) or whatever USE flag you guys have. And testing from you guys.
added to dbus-0.60-r3 and hal-0.5.5.1-r3.