From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QvwNi-0007B8-Kf for garchives@archives.gentoo.org; Tue, 23 Aug 2011 19:11:26 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D86E121C28C; Tue, 23 Aug 2011 19:10:52 +0000 (UTC) Received: from mail-fx0-f53.google.com (mail-fx0-f53.google.com [209.85.161.53]) by pigeon.gentoo.org (Postfix) with ESMTP id CFF7521C28B for ; Tue, 23 Aug 2011 19:08:37 +0000 (UTC) Received: by fxd23 with SMTP id 23so559096fxd.40 for ; Tue, 23 Aug 2011 12:08:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=Pgzj4esyjrnmLJ9mMA4tbl9pyFMGZlaPvbWj2HFR0NM=; b=l7+0D561m2xR1guKBSPnpN3H3JpVy1HwO3SGA0NmDdEsKcE5R04RnlAkussL6WFfVV 5gKK1ykL7mg1LGPxzLwfGGDWvc8i4qSHQONB/fS9AKrCIjuiNDR2tGPs5P3Cfj4IxotN 9JRWf89sf0NzVXJG3yXs48QhRmgB9zXXAyOvo= Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.223.88.193 with SMTP id b1mr990920fam.40.1314126516930; Tue, 23 Aug 2011 12:08:36 -0700 (PDT) Received: by 10.223.105.145 with HTTP; Tue, 23 Aug 2011 12:08:36 -0700 (PDT) In-Reply-To: References: Date: Tue, 23 Aug 2011 15:08:36 -0400 Message-ID: Subject: Re: DBUS [was] Re: [gentoo-user] systemd From: Michael Mol To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: b6d3b601beb449b3fd1ec3a522111c12 On Tue, Aug 23, 2011 at 2:57 PM, Canek Pel=C3=A1ez Vald=C3=A9s wrote: > On Tue, Aug 23, 2011 at 2:35 PM, Michael Mol wrote: >> On Tue, Aug 23, 2011 at 1:49 PM, Canek Pel=C3=A1ez Vald=C3=A9s wrote: >>> On Tue, Aug 23, 2011 at 1:17 PM, Stroller >>>> Reading that blog entry I found discouraging the idea that dbus might = be required on my servers in the future, if systemd becomes popular with di= stros. >>> >>> I don't see the problem with D-Bus. It's small (the only hard >>> dependency it has is an XML parser), and it provides the Linux/UNIX >>> (de facto) standard interprocess communication system. >> >> My chief gripe with D-Bus is that I've had X sessions disappear out >> from under me as a consequence of the daemon being restarted. Having a >> single point of failure like that is very, very scary. Otherwise, I >> like what it tries to do. > > Restarting or dying? If it's dying, it's a bug and should be reported. > I haven't had a crash in dbus in years, and I think pretty much > everyone agrees it's pretty stable nowadays. It even tries to handle > gracefully thins like out-of-memory errors and things like that. I have no doubt a stellar amount of work has been done to gracefully handle problem scenarios. > > If it's restarting, why on earth will someone restart the system bus > with active X sessions? If the dbus daemon is restarted, it has to > kick all the apps from the bus, including the session manager. Because I generally update my desktop system while running X, and on at least two occasions, an update killed my X session by restarting DBUS on me On the other hand, sshd handles restarts without killing active sessions. These are solvable problems which DBUS hasn't solved yet for itself. High-availability is one of the best-researched fields in computer science, but DBUS doesn't handle that case, yet. --=20 :wq