Skip to contentSkip to conversation

DBus

DISCUSSION Ralf Spenneberg 1 participant 1 message Aug 29, 2016 SELinux security module

lore
Share & tools
lore
#0 lore raw

Hi,
we have played around with dbus and SELinux on embedded platforms. The only available documentation appears to be the dbus manpage. Unfortunately the example concerning the associate given in this manpage is not correct:
<associate own="org.freedesktop.Foobar" context="foo_t"/> This should associate the ownership of the dbus service org.freedesktop.Foobar to the selinux domain foo_t.
Actually you have to specify the full security context:
<associate own="org.freedesktop.Foobar" context="system_u:object_r:foo_t:s0"/>

I just thought that I mention it on this mailing list as well. A bug has been posted at
https://bugs.freedesktop.org/show_bug.cgi?id=97528

Kind regards,
Ralf

Signature · 3 lines
OpenSource Training Ralf Spenneberg     http://www.os-t.de
Am Bahnhof 3-5                          48565 Steinfurt         Germany
Fon: +49(0)2552 638 755                 Fax: +49(0)2552 638 757