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 1SDMfg-0003dV-7z for garchives@archives.gentoo.org; Thu, 29 Mar 2012 21:14:16 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D43A0E0D31; Thu, 29 Mar 2012 21:14:02 +0000 (UTC) Received: from ns1.bonedaddy.net (ns1.bonedaddy.net [70.91.141.202]) by pigeon.gentoo.org (Postfix) with ESMTP id 00609E0CF7 for ; Thu, 29 Mar 2012 21:11:31 +0000 (UTC) Received: from ns1.bonedaddy.net (localhost [127.0.0.1]) by ns1.bonedaddy.net (8.14.5/8.14.4) with ESMTP id q2TLBVKG004418 for ; Thu, 29 Mar 2012 17:11:31 -0400 Received: (from tgoodman@localhost) by ns1.bonedaddy.net (8.14.5/8.14.5/Submit) id q2TLBVdf004416 for gentoo-user@lists.gentoo.org; Thu, 29 Mar 2012 17:11:31 -0400 X-Authentication-Warning: ns1.bonedaddy.net: tgoodman set sender to tsg@bonedaddy.net using -f Date: Thu, 29 Mar 2012 17:11:31 -0400 From: Todd Goodman To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: After /usr conflation: why not copy booting software to /sbin rather than initramfs? Message-ID: <20120329211130.GD27585@ns1.bonedaddy.net> References: <20120327223544.GC3437@acm.acm> <20120328005520.140b8fd6@khamul.example.com> <20120328140132.GA3546@acm.acm> <20120328155636.5296a82d@hactar.digimed.co.uk> <20120328170733.GA27818@acm.acm> <4F73C0B6.9090002@gmail.com> <4F73CB46.3080009@gmail.com> <4F74C2FE.3030704@gmail.com> 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=iso-8859-1 Content-Disposition: inline In-Reply-To: <4F74C2FE.3030704@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 87370f87-c0c1-4d5a-b574-6ad8488d3bba X-Archives-Hash: 414794e4273a2aca3e70fe4f5a407231 * Dale [120329 16:22]: > Canek Pel=E1ez Vald=E9s wrote: >=20 > > Can you try doing > >=20 > > dracut -H /boot/initramfs- > >=20 > > ?? > >=20 > > The man page from dracut says that -H is for the "current host" > > instead of a "generic host". Maybe the "generic host" configuration i= s > > messing up something with su that your actual host configuration > > needs. > >=20 > > I use -H. As I have ben saying, my initramfs it's pretty up in sync > > with my normal system. > >=20 > > Regards. >=20 >=20 > Notice, I make the distinction between Console and Konsole by making th= e > first letter capitalized. It kind of gets confusing. :/ >=20 > I had to reboot so I made a new init thingy with the -H switch. It > works in Console but nothing root works in KDE. I get the same error. > Heck, Konsole won't even try to come up much less ask for my password. > Krusader asks for password and says that su is not in the path. This i= s > similar to what I got when I was in a Console too. >=20 > So, boot without init thingy, everything works fine. Boot with the ini= t > thingy, I can't access things in KDE as root. All I do is reboot. I > don't change or edit anything other than selecting a different entry in > grub. >=20 > I use Konsole when I emerge and such as that. I use Krusader, since > Konqueror developed a bug, to edit config files. I don't care to switc= h > to a Console to emerge something or edit a config file. This is not > going to work for me long term. >=20 > Also, keep in mind, I boot the EXACT same kernel whether I use the init > thingy or not. All I do is remove the stuff the init thingy needs to > work. >=20 > Go figure. >=20 > Dale >=20 > :-) :-) My dracut initramfs (created with just hostonly=3Dyes changed from the config installed by Gentoo) is quite "heavy" and starts up udevd in the initramfs. That along with other things that happen in there could possibly be leading to your permission problems. If I were you, I'd manually create an initramfs the way that Neil has mentioned that simply mounts /usr and then does a switch_root and see if you still have problems. It's really not too hard if you can muddle through simple shell scripts. Todd