Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753783AbbD2QZR (ORCPT ); Wed, 29 Apr 2015 12:25:17 -0400 Received: from mondschein.lichtvoll.de ([194.150.191.11]:46131 "EHLO mail.lichtvoll.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753555AbbD2QZO convert rfc822-to-8bit (ORCPT ); Wed, 29 Apr 2015 12:25:14 -0400 From: Martin Steigerwald To: "Theodore Ts'o" Cc: Harald Hoyer , Richard Weinberger , "linux-kernel@vger.kernel.org" Subject: Re: [GIT PULL] kdbus for 4.1-rc1 Date: Wed, 29 Apr 2015 18:25:12 +0200 Message-ID: <26519423.HuKjb3Mi85@merkaba> User-Agent: KMail/4.14.7 (Linux/4.0.0-tp520-btrfs-trim+; KDE/4.14.2; x86_64; git-38b5d90; 2015-04-16) In-Reply-To: <20150429150341.GA12374@thunk.org> References: <21824.5086.446831.189915@quad.stoffel.home> <5540F081.9090005@redhat.com> <20150429150341.GA12374@thunk.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8BIT Content-Type: text/plain; charset="iso-8859-1" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2722 Lines: 58 Am Mittwoch, 29. April 2015, 11:03:41 schrieb Theodore Ts'o: > On Wed, Apr 29, 2015 at 04:53:53PM +0200, Harald Hoyer wrote: > > Sure, I can write one binary to rule them all, pull out all the code > > from all tools I need, but for me an IPC mechanism sounds a lot > > better. And it should be _one_ common IPC mechanism and not a > > plethora of them. It should feel like an operating system and not > > like a bunch of thrown together software, which is glued together > > with some magic shell scripts. > > And so requiring wireshark (and X?) in initramfs to debug problems > once dbus is introduced is better? > > I would think shell scripts are *easier* to debug when things go > wrong, especially in a minimal environment such as an initial ram > disk. Having had to debug problems in a distro initramfs when trying > to help a customer bring up a FC boot disk long ago in another life, > I'm certain I would rather debug problems while on site at a > classified machine room[1] using shell scripts, and trying to debug > dbus is something that would be infinitely worse. Later in boot process I have seen some debugging issues with a systemd governed userspace: Bug 1213778 - drops into emergency mode without any error message if it cannot find a filesystem in /etc/fstab https://bugzilla.redhat.com/show_bug.cgi?id=1213778 Bug 1213781 - does not start ssh service if a filesystem in /etc/fstab cannot be mounted https://bugzilla.redhat.com/show_bug.cgi?id=1213781 With shell scripts I had error messages for these, here I had to browse the output of journalctl -xb to find out. And then what do I do if dbus communication is not working for some reason? Will I then be able to use journalctl at all? Not that proper error reporting can?t be added in systemd and the dependency handling can?t be fixed towards some more sanity like for example "no /boot mount, no worries, I still start that ssh service for you", but currently for me this is a clear and heavy regression when I compare this with sysvinit boot behavior. I do fix things when being dropped to initramfs shell, I added some script snippet for supporting BTRFS RAID 1 while it wasn?t yet supported in Debian (dunno if it is for booting in Jessie, but as my bug reports have not been closed yet, maybe bot), I still want to be able to do these kinds of things. Ciao, -- Martin 'Helios' Steigerwald - http://www.Lichtvoll.de GPG: 03B0 0D6C 0040 0710 4AFA B82F 991B EAAC A599 84C7 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/