Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 122605 - Misstatements in SELinux Handbook (mainly hb-install-x86-kernel)
Summary: Misstatements in SELinux Handbook (mainly hb-install-x86-kernel)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Hardened (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Chris PeBenito (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-12 12:24 UTC by Waldek Korlub
Modified: 2006-04-27 20:56 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Waldek Korlub 2006-02-12 12:24:24 UTC
There are some misstatements in SELinux Handbook mainly in the hb-install-x86-kernel.xml file (http://www.gentoo.org/proj/en/hardened/selinux/selinux-x86-handbook.xml?part=1&chap=7). At the beginning of this file there's information that only 2.6 kernels are supported and that hardened-sources are suggested. There's even a listing:

Code Listing 2: Installing a kernel source
# emerge hardened-sources

Which means that 2.6.x version of the hardened-sources would be installed.
But there's much information about configuring (thought to be unsupported) 2.4 kernels in section "Default: Manual Configuration". And finally there's a sentence: "From here onwards we assume that the kernel you are installing is the 2.4.26 version of the gentoo-sources" (part about installing the kernel). So this file is incoherent.
Moreover in the index.xml file we read: "SELinux is limited to x86 on 2.4, but is integrated in 2.6, and available on all architectures".
Those contradictions seems to be confusing for the reader.
Comment 1 Waldek Korlub 2006-02-25 06:31:32 UTC
I've found some others misstatements:
1. in the hb-install-x86-medium.xml file:
- this file describes "Gentoo's SELinux Minimal LiveCD" which doesn't really exist (or isn't published on the Gentoo mirrors). There's even an impo: "You must use a SELinux LiveCD for installing" (line 388). But directory mentioned in the doc (experimental/x86/hardened/livecd on Gentoo's mirrors) contains only hardened ISO, which isn't "minimal" for sure (almost 500MB).
- Part about booting the LiveCD says at the beginning that the default kernel is "gentoo" (line 453) but few paragraphs later it says that the default one is "permissive" (line 524). Moreover doc suggests to use "gentoo" or "gentoo-nofb" kernels to install Gentoo with 2.4 kernel or smp or smp-nofb for installation with 2.6 kernel but none of those kernels is mentioned in table which shows kernels available on the LiveCD. And still it's not clear if it is possible to install SELinux with 2.4 kernels (previous bug).
2. in the hb-install-stage.xml file:
- part about installing a stage tarball mentions about "Gentoo Universal LiveCDs" which don't support SELinux installation (according to hb-install-x86-medium).
Comment 2 Chris PeBenito (RETIRED) gentoo-dev 2006-04-27 20:56:41 UTC
mention of 2.4 removed from the project page.  the install guide has been removed.