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 20:40:23
Message-Id: 1118263697.10107.73.camel@localhost
In Reply to: Re: [gentoo-hardened] selinux & udev by shimi
1 On Wed, 2005-06-08 at 23:31 +0300, shimi wrote:
2 > On Wed, 2005-06-08 at 21:25 +0100, antoine wrote:
3 > > Hi,
4 > >
5 > > I've got a system which I am migrating to use selinux, so I had to
6 > > switch to udev. I followed all the instructions, rebooted, udevd is
7 > > running but /dev is mounted as ramfs (which does not support labelling
8 > > AFAIK) instead of tmpfs. I tried to find where it is being mounted, but
9 > > that isn't very clear (not in fstab, not in /etc/rc). Is it part
10 > > of /sbin/init now?
11 > > How do I switch to tmpfs for /dev?
12 > > (obviously, I rebuilt a kernel with devfs not mounted automatically -
13 > > would devfs show up as ramfs anyway?)
14 >
15 > File /etc/conf.d/rc, around line 50:
16 >
17 > # Use this variable to control the /dev management behavior.
18 > # auto - let the scripts figure out what's best at boot
19 > # devfs - use devfs (requires sys-fs/devfsd)
20 > # udev - use udev (requires sys-fs/udev)
21 > # static - let the user manage /dev
22 >
23 > RC_DEVICES="static"
24 Thanks! But I've got no such setting in /etc/conf.d/rc !
25 Maybe I discarded it during an etc-update?
26 I guess it is safe to add? Why would I want static?
27
28 Since devfs is not running and udev is, it would seem that the system
29 default is 'auto' and it chose udev, so I don't see how setting it is
30 going to make a difference...?
31
32 I forgot to mention:
33 /etc/make.profile -> /usr/portage/profiles/selinux/2004.1/amd64
34
35 Thanks
36 Antoine
37
38 --
39 gentoo-hardened@g.o mailing list

Replies

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