summaryrefslogtreecommitdiff
path: root/Utils
diff options
context:
space:
mode:
authorCarlos Garnacho <carlosg@gnome.org>2007-12-13 19:58:17 +0100
committerCarlos Garnacho <carlosg@gnome.org>2007-12-13 19:58:17 +0100
commitbe3f981f1573df6b4e83a33eb3fd8b8dfb89fc36 (patch)
treedaf5b402a1afd74a831e6749154500543df0e42f /Utils
parentc75d2122650f20bbd4a9c1fa634ba55f19cae18c (diff)
Make s-t-b use DBus system bus activation. Distros shouldn't need a initscript anymore.
* configure.in: bumped DBus requirement to 1.1.2, install service files in system-services directory. * services/*.in: * org.freedesktop.SystemToolsBackends.service.in: Tell them to run with User=root. * system-tools-backends.conf.in: Removed, autofoo doesn't need to modify anything here anymore, new file is * system-tools-backends.conf: Added, contains new DBus rules. Basically, users can only access the dispatcher, only the user running the dispatcher (root) will be able to communicate with the backend modules. This is done so the dispatcher can check user permissions, etc... * Makefile.am: install new configuration file * dispatcher/dispatcher.c: do not spawn any private DBus, from now on, all communications will happen in the system bus, being the services spawned when they're required. * Utils/DBus.pm (get_bus): Make backend modules use the system bus.
Diffstat (limited to 'Utils')
-rw-r--r--Utils/DBus.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Utils/DBus.pm b/Utils/DBus.pm
index 5ea50f0..42d02fd 100644
--- a/Utils/DBus.pm
+++ b/Utils/DBus.pm
@@ -28,7 +28,7 @@ use Net::DBus::Reactor;
sub get_bus
{
- return Net::DBus->session;
+ return Net::DBus->system;
}
sub run