* Re: [gentoo-dev] initrd
@ 2003-08-05 20:25 99% ` Martin Schlemmer
0 siblings, 0 replies; 1+ results
From: Martin Schlemmer @ 2003-08-05 20:25 UTC (permalink / raw
To: Robin H.Johnson; +Cc: Chris PeBenito, Gentoo-Dev
[-- Attachment #1: Type: text/plain, Size: 1748 bytes --]
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 RedHat
> > mkinitrd package (nash) that is compiled with dietlibc which I do want,
> > because its tiny, and made to run in a initrd.
> >
> > 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.
> >
> > I would rather have a ebuild just for nash. Is there any preference, or
> > 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).
>
> 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.
>
> 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 ?
--
Martin Schlemmer
Gentoo Linux Developer, Desktop/System Team Developer
Cape Town, South Africa
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2003-08-05 15:55 [gentoo-dev] initrd Chris PeBenito
2003-08-05 17:12 ` Robin H.Johnson
2003-08-05 20:25 99% ` Martin Schlemmer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox