Re: DBus reconnect support (initial attempt)

2005-03-14 Thread Havoc Pennington
Hi, fwiw I basically agree with Colin's post, that I don't think apps will reliably handle a dbus restart correctly. I *strongly* agree with Colin's post for the session dbus. It's crazy to consider restarting that thing. For the system dbus, I can imagine that the number of apps involved is sma

Re: DBus reconnect support (initial attempt)

2005-03-14 Thread Tomislav Vujec
On Mon, 14 Mar 2005 18:22:26 -0500, Colin Walters wrote: > The system bus will be restarted on reboot, however often that happens. > For my personal system that's several times a day, as apm and acpi are > broken on my laptop. I think that the fact that acpi is broken on your laptop should be cons

Re: DBus reconnect support (initial attempt)

2005-03-14 Thread Colin Walters
[ CC'ing dbus list as this discussion is important for writers of D-BUS applications and for packagers ] On Mon, 2005-03-14 at 23:49 +0100, Tom Parker wrote: > I'd disagree. Yes, it'll be a pain in the ass to get right, and yup this > ain't exactly going to be the most tested code path. I'm cer

Re: DBus reconnect support (initial attempt)

2005-03-14 Thread Colin Walters
On Tue, 2005-03-15 at 00:27 +0200, Paul Ionescu wrote: > On Mon, 14 Mar 2005 14:00:50 -0500, Colin Walters wrote: > > > On Sun, 2005-03-13 at 23:29 +0100, Tom Parker wrote: > >> One of the things that NM has needed for a while is the ability to > >> properly handle Dbus disconnects, and to reconne

Re: DBus reconnect support (initial attempt)

2005-03-14 Thread Tom Parker
Colin Walters wrote: On Sun, 2005-03-13 at 23:29 +0100, Tom Parker wrote: One of the things that NM has needed for a while is the ability to properly handle Dbus disconnects, and to reconnect sanely. I don't think we should really try to support this. Restarting D-BUS should be viewed like tryin

Re: DBus reconnect support (initial attempt)

2005-03-14 Thread Paul Ionescu
On Mon, 14 Mar 2005 14:00:50 -0500, Colin Walters wrote: > On Sun, 2005-03-13 at 23:29 +0100, Tom Parker wrote: >> One of the things that NM has needed for a while is the ability to >> properly handle Dbus disconnects, and to reconnect sanely. > > I don't think we should really try to support thi

Re: DBus reconnect support (initial attempt)

2005-03-14 Thread Colin Walters
On Sun, 2005-03-13 at 23:29 +0100, Tom Parker wrote: > One of the things that NM has needed for a while is the ability to > properly handle Dbus disconnects, and to reconnect sanely. I don't think we should really try to support this. Restarting D-BUS should be viewed like trying to live-restar