From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 73FB71388BF for ; Wed, 17 Feb 2016 18:32:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DCDB921C08C; Wed, 17 Feb 2016 18:32:19 +0000 (UTC) Received: from mail-io0-f178.google.com (mail-io0-f178.google.com [209.85.223.178]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D095821C074 for ; Wed, 17 Feb 2016 18:32:18 +0000 (UTC) Received: by mail-io0-f178.google.com with SMTP id 9so45680846iom.1 for ; Wed, 17 Feb 2016 10:32:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:content-type; bh=5FXC7VwF8QaG2+eGOfRzQ/2Tt0o7+RgQSrw0YRpWPLI=; b=e3oRyZfASDCFtvHsW0NlFyns3sbYrK7uEMnt6vIhxreiZzOxbUsFFJEmKlIi8Oa8SB 0QxWZZ9a6OtAsdwXVWE8GFSO9DPwQYGEJRVndXVSvuAZrRWYbe7+0/3unDtrvSKEttkf FzSHXZCRM80ILaJ8ASA9Ao2mPoWbvMEIpf0wNQDibh/plbhvxgPaOzf3F4vLOD/iar64 hzCO2ZLEcfRzCFmACxOoRzA4Q5D6gT9z12eGfZ3VWpjLSiys+OP+TZlnTW2z9NjDil44 0LUSvS1f2Ygefb+lyPRAK5hRvWqeNryGLERyMHp+F3p+jyHjyis27EnNg7j8BZVCfIj5 +5Ig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=5FXC7VwF8QaG2+eGOfRzQ/2Tt0o7+RgQSrw0YRpWPLI=; b=C55mVHp27r7T/dm5LXsjcPfn81Gbx6H2ASgXzIQ07y5CzcoinU48PGh79Kjc4Uil7c o4WlP4+VkcpnRv2DABe/nzcbpVvtB4chKLxJvonnFDwusdnEawNu5+Pr71ELOGTKGYUf a8XlsKuat9zKEPJUu4n9dMPNJcBPh70ZR/is9KCwkPvtE4JyWlBwdRNXAfbiWDNRc3O2 6huExistHERXhIk9JtbqDrOCz14/7CxhNad/5ZRjMtvtBg8LZXxqR8Fb6njxip9haR+4 s7xdhodjnfBYA/46Zq0ev6A5OLmrmgX4jEPAoixXimyXUi/DVBJAhq1wdxHT7r77WBM4 5GkA== X-Gm-Message-State: AG10YOSRHzrKErhyWOpGudKvv9qe9i4n7J4GHeeRTutFQcrhpHTQP+HX6V0DZOE+acHDXG3iHyYTOr6ZgT0B6Q== 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 X-Received: by 10.107.29.209 with SMTP id d200mr4812712iod.27.1455733938335; Wed, 17 Feb 2016 10:32:18 -0800 (PST) Sender: freemanrich@gmail.com Received: by 10.64.225.228 with HTTP; Wed, 17 Feb 2016 10:32:18 -0800 (PST) In-Reply-To: <0d4d96ae-333f-7319-458c-f7d1b9bc818e@gentoo.org> References: <20160216180533.GB1450@whubbs1.gaikai.biz> <20160216184129.GB1704@whubbs1.gaikai.biz> <4800E3E6-4D70-4DF8-8F40-705C6B77882B@gentoo.org> <20160217173009.1c76d401@red.yakaraplc.local> <0d4d96ae-333f-7319-458c-f7d1b9bc818e@gentoo.org> Date: Wed, 17 Feb 2016 13:32:18 -0500 X-Google-Sender-Auth: 4vktnBx09frYY978nMysSCT8Asg Message-ID: Subject: Re: [gentoo-dev] Re: rfc: Does OpenRC really need mount-ro From: Rich Freeman To: gentoo-dev Content-Type: text/plain; charset=UTF-8 X-Archives-Salt: 4e9f34a9-859e-4dab-816a-1d84cf02a32c X-Archives-Hash: 8480d6b8c356307b240a909272255443 On Wed, Feb 17, 2016 at 1:06 PM, Ian Stakenvicius wrote: > > Genkernel's initramfs generation was what we endorsed for the most > part, until dracut came around. it's hard to say what "most" are > doing but i expect dracut and genkernel based initramfs's make up > the vast majority in use by gentoo users, with a small minority > rolling their own through other means. > While I personally endorse dracut over genkernel, the reality is that only genkernel is actually documented in the handbook. This is due at least in part to laziness on my part as I've been meaning to add it since forever. Likewise I intend to update the handbook to make selection of openrc/systemd less convoluted as well. The current handbook does offer systemd as an option but then basically refers you out to another page that doesn't follow the same flow as the handbook. In my notes I've found that it is a pretty trivial change to pick one or the other actually if you do it at the right time, so this could be added to the handbook with very little disruption to the flow for non-systemd users. I imagine other service managers would be similar, or even simpler. I found that switching between the two only requires two changes - one is to pick a systemd profile relatively early in the process before doing a world update, and then changing one line in your grub config at the end. If you emerge world after you do most of your system configuration systemd will automatically pick up all the openrc configuration and use it, which as a bonus leaves you with a system that is easy to boot in either mode. Getting back to dracut - it is really just a few lines added as an alternative to the initramfs section. After you build your kernel it is really just a one-liner, and grub2-mkconfig picks up on it automatically (as I imagine it probably does with genkernel as well). Unless you want to play with the configuration there isn't much fuss. I think we really should give strong consideration to recommending dracut as a default, while of course preserving the option of genkernel. I'm certainly open to feedback if there is some use case where genkernel is better, but dracut is cross-distro, gives you options to easily maximize or minimize your config, and is really easy to tailor with modules. -- Rich