All of lore.kernel.org
 help / color / mirror / Atom feed
* RE: mkinitrd on Debian
@ 2004-04-27 20:23 CDSelle
  2004-04-27 20:46 ` Russell Coker
  0 siblings, 1 reply; 4+ messages in thread
From: CDSelle @ 2004-04-27 20:23 UTC (permalink / raw)
  To: russell; +Cc: selinux

[-- Attachment #1: Type: text/plain, Size: 1001 bytes --]

Russel,

We haven't met, but I'm a SELinux user trying to install on a Debian system.
Is the script you attached to this message in October still current, or is
there a better way to make a SELinux initrd for Debian sid systems now?

Thanks,
Chad Sellers



-----Original Message-----
From: Russell Coker [mailto:russell@coker.com.au]
Sent: Tuesday, October 07, 2003 9:27 AM
To: SE Linux
Subject: mkinitrd on Debian


If you copy the attached script into /etc/mkinitrd/scripts on a Debian
system 
then it should support building a correct initrd for the new SE Linux.

Should being the operative word, as I have not converted any Debian systems 
which support initrd to the new SE Linux I could not properly test this.

Let me know how it works.

-- 
http://www.coker.com.au/selinux/   My NSA Security Enhanced Linux packages
http://www.coker.com.au/bonnie++/  Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/    Postal SMTP/POP benchmark
http://www.coker.com.au/~russell/  My home page


[-- Attachment #2: selinux-mkinitrd --]
[-- Type: application/octet-stream, Size: 288 bytes --]

#!/bin/sh

cp /etc/security/selinux/policy.15 $INITRDDIR
cp /usr/sbin/load_policy $INITRDDIR/sbin
mkdir $INITRDDIR/selinux
cat > $INITRDDIR/scripts/selinux << END
mount -n none -t selinuxfs /selinux
/sbin/load_policy /policy.15
umount -n /selinux
END
chmod 755 $INITRDDIR/scripts/selinux

^ permalink raw reply	[flat|nested] 4+ messages in thread
* mkinitrd on Debian
@ 2003-10-07 13:27 Russell Coker
  0 siblings, 0 replies; 4+ messages in thread
From: Russell Coker @ 2003-10-07 13:27 UTC (permalink / raw)
  To: SE Linux

[-- Attachment #1: Type: text/plain, Size: 582 bytes --]

If you copy the attached script into /etc/mkinitrd/scripts on a Debian system 
then it should support building a correct initrd for the new SE Linux.

Should being the operative word, as I have not converted any Debian systems 
which support initrd to the new SE Linux I could not properly test this.

Let me know how it works.

-- 
http://www.coker.com.au/selinux/   My NSA Security Enhanced Linux packages
http://www.coker.com.au/bonnie++/  Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/    Postal SMTP/POP benchmark
http://www.coker.com.au/~russell/  My home page

[-- Attachment #2: selinux-mkinitrd --]
[-- Type: application/x-shellscript, Size: 288 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-04-27 23:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-27 20:23 mkinitrd on Debian CDSelle
2004-04-27 20:46 ` Russell Coker
2004-04-27 23:58   ` Dale Amon
  -- strict thread matches above, loose matches on Subject: below --
2003-10-07 13:27 Russell Coker

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.