Gentoo Archives: gentoo-hardened

From: Rumen Yotov <rumen@××××××.org>
To: gentoo-hardened@l.g.o
Subject: Re: [gentoo-hardened] selinux newbie questions / avc denies everything
Date: Sun, 19 Mar 2006 19:11:58
Message-Id: 200603192110.04682.rumen@qrypto.org
In Reply to: Re: [gentoo-hardened] selinux newbie questions / avc denies everything by Thomas Eschenbacher
1 On Sunday 19 March 2006 20:42, Thomas Eschenbacher wrote:
2 > Chris PeBenito wrote:
3 > > [...]
4 > >
5 > > Unfortunately this is your problem:
6 > >>kernel "2.6.14-hardened-r5",
7 > >>XFS as root filesystem
8 > >
9 > > please see:
10 > > http://marc.theaimsgroup.com/?l=gentoo-hardened&m=113433863728029&w=2
11 > >
12 > > XFS should be fixed in 2.6.16.
13 >
14 > Thanks for your quick reply!
15 > So it seems that I have the following options:
16 >
17 > A) wait some weeks (or months?) until 2.6.16-hardened is out, run in
18 > permissive mode meanwhile.
19 >
20 > B) take the sources of kernel 2.6.16-rc6, apply the SELinux patch
21 > against it and replace the "fs/xfs" directory of my old
22 > 2.6.14-hardened-r5 source tree with the one from the new version. Will
23 > this "backport" work, is this compatible?
24 >
25 > C) switch to a different filesystem. My only options seem to be:
26 > 1. ext2/ext3 -> I hate running e2fsck, no options.
27 > 2. reiserfs -> officially unsupported for SELinux
28 > 3. XFS -> obviously doesn't work in this version
29 > 4. JFS -> any experience?
30 >
31 > Any suggestions or other alternatives?
32 >
33 > Thomas
34 Hi,
35 Choise A) seems to be a middle way between B) and C).
36 IMHO B) is worst (if it even works), as it seems that most if not all hardened
37 projects will skip 2.6.15 (too many changes etc., put your reasons here) and
38 go to 2.6.16.
39 So B) will very probably break things. Better try 2.6.16_rc6+patches.
40 PaX has a patch for 2.6.16_rc6-test3 (IIRC) so eventually grsec2 will catch up
41 for 2.6.16.
42 SElinux also goes to 2.6.16_rc6, think RSBAC will follow this path too.
43 Path C) seems to be the quickest path by now.
44 Why not use 'ext3' as a filesystem?
45 HTH.Rumen