[maemo-developers] Restarting the D-Bus system bus

From: Ross Burton ross at burtonini.com
Date: Wed Oct 31 19:39:50 EET 2007
On Wed, 2007-10-31 at 17:44 +0100, Ludovic Courtès wrote:
> Why does restarting the system bus (as in "/etc/init.d/dbus restart")
> reboot the device (on an N770 with Gregale)?

I'm guessing because the system bus dying is a fatal condition.

> I noticed it while porting the `avahi-daemon' package [0] whose postinst
> script normally restarts the system bus (for reasons that escape me).

It only needs to reload the bus, which (IIRC) can be achieved by sending
SIGUSR1 or passing "reload" to the init script.

Ross
-- 
Ross Burton                                 mail: ross at burtonini.com
                                          jabber: ross at burtonini.com
                                     www: http://www.burtonini.com./
 PGP Fingerprint: 1A21 F5B0 D8D0 CFE3 81D4 E25A 2D09 E447 D0B4 33DF




More information about the maemo-developers mailing list