Gentoo Archives: gentoo-hardened

From: antoine <antoine@××××××××××.uk>
To: shimi <shimi@×××××.net>
Cc: gentoo-hardened@l.g.o
Subject: Re: [gentoo-hardened] selinux & udev
Date: Wed, 08 Jun 2005 21:43:35
Message-Id: 1118267508.10107.81.camel@localhost
In Reply to: Re: [gentoo-hardened] selinux & udev by shimi
1 > Anyways, the file's header begins like that:
2 > # $Header: /var/cvsroot/gentoo-src/rc-scripts/etc/conf.d/rc,v 1.20.2.7
3 > 2005/05/17 00:12:03 vapier Exp $
4 Oh! Mine's from 02/2004!
5 I'm a bit wary of running ~amd64 though, upgrading baselayout would do
6 this:
7 # ACCEPT_KEYWORDS="~amd64" emerge -pDtv baselayout
8 These are the packages that I would merge, in reverse order:
9 Calculating dependencies ...done!
10 [ebuild U ] sys-apps/baselayout-1.11.12-r4 [1.9.4-r7] -bootstrap
11 -build -debug -static -unicode 152 kB
12 [ebuild U ] app-shells/bash-3.0-r11 [2.05b-r9] -bashlogger -build
13 -debug +nls 2,404 kB
14 [ebuild N ] sys-apps/sysvinit-2.86 -bootstrap -build +selinux 100
15 kB
16 [ebuild U ] sys-libs/readline-5.0-r2 [4.3-r5] 1,777 kB
17
18 Do I really want to have sysvinit? I thought that baselayout blocked it?
19 Or has this been fixed now in ~amd64?
20
21 > As for your question, if you want udev, then yes, you should put udev
22 > there. Mine is set to static because I had problems with software-RAID
23 > (udev not creating my rootfs, kernel fails to load init, etc, etc.). If
24 > udev doesn't do problems to you (and you actually need it - and with a
25 > server - do you really need it?) - you can use it :)
26 Thanks for mentioning this, I am using software raid for my root
27 partition too! (it probably saved me a lot of hair)
28
29 But since there is something mounted on there at the moment, how can I
30 ensure that my /dev contains all the required devices nodes before I
31 reboot?
32 mount --bind /dev tmp
33 ls -la tmp/md? shows them as present, I hope that's ok.
34
35 > One more thing - I think you should try playing with gentoo=nodevfs in
36 > the kernel options (or append= if you have LILO) - if you have it, it
37 > could also disable udev. I recall something about that with all my
38 > tryings...
39 I'll try that too...
40 >
41 > Good Luck,
42 Thanks!
43 Antoine
44
45 --
46 gentoo-hardened@g.o mailing list

Replies

Subject Author
Re: [gentoo-hardened] selinux & udev shimi <shimi@×××××.net>