bus config files problem

Thiago Macieira thiago at kde.org
Sun Apr 13 08:57:31 PDT 2008

ich wrote:
>I'm writing a system bus service for which i'd like root (or a config
>file owner) to be able to change which users could connect to it.
>So i have 3 problems:
>Where is the busconfig.dtd?
>http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd (found in
>other cfg files) does not even exist, and a google search proved

You can find it in the sources for the D-Bus daemon. It's in doc.

>Is there some api to programmatically change the files?

No. There's no need. It's just XML.

>Is there a way to get dbus to reread conf files without restarting?

Yes. There's a method called org.freedesktop.DBus.ReloadConfig in the 
org.freedesktop.DBus service.

>Changing policy from within a service seems reasonable.  And it would be
>pretty lame to have to tell users of a GUI frontend that they have to
>bust out a text editor, understand the dtd, edit it by hand, kill, then
>restart the dbus system bus and anything attached to it.

  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.freedesktop.org/archives/dbus/attachments/20080413/a030f3af/attachment.pgp 

More information about the dbus mailing list