Gentoo Archives: gentoo-hardened

From: Joshua Brindle <method@g.o>
To: nixnut <nixnut@×××××.nl>
Cc: gentoo-hardened@l.g.o
Subject: Re: [gentoo-hardened] selinux + udev
Date: Mon, 12 Apr 2004 17:58:53
Message-Id: 407AD8D4.9030809@gentoo.org
In Reply to: Re: Re: [gentoo-hardened] selinux + udev by nixnut
1 I already told you once, use devpts
2 mkdir /dev/pts
3 mount -t devpts /dev/pts /dev/pts
4
5 exactly as listed in the documentation
6
7 Joshua Brindle
8
9 nixnut wrote:
10 > Hi all,
11 >
12 >
13 >>You cannot use
14 >
15 > udev with SELinux
16 > right now, because
17 > Gentoo's udev
18 >
19 >>implementation
20 >
21 > uses ramfs mounted
22 > on /dev, which does
23 > not support
24 >
25 >>extended
26 >
27 > attributes.
28 >
29 > Ok, that was another
30 > question waiting to
31 > be asked. Thanks for
32 > preemptively
33 > answering that.
34 > Apart from that the
35 > selinux part of udev
36 > won't compile, so
37 > it's quite useless
38 > anyway, regardless
39 > of how udev mounts
40 > /dev. Well, back to
41 > the original
42 > question. How do I
43 > get selinux AND
44 > pty's working so a
45 > normal user can
46 > start an xterm? I
47 > cannot use devfs, I
48 > cannot use udev, so
49 > it's back to good
50 > old static /dev, but
51 > that results in
52 > errors like:
53 > xterm: Error 32,
54 > errno 2: No such
55 > file or directory
56 > Reason: get_pty: not
57 > enough ptys.
58 >
59 > regards,
60 > nixnut
61 >
62 > www.lycosmail.nl - Gratis 15 MB mailbox - Virussen en spam, geen toegang!
63 >
64 >
65 >
66 >
67 > ------------------------------------------------------------------------
68 >
69 > --
70 > gentoo-hardened@g.o mailing list
71
72
73 --
74 gentoo-hardened@g.o mailing list