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 1SD5lf-0000Rk-VV for garchives@archives.gentoo.org; Thu, 29 Mar 2012 03:11:20 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DA6E2E0F87 for ; Thu, 29 Mar 2012 03:11:18 +0000 (UTC) Received: from mail-yx0-f181.google.com (mail-yx0-f181.google.com [209.85.213.181]) by pigeon.gentoo.org (Postfix) with ESMTP id 4DEB0E0EDE for ; Thu, 29 Mar 2012 02:39:06 +0000 (UTC) Received: by yenq2 with SMTP id q2so1476306yen.40 for ; Wed, 28 Mar 2012 19:39:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; bh=XYF8r/lAtd9RSR94pYTInezPjJxaTRt1lJqhkC97y1k=; b=KBaVL0iM+Cp2OCSjJj/K0tF/G8OvKCNZTaMjHfd7eddRUSI45mU/ySLVS+mDEJ8NJB mutQygEkO1wSLt9chZZHxadCGVZTAA1UWgd5irCYUP0an+5rSPtVdhpmkKocG2dDAueY e0yu8QcQ+KFTyqHt6YcYc7GCv3qowLCBD1ptEJOqs4PX4lOHk3Ktg+waMPjYZVS7FxXF sqQEbEAkktoEd4OOZGG2TJKedVCqDTOUHokmg+v78D3GI1prZMvPuBCalUrXq4OkrCF9 x4DcpJMZSWlYqOH6GxEklZZWLhiDUPK0vwme7loAK5gkVOt8PHsD/1XpwPDNIpvaSQ8p aorQ== Received: by 10.236.116.66 with SMTP id f42mr32564837yhh.70.1332988745831; Wed, 28 Mar 2012 19:39:05 -0700 (PDT) Received: from [192.168.2.5] (adsl-98-95-214-242.jan.bellsouth.net. [98.95.214.242]) by mx.google.com with ESMTPS id i19sm6365696ani.7.2012.03.28.19.39.04 (version=SSLv3 cipher=OTHER); Wed, 28 Mar 2012 19:39:05 -0700 (PDT) Message-ID: <4F73CB46.3080009@gmail.com> Date: Wed, 28 Mar 2012 21:39:02 -0500 From: Dale User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120325 Firefox/11.0 SeaMonkey/2.8 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 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: After /usr conflation: why not copy booting software to /sbin rather than initramfs? References: <20120327142646.GB3754@acm.acm> <20120327154620.21440f87@digimed.co.uk> <86iphq0vza.fsf@jane.chrekh.se> <003e01cd0c53$a2e99b90$e8bcd2b0$@kutulu.org> <20120327212422.GA3437@acm.acm> <20120327234819.45111444@khamul.example.com> <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> In-Reply-To: X-Enigmail-Version: 1.4 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 879d22df-9ee7-4609-ad46-870d5badaae7 X-Archives-Hash: dc85e9ec4816c8af27a5e196cd12fcc7 Canek Pel=C3=A1ez Vald=C3=A9s wrote: > On Wed, Mar 28, 2012 at 7:53 PM, Dale wrote: >> Alan Mackenzie wrote: >> >>> Incidentally, dracut says it won't work on a kernel without modules. = I >>> don't know if it's true or not. >>> >> >> Oh really? I don't use modules and I am the one having issues with no= t >> being able to su to root from a user. I wonder if that is related >> somehow. o_O >=20 > I don't use modules either (except scsi_wait_scan.ko; you cannot get > rid of that one), I use dracut, and I can su just fine. >=20 > Dale, can you please post the dracut comand you used to create your > initramfs? Also, the DRACUT_MODULES you have defined, and the contents > of /etc/dracut.conf? >=20 > Not being able to su sounds incredible weird. >=20 > Regards. Here is one: root@fireball / # cat /etc/dracut.conf # Sample dracut config file logfile=3D/var/log/dracut.log fileloglvl=3D6 # Exact list of dracut modules to use. Modules not listed here are not going # to be included. If you only want to add some optional modules use # add_dracutmodules option instead. #dracutmodules+=3D"" # Dracut modules to omit #omit_dracutmodules+=3D"" # Dracut modules to add to the default #add_dracutmodules+=3D"lvm fstab-sys usrmount" # additional kernel modules to the default #add_drivers+=3D"" # list of kernel filesystem modules to be included in the generic initram= fs filesystems+=3D"ext2 reiserfs ext3" # build initrd only to boot current hardware #hostonly=3D"yes" # # install local /etc/mdadm.conf mdadmconf=3D"yes" # install local /etc/lvm/lvm.conf lvmconf=3D"yes" # A list of fsck tools to install. If it's not specified, module's hardco= ded # default is used, currently: "umount mount /sbin/fsck* xfs_db xfs_check # xfs_repair e2fsck jfs_fsck reiserfsck btrfsck". The installation is # opportunistic, so non-existing tools are just ignored. #fscks=3D"" # inhibit installation of any fsck tools #nofscks=3D"yes" root@fireball / # +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ The command I use is: dracut /boot/initramfs- I name each one according to kernel versions. I try to keep a few back up kernels in case one gets borked or something. It makes cleaning easier if I know which files belong to what. Anyway. I also looked back at the log for the last build. The only thing I found that may resemble a error would be it skipping file systems that I don't have installed or built into the kernel, in other words, things I don't use to begin with. I didn't see it complain about anything missing or broken. I agree it is weird that su to root doesn't work. I have not been able to find anything related with SP, read as Google replacement search tool www.startpage.com since Google got nosey. lol From what I have read, it shouldn't matter but I can boot with the init thingy and it fails everytime. When I boot without the init thingy, it works fine. Weird is a good word to describe it. I noticed dracut just got updated. I have dracut-017-r3 installed now. I may stick a small drive in my old rig, x86, and try to figure this mess out on it. Maybe try putting /usr and /var on LVM and really make a mess of things. lol Dale :-) :-) --=20 I am only responsible for what I said ... Not for what you understood or how you interpreted my words! Miss the compile output? Hint: EMERGE_DEFAULT_OPTS=3D"--quiet-build=3Dn"