FS#10397 - Add reload capability to dbus
Attached to Project:
Arch Linux
Opened by Val L. (onestep_ua) - Monday, 12 May 2008, 15:12 GMT
Last edited by Jan de Groot (JGC) - Wednesday, 20 August 2008, 20:01 GMT
Opened by Val L. (onestep_ua) - Monday, 12 May 2008, 15:12 GMT
Last edited by Jan de Groot (JGC) - Wednesday, 20 August 2008, 20:01 GMT
|
Details
Description:
Sometimes it's needed to reload dbus configuration for the newly installed files to take effect (eg. PolicyKit/PackageKit stuff). I suggest to add a new function to dbus rc-script, which will ask dbus to reload its configuration. Additional info: * reload command: dbus-send --system --type=method_call --dest=org.freedesktop.DBus / org.freedesktop.DBus.ReloadConfig |
This task depends upon
Closed by Jan de Groot (JGC)
Wednesday, 20 August 2008, 20:01 GMT
Reason for closing: Implemented
Additional comments about closing: Implemented, though dbus 1.2.3 shouldn't need it anymore.
Wednesday, 20 August 2008, 20:01 GMT
Reason for closing: Implemented
Additional comments about closing: Implemented, though dbus 1.2.3 shouldn't need it anymore.
[onestep@onestep-box ~]$ sudo /usr/sbin/packagekitd
Error trying to start: Startup failed due to security policies on this machine.
This can happen for two reasons:
* The correct user is not launching the executable (usually root)
* The org.freedesktop.PackageKit.conf file is not installed in the system /etc/dbus-1/system.d directory
[onestep@onestep-box ~]$ ls /etc/dbus-1/system.d/org.freedesktop.PackageKit.conf
/etc/dbus-1/system.d/org.freedesktop.PackageKit.conf
[onestep@onestep-box ~]$ dbus-send --system --type=method_call --dest=org.freedesktop.DBus / org.freedesktop.DBus.ReloadConfig
[onestep@onestep-box ~]$ sudo /usr/sbin/packagekitd
Anyway, I think it's not too hard to add an additional function to initscript. I can made a patch, if you like. :)