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

From: Frédéric Crozat fred at crozat.net
Date: Thu Nov 1 09:19:20 EET 2007
Le mercredi 31 octobre 2007 à 20:18 +0100, Loïc Minier a écrit :
> On Wed, Oct 31, 2007, Frederic Crozat wrote:
> > > It only needs to reload the bus, which (IIRC) can be achieved by sending
> > > SIGUSR1 or passing "reload" to the init script.
> > I'm not sure it is even needed : dbus supports dnotify (and inotify the
> > day Havoc will review my pending patch which is waiting for one year on
> > dbus mailing list) to reload additional config files dropped in dbus
> > configuration directory.
> 
>  Isn't it a good idea to restart the bus when you upgrade dbus?

When you upgrade D-Buss itself, yes, it is a requirement. But for
configuration file, it isn't needed. And the main problem, when
restarting dbus is that many clients don't handle D-Bus system bus
restart (like avahi) and will exit directly, causing a nice chain
reaction. This is why more and more distributions are asking people to
restart their system after upgrading D-Bus.

-- 
Frédéric Crozat 

More information about the maemo-developers mailing list