Skip to contentSkip to conversation

patching 2.6.0-test1

DISCUSSION max barwell 2 participants 2 messages Jul 18, 2003 SELinux security module

lore
Share & tools
lore
#0 lore raw

I wanted to try out 2.6.0-test1, with selinux too of course.

I used the http://www.nsa.gov/selinux/lk/2.6.0-test1-selinux1.patch.gz
patch, but when i booted and tried to relabel my system, an error said I was running a non selinux kernel.

Inspection of my dmesg does however say selinux initialised, but there are none of the usual messages about context labeling etc.

I noticed there are several patches in the
http://www.nsa.gov/selinux/lk/ directory, do I only need the patch I mentioned above, or a combo, or do I need updated selinux files to handle a kernel this new.

I am using debian sid with Russel's selinux packages.

regards Max

--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.

#1 lore raw
Quoted 9 lines · max barwell

I wanted to try out 2.6.0-test1, with selinux too of course.

I used the http://www.nsa.gov/selinux/lk/2.6.0-test1-selinux1.patch.gz
patch, but when i booted and tried to relabel my system, an error said I was running a non selinux kernel.

Inspection of my dmesg does however say selinux initialised, but there are none of the usual messages about context labeling etc.

Quoted 6 lines

I noticed there are several patches in the
http://www.nsa.gov/selinux/lk/ directory, do I only need the patch I mentioned above, or a combo, or do I need updated selinux files to handle a kernel this new.

I am using debian sid with Russel's selinux packages.

You can't use the 2.4-based SELinux policy and userland with the 2.5/6-based SELinux; the API has been completely overhauled, file security labels have been migrated to using xattr (extended attributes), etc. You need the 2.5/6-based SELinux policy and userland as well as the new kernel. That is available from
http://www.nsa.gov/selinux/download5.html - you can use the policy and userland components there with the 2.6.0-test1-selinux1 kernel; they are still compatible despite the last full release being based on 2.5.74. However, since you are using Debian, you might want to try Colin Walters' ports of the packages and patches.

Signature · 8 lines
Stephen Smalley <[email protected]>
National Security Agency


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.