From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30259 invoked by uid 1002); 5 Aug 2003 20:25:20 -0000 Mailing-List: contact gentoo-dev-help@gentoo.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Received: (qmail 4667 invoked from network); 5 Aug 2003 20:25:20 -0000 From: Martin Schlemmer Reply-To: azarah@gentoo.org To: "Robin H.Johnson" Cc: Chris PeBenito , Gentoo-Dev In-Reply-To: <20030805171215.GB23572@cherenkov.orbis-terrarum.net> References: <1060098935.9166.16.camel@chris.pebenito.net> <20030805171215.GB23572@cherenkov.orbis-terrarum.net> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-FEeP5n0EWoKuJtZuZFmm" Message-Id: <1060115146.8355.24.camel@nosferatu.lan> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.3 Date: 05 Aug 2003 22:25:46 +0200 Subject: Re: [gentoo-dev] initrd X-Archives-Salt: a0ea3a93-2f57-4522-b753-4fdbb727b7c8 X-Archives-Hash: 84f5db42123341e6a5763fa85f022037 --=-FEeP5n0EWoKuJtZuZFmm Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Tue, 2003-08-05 at 19:12, Robin H.Johnson wrote: > On Tue, Aug 05, 2003 at 10:55:36AM -0500, Chris PeBenito wrote: > > For the new SELinux API in 2.6, it is required that the SELinux policy > > is loaded by initrd. We don't have a mkinitrd in portage. I could add > > a Gentoo-fixed RedHat mkinitrd, but I'd prefer not to, since all I have > > to do in the initrd is 3 commands (and I don't want to maintain a > > mkinitrd ebuild either). However, there is a static shell in the RedHa= t > > mkinitrd package (nash) that is compiled with dietlibc which I do want, > > because its tiny, and made to run in a initrd. > >=20 > > Would it be acceptable to create something like a "mkpolicyinitrd" > > package that pulls in the RH src rpm, and compiles nash out of it, and > > adds in my own mkinitrd script? I could also put the mkinitrd in our > > selinux-base-policy ebuild, and just create a nash ebuild. > >=20 > > I would rather have a ebuild just for nash. Is there any preference, o= r > > other suggestions? > I started on some of this before, when I almost needed an initrd for > some boxes (due to crappy hardware, i ended up buying some 3ware raid > controllers instead). >=20 > Based on how redhat packages it, I'd suggest a mkinitrd package that > pulls in their srpm (from their RawHide sources as the latest contains a > number of fixed wrt lvm and other things), and builds /sbin/mkinitrd, > /sbin/nash, /sbin/grubby. >=20 > As you note that you are not willing to maintain the mkinitrd ebuild, if > you do put it in, I'm willing to maintain it. Is it not possible to use sash rather than nash ? --=20 Martin Schlemmer Gentoo Linux Developer, Desktop/System Team Developer Cape Town, South Africa --=-FEeP5n0EWoKuJtZuZFmm Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQA/MBLKqburzKaJYLYRAptlAKCTL5Egcm+5T4U5WT4b6BeymAXK/wCfdXps 5MZZ5lD0TJ/Lv4QG8gCy+r8= =tOoH -----END PGP SIGNATURE----- --=-FEeP5n0EWoKuJtZuZFmm--