dbus upgrade issue
cardoe at gentoo.org
Fri Dec 15 20:17:23 PST 2006
Ray Strode wrote:
> Hi guys,
> So Fedora Core 6 users have been hitting a really nasty bug where
> their sessions die while they're in the middle of getting updates.
> See: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=218207
> It turns out that the session dbus-daemon is calling exit() after
> reloading its config following a hangup signal that's generated during
> the upgrade (because of an selinux policy update). The session daemon
> is calling exit(1) because a new, incompatible session.conf is getting
> installed to /etc/dbus-1. The new session.conf adds a
> <standard_session_servicedirs /> tag that the old, running session
> daemon doesn't understand.
> The daemon should probably just stick with the old, already loaded
> config in the case the new config doesn't work. I've attached a patch
> that does that.
I disagree with this. It's will result in unexpected behavior because
other settings from other files will be for the new version. What you
need to be doing is RESTARTing D-Bus... not just reloading the configs.
You can't rely on the fact that all daemons will happily reload configs,
you do need to restart the daemons sometimes to run the new versions. In
fact, reloading the configs does not fix the previously addressed
security issue in D-Bus. You will physically need to restart the daemon,
so basically Fedora is doing the wrong thing here.
Doug Goldstein <cardoe at gentoo.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 252 bytes
Desc: OpenPGP digital signature
Url : http://lists.freedesktop.org/archives/dbus/attachments/20061215/335bd112/signature.pgp
More information about the dbus