Gentoo Archives: gentoo-hardened

From: "(\\\\/) | \\\\/ -/_" <mivz@×××××××.net>
To: gentoo-hardened@l.g.o
Subject: [gentoo-hardened] NFS boot environment / SELinux
Date: Tue, 27 Apr 2004 22:31:24
Message-Id: 408EDF26.7030307@spugium.net
1 Hello,
2 I am experimenting whit SELinux at the moment. I work in a NFS
3 boot environment and I can not boot from cd-rom. The first thing I tryed
4 was bootstrapping a new server. This did not work, because bootstrap.sh
5 told me SELinux was not activated.
6 So I started whit the quickstart tutorial whit in a NFS booted
7 environment. This went well, until I came to the kernel. For some
8 reason, if I activate SELinux, the kernel does not start it's network
9 support at boot time. Normaly my kernel does a dhcp request so it can
10 mount it's file system on /dev/nfs and use it as root file system.
11 Some how, this onley works whit none SELinux kernel's. As soon as I
12 activate SELinux support, my network support at boot time stops
13 functioning and it ask's for a disk, because it can not mount it's root
14 file system. I tryed this whit the linux-2.4.25-selinux-r2 kernel.
15 I even tryed loading the kernel config form a working
16 (netbooting)linux-2.4.25-gentoo-r2 kernel in to a
17 linux-2.4.25-selinux-r2 kernel but I still get no network support.
18
19 Is a nfs root supported in SELinux?
20 If so, can someone explain what I am doing wrong? Do I need permissions
21 at boot time?
22 If not, can I fix it manualy for one kernel, so I can netboot new
23 installations?
24
25
26 Thanks,
27 Mivz
28
29 --
30
31 (\/) | \/ -/_
32 mivz@×××××××.net
33 mivz@×××.net
34 http://mivz.spugium.net/
35
36 SPugium, Core
37 http://www.spugium.net/
38
39
40
41 --
42 gentoo-hardened@g.o mailing list

Replies

Subject Author
Re: [gentoo-hardened] NFS boot environment / SELinux Andy Dustman <adustman@×××××××××.edu>