[patch] automatically reload config
Colin Walters
walters at verbum.org
Tue Jun 14 14:21:18 PDT 2005
On Tue, 2005-06-14 at 17:09 -0400, David Zeuthen wrote:
> Hey,
>
> here is a patch for automatically reloading the configuration (similar
> to sending the HUP signal to the message bus process) whenever files are
> added or removed the the included policy configuration file directories
> (for the system bus this is typically /etc/dbus-1/system.d). This should
> easy deployment of (system-wide) D-BUS services as distros don't need to
> do (distro-specific) 'kill -HUP `cat /var/run/messagebus.pid`' in e.g.
> %post of a RPM.
Perhaps an alternative is a new bus method, like
org.freedesktop.DBus.Bus.ReloadConfig? Then the %post just needs
dbus-send --system ...
The implementation should probably check the remote end has uid 0 at
least.
-------------- 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/20050614/a7e85bb0/attachment.pgp
More information about the dbus
mailing list