[PATCH] do not call _dbus_warn_check_failed on checks
Frederic Crozat
fcrozat at mandriva.com
Tue Nov 14 02:51:23 PST 2006
Le mardi 14 novembre 2006 à 10:48 +0100, Thiago Macieira a écrit :
> I filed a bug report at the Mandriva Bugzilla for restarting the system
> daemon every time Avahi is upgraded, even if no configuration changed.
> The bug report got closed.
Because there is no way to know if configuration was changed or not. And
moreover, we are not interested in restart or reload system bus. What we
(distributions) just want is to say to dbus "hey, some config files
changed, take care of that". Usually, a reload is only needed but dbus
manpage says explicitly it might not work and restart should be done.
Since there is no way to know if reload will be sufficient, the only way
for a packager is to restart dbus (and don't tell me rebooting is an
option, like I read from other people, I don't want to morph Linux into
Windows because of that).
And then, you end in the default behaviour of libdbus which is exiting
apps by default.
--
Frederic Crozat <fcrozat at mandriva.com>
Mandriva
More information about the dbus
mailing list