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 1RiSi3-00009L-W9 for garchives@archives.gentoo.org; Wed, 04 Jan 2012 15:25:00 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AD81F21C024; Wed, 4 Jan 2012 15:24:50 +0000 (UTC) Received: from mail-ey0-f181.google.com (mail-ey0-f181.google.com [209.85.215.181]) by pigeon.gentoo.org (Postfix) with ESMTP id 3B6BA21C01F for ; Wed, 4 Jan 2012 15:24:22 +0000 (UTC) Received: by eaai1 with SMTP id i1so12094457eaa.40 for ; Wed, 04 Jan 2012 07:24:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=uDF1Noqmg51cRp/61xy9KZTAuYKiF6gcbe+RgLk5cPk=; b=P1wzgAwffbRDQYPG1yK143dlAZOxbhMTS1VEw3a9OxzHgUc4oKjjlBiId9ERU4lvrG dKsvbanC5bV70exrMHoHBcnL++I54105Az8oy8JZkfGsSEbgbSX9VvP1T2TgyVNDaZ+n k5d+FaLbmzJzbpjKagjqK3Q8xarX89qY+YQYA= Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Received: by 10.204.148.216 with SMTP id q24mr8151161bkv.129.1325690662395; Wed, 04 Jan 2012 07:24:22 -0800 (PST) Sender: freemanrich@gmail.com Received: by 10.204.19.1 with HTTP; Wed, 4 Jan 2012 07:24:22 -0800 (PST) In-Reply-To: References: <20120101015947.GA9914@linux1> <20120101085326.GA1928@gentoo.org> <20120102194341.3766edeb@pomiocik.lan> Date: Wed, 4 Jan 2012 10:24:22 -0500 X-Google-Sender-Auth: RBl8Xv84LZCSKF1Eab0sgDrI8Zc Message-ID: Subject: Re: [gentoo-dev] Re: Re: rfc: locations of binaries and separate /usr From: Rich Freeman To: gentoo-dev@lists.gentoo.org Content-Type: text/plain; charset=ISO-8859-1 X-Archives-Salt: 56523e93-7f5f-447a-b38f-79d4c82ca6d9 X-Archives-Hash: c57e5c454abd6978728f0821cbb2cafb On Wed, Jan 4, 2012 at 10:19 AM, Steven J Long wrote: > I was under the impression that anyone using lvm+raid (+luks) on root > already has an initramfs, and there are docs out there about that, but sure, > improving those docs and the software is always a good idea. Anybody running root on lvm+raid(+luks) is already using an initramfs. However, the guide I linked does not run root on lvm/luks - just on raid1, which does not require an initramfs. That guide puts everything BUT root on LVM, assuming that baselayout/sysvinit/openrc on root can mount everything else. The existing initramfs tools do not yet mount /usr regardless. I'm sure RedHat and others pursing a read-only /usr required at time of boot will be looking to rectify this, so Gentoo is moving along with upstream for dracut/etc here. > Yeah I've been using lvm for several years now, with a separate /usr and no > initramfs, though not on root. For the last few months, I've been running > with the tweaked udev startup scripts I mentioned before, so /usr is mounted > before udev starts (which is possible since I don't have any requirement on > udev-initialised hardware to mount local drives.) That's basically my configuration as well. However, I don't really want to set the goal of making Gentoo support my own configuration. In any case, having a more robust initramfs solution for separate /usr should support this and many other configurations. > > Regardless of the ability to backup just /usr, I'm still not convinced about > moving every binary there. It certainly isn't necessary, in that the > packages we install respect prefix, and there's no need to change the > ebuilds to make packages work; further most admins already have their own > backup scripts in-place. I think that the path of least resistance is to move with upstream - let's not try to force everything into /usr unless that becomes a consensus with many other distros. However, we can at least look to accomodate things like udev that are moving in this direction so that it doesn't create sparks within Gentoo. > > I for one, would like to be able to run in single-user mode off just the > rootfs, in case for instance, something goes wrong with lvm and /usr won't > mount; and I don't want to duplicate all those utilities in an initramfs. If > that's not going to be possible, fair enough: that's life. > I hear you. No harm in supporting this as long as seems reasonable, but you're going to be stuck without udev from the sound of things, and that is a lot to lose. You should give dracut a shot - it does quite a bit automagically though for some reason it doesn't set up my raid properly (I can do it with a simple mdadm --assemble --scan from the dracut shell), and it doesn't mount /usr yet. So, it isn't there, but it does quite a bit just the same. Rich