Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751882AbbD2S2z (ORCPT ); Wed, 29 Apr 2015 14:28:55 -0400 Received: from mondschein.lichtvoll.de ([194.150.191.11]:40002 "EHLO mail.lichtvoll.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751265AbbD2S2v convert rfc822-to-8bit (ORCPT ); Wed, 29 Apr 2015 14:28:51 -0400 From: Martin Steigerwald To: Harald Hoyer Cc: Austin S Hemmelgarn , Richard Weinberger , "linux-kernel@vger.kernel.org" Subject: Re: [GIT PULL] kdbus for 4.1-rc1 Date: Wed, 29 Apr 2015 20:28:49 +0200 Message-ID: <2782567.C7d7juv8I2@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: <5540F720.4030205@redhat.com> References: <20150423163616.GA10874@kroah.com> <5540F627.8040207@gmail.com> <5540F720.4030205@redhat.com> 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: 2571 Lines: 71 Am Mittwoch, 29. April 2015, 17:22:08 schrieb Harald Hoyer: > On 29.04.2015 17:17, Austin S Hemmelgarn wrote: > > On 2015-04-29 11:07, Harald Hoyer wrote: > >> Most of the stuff does not work without udev and something like > >> systemd.> > > That's funny, apparently the initramfs images I've been using for > > multiple months now on server systems at work which don't have > > systemd, udev, or dbus, and do LVM/RAID assembly, network > > configuration, crypto devices, multipath, many different filesystems, > > and a number of other oddball configurations due to the insanity that > > is the software I have to deal with from our company, don't work. I > > wonder how my systems are booting successfully 100% of the time then? > Then you should probably open source your initramfs, so we can all > benefit from it and use it for all distributions. Do you really think that the tooling will make that much of a difference? I think there will always be cases where a initramfs will not work until adapted to it. And then its nice, to be able to do things like this: merkaba:~> cat /etc/initramfs-tools/scripts/local-top/btrfs #!/bin/sh PREREQ="lvm" prereqs() { echo $PREREQ } case $1 in prereqs) prereqs exit 0; esac . /scripts/functions log_begin_msg "Initializing BTRFS RAID-1." modprobe btrfs vgchange -ay btrfs device scan log_end_msg How would I add support for some configuration that a systemd or purely dracut + udev based initramfs does not support *yet*, on my own? Yes, one can argue, why doesn?t Debian support it already, but heck, I can do it myself and report a bug about it, without having to fire up a C compiler in order to fix things. I may be able to do this myself, but at a much higher cost in time. Above thing works so long already that I even often forgot about it. That said, if I still get a chance to execute a script at some time, a dracut based initramfs may just be totally fine with it, but I want this possibility and a shell to fix things up myself it they go wrong. And while I do not get the need for having systemd in the initramfs at all, I might be fine with it, if I can fix things up myself in case of problems. 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/