From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (unknown [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 390B61381FA for ; Thu, 15 May 2014 09:48:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id ECC5AE0A68; Thu, 15 May 2014 09:48:06 +0000 (UTC) Received: from mail0131.smtp25.com (mail0131.smtp25.com [75.126.84.131]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id DBB24E09D7 for ; Thu, 15 May 2014 09:48:05 +0000 (UTC) Received: from ccs.covici.com (d-out-001.smtp25.com [67.228.158.174] (may be forged)) by d-out-001.smtp25.com (8.14.2/8.14.2) with ESMTP id s4F9m42T017877 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Thu, 15 May 2014 05:48:05 -0400 Received: from ccs.covici.com (localhost [127.0.0.1]) by ccs.covici.com (8.14.8/8.14.8) with ESMTP id s4F9m4Ta019452 for ; Thu, 15 May 2014 05:48:04 -0400 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] problems getting systemd to work In-reply-to: References: <23736.1399879340@ccs.covici.com> <17435.1399889735@ccs.covici.com> <13680.1399912266@ccs.covici.com> <17066.1399913526@ccs.covici.com> <8704.1400060591@ccs.covici.com> <26238.1400079937@ccs.covici.com> <31967.1400082129@ccs.covici.com> <15515.1400106362@ccs.covici.com> Comments: In-reply-to =?us-ascii?Q?=3D=3FUTF-8=3FB=3FQ2FuZWsgUGVsw6FleiBWY?= =?us-ascii?Q?Wxkw6lz=3F=3D?= message dated "Thu, 15 May 2014 01:47:55 -0500." X-Mailer: MH-E 8.2; nmh 1.3; GNU Emacs 23.4.1 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 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Thu, 15 May 2014 05:48:04 -0400 Message-ID: <19449.1400147284@ccs.covici.com> From: covici@ccs.covici.com X-SpamH-OriginatingIP: 70.109.53.110 X-SpamH-Filter: d-out-001.smtp25.com-s4F9m42T017877 X-Archives-Salt: 6f66eb19-1ac8-4ac3-af50-91583a8ee6fc X-Archives-Hash: f324dbfe59b7e03b01a5bdd60ac7fdd7 Canek Pel=C3=A1ez Vald=C3=A9s wrote: > On Thu, May 15, 2014 at 1:18 AM, Canek Pel=C3=A1ez Vald=C3=A9s wrote: > > On Wed, May 14, 2014 at 5:26 PM, wrote: > > [snip] > >> > >> Well, the workaround sort of worked -- it went through the initrd -- I > >> had debug in the kernel command line, but it did not stop for nothing! > >> When it went to the real root, however it did not activate any of the > >> lvm volumes I had except for what I specified in the kernel command > >> line, causing things not to work well. Also, I noticed that if insist= ed > >> on using the predictable network names, even though I have > >> /etc/udev/rules.d/70-persistent-net.rules and > >> /etc/udev/rules.d/80-name-slot.rules which work fine in openrc to give > >> me back my eth* names. So all in all, it was a mess and took me to an > >> emergency shell and that was the end of that. I did eventually activa= te > >> some volumes by lvchange -aay, but obviously that would not work well. > > > > OK, I was a little mystified about why dracut-036 worked on my system > > and 037 didn't. Before I tried any workaround, I wanted to know what > > changed from the previous version to the current one. > > > > So I generated an initramfs with dracut-036-r4 and another one with > > dracut-037-r1, and I tried to see what changed from one to the other. > > The answer is surprisingly easy: in /etc/cmdline.d/, the following > > files where in the 036-r4 version, but not in the 037-r4: > > > > 90crypt.conf > > 90lvm.conf > > 90mdraid.conf > > base.conf > > > > Te contents of those files are (90crypt.conf is empty): > > > > 90lvm.conf > > rd.lvm.lv=3Dvg/vol1 > > rd.lvm.lv=3Dvg/vol4 > > rd.lvm.lv=3Dvg/vol3 > > > > 90mdraid.conf > > rd.md.uuid=3Df4a59e68:fbe4039f:a39fc86d:e9e91e12 > > > > base.conf > > ro > > > > So I just changed my /etc/default/grub file: > > > > GRUB_CMDLINE_LINUX=3D"init=3D/usr/lib/systemd/systemd quiet nosplash > > rd.lvm.lv=3Dvg/vol1 rd.lvm.lv=3Dvg/vol4 rd.lvm.lv=3Dvg/vol3 > > rd.md.uuid=3Df4a59e68:fbe4039f:a39fc86d:e9e91e12" > > > > I regenerated my GRUB2 config, and now again my LVM test system works > > perfectly with the latest dracut version. >=20 > I'm an idiot; I didn't saw the documentation about hostonly_cmdline; > BTW Jc, you used host_cmdline, I think the former is the correct one. >=20 > So, to resume: there is no bug, is just that before hostonly_cmdline > was yes by default, and now is no by default. This change was > documented, but I failed to notice it (and I think the ebuild in > Gentoo should print an einfo message). >=20 > Anyway, I think that explains all my problems; John, I don't know if > it will solve yours. Again: did you used "dracut --print-cmdline" to > get the command line? Also, have you tried to use -H to generate your > initramfs? And finally, have you tried with --hostonly-cmdline? I did not use --hostonly-cmdline because I have other parameters and wanted to keep everyting together -- should that make a difference? If I did use that then would I have append=3D"" in lilo.conf or the grub equivalemt? --=20 Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici covici@ccs.covici.com