Skip to contentSkip to conversation

new Debian packages

DISCUSSION Russell Coker 3 participants 6 messages Dec 13, 2002 – Dec 14, 2002 SELinux security module

lore
Share & tools
lore
#0 lore raw

I have packaged the new kernel patch and the selinux-small code and uploaded them to my web site and to Debian.

Please make sure that you install the "selinux" and "selinux-policy-default" packages BEFORE booting a kernel compiled with the latest kernel patch.

The new kernel patch has a new type that is used in the boot phase and will be unhappy if you have an old policy (it still seems to work though - you can get your machine to the stage of installing the new policy and rebooting when it's in such a state).

Russell Coker

--
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 5 lines · Russell Coker

I have packaged the new kernel patch and the selinux-small code and uploaded them to my web site and to Debian.

Please make sure that you install the "selinux" and "selinux-policy-default" packages BEFORE booting a kernel compiled with the latest kernel patch.

I'll be testing this next week. Any new kernels from Brian that I could give a shakedown while I'm at it? (I've hosed my test machine again. Must remember to be more careful. Will probably write a new chapter into my "things not to do with SELinux" paper. :) )

Signature · 8 lines
http://web.lemuria.org/pubkey.html
pub  1024D/2D7A04F5 2002-05-16 Tom Vogt <[email protected]>
     Key fingerprint = C731 64D1 4BCF 4C20 48A4  29B2 BF01 9FA1 2D7A 04F5

--
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.
#2 lore raw
Quoted 4 lines · Tom

I'll be testing this next week. Any new kernels from Brian that I could give a shakedown while I'm at it? (I've hosed my test machine again. Must remember to be more careful. Will probably write a new chapter into my "things not to do with SELinux" paper. :) )

The latest patch I have, at the usual place, is for the 2.4.19 kernel.

It has at least one know security bug fixed in the kernel, plus lots of patches I need from time to time (eg. EVMS, ACL, SE-Linux, FreeS/WAN, DOV).

I am not sure if there are version of these patches that will work with 2.4.20 yet, that is something I need to investigate (DOV at least is suppost to have been integrated into the kernel by now).

Also I haven't yet been able to get EVMS working properly (the kernel fails to "discover" EVMS volumes), but that may be my fault, and is off-topic for this list anyway.
--
Brian May <[email protected]>

--
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.

#3 lore raw
Quoted 6 lines · Brian May
Quoted 4 lines · Tom

I'll be testing this next week. Any new kernels from Brian that I could give a shakedown while I'm at it? (I've hosed my test machine again. Must remember to be more careful. Will probably write a new chapter into my "things not to do with SELinux" paper. :) )

Quoted 6 lines

The latest patch I have, at the usual place, is for the 2.4.19 kernel.

It has at least one know security bug fixed in the kernel, plus lots of patches I need from time to time (eg. EVMS, ACL, SE-Linux, FreeS/WAN, DOV).

That'll keep you busy!

I've given up on EVMS as Linus is not accepting the full EVMS thing and they have been forced to radically change their plans. As this happened before I got around to doing anything serious with EVMS I decided to skip it until it's all settled down.

FreeS/WAN is in a similar situation, it's never going into the main kernel tree and there's already a replacement for 2.6.

I've been thinking that it may be time to start moving some of my machines to 2.5.x. I think that 2.5.x development has slowed down enough for me to port the LSM patches between kernels.

I'm just looking at 2.5 now. It appears to have IPSec, it has device-mapper (not sure if this means LVM2 is in), it has ACLs, and lots of other nice things such as CryptoAPI.

Maybe next time I run SE play machines I'll run one on a 2.4.x kernel and one on 2.5.x (Sun gave me a RaQ to use for this sort of thing - thanks Sun).

Quoted 3 lines

I am not sure if there are version of these patches that will work with 2.4.20 yet, that is something I need to investigate (DOV at least is suppost to have been integrated into the kernel by now).

What is DOV?

Signature · 10 lines
http://www.coker.com.au/selinux/   My NSA Security Enhanced Linux packages
http://www.coker.com.au/bonnie++/  Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/    Postal SMTP/POP benchmark
http://www.coker.com.au/~russell/  My home page


--
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.
#5 lore raw
In reply to Tom
Quoted 4 lines · Tom
Quoted 3 lines · Russell Coker

I have packaged the new kernel patch and the selinux-small code and uploaded them to my web site and to Debian.

Quoted 8 lines
Quoted 3 lines

Please make sure that you install the "selinux" and "selinux-policy-default" packages BEFORE booting a kernel compiled with the latest kernel patch.

I'll be testing this next week. Any new kernels from Brian that I could give a shakedown while I'm at it? (I've hosed my test machine again. Must remember to be more careful. Will probably write a new chapter into my "things not to do with SELinux" paper. :) )

With what Brian is attempting to do with his kernels it might take him a while to get a new one out. Maybe you would be better off just compiling your own.

Signature · 10 lines
http://www.coker.com.au/selinux/   My NSA Security Enhanced Linux packages
http://www.coker.com.au/bonnie++/  Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/    Postal SMTP/POP benchmark
http://www.coker.com.au/~russell/  My home page


--
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.
#4 lore raw
In reply to Russell Coker
Quoted 1 line · Russell Coker

That'll keep you busy!

The main reason I haven't been racing to do 2.4.20!

Quoted 4 lines

I've given up on EVMS as Linus is not accepting the full EVMS thing and they have been forced to radically change their plans. As this happened before I got around to doing anything serious with EVMS I decided to skip it until it's all settled down.

EVMS looks pretty good, the reason it wouldn't work on my test machine was because the lvm EVMS module wasn't going to autoload. All EVMS modules need to be manually loaded, it appears.

I will be interested to see what happens with EVMS now, apparently the user front ends will remain identical, just the backend will use existing kernel components, like LVM2 and device mapper, instead of "re-inventing the wheel".

Quoted 2 lines

FreeS/WAN is in a similar situation, it's never going into the main kernel tree and there's already a replacement for 2.6.

Agreed here, it may be that I never get FreeS/WAN working as a result (although I came pretty close on my last attempt).

Quoted 7 lines

I've been thinking that it may be time to start moving some of my machines to 2.5.x. I think that 2.5.x development has slowed down enough for me to port the LSM patches between kernels.

I'm just looking at 2.5 now. It appears to have IPSec, it has device-mapper (not sure if this means LVM2 is in), it has ACLs, and lots of other nice things such as CryptoAPI.

My impression was that LVM2 was in already, but I might be mistaken.

Quoted 8 lines

Maybe next time I run SE play machines I'll run one on a 2.4.x kernel and one on 2.5.x (Sun gave me a RaQ to use for this sort of thing - thanks Sun).

Quoted 3 lines

I am not sure if there are version of these patches that will work with 2.4.20 yet, that is something I need to investigate (DOV at least is suppost to have been integrated into the kernel by now).

What is DOV?

Data-Over-Voice, an ugly hack for ISDN in Australia to get cheaper ISDN call rates (Telstra thinks it is a voice call, not a data call...).

Getting back to SE-Linux, and my private archive, I have been experimentating with DAK (the official Debian archive scripts). I have almost entirely converted my archive to use these scripts instead of my own (which had certain limitations that were going to be hard to fix).

This means that I can:
- Support automatic package installs, without manual intervention.
- Better checks new files, eg. to make sure the version is correct and there is a copy of the *.orig.tar.gz file available.
- Support automatically deleting obsolete files.
- Cryptographic signing of Release file, which can be used to ensure that all other files in the archive are valid.
- Support automatic building on other architectures (except I don't have any spare non-i386 computers to do this...).
- Automatic notifications to a mailing list for new uploads (would anybody be interested in subscribing to such a mailing list?).
- There are 3 distributions: unstable (where new uploads will go), testing (only there because some of the scripts stupidly hardcode it), and stable (where packages go when there appear to be working).

What I still have to do:
- Create announce mailing list?
- Fix packages that DAK rejects, due to technical errors in packaging.
- Learn who to move packages from "unstable" to "stable"
(I suspect I know how; not tested yet).
- Think of some use for the "testing" distribution.
--
Brian May <[email protected]>

--
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.