Skip to contentSkip to conversation

SELinux ISO...

DISCUSSION Joshua Brindle 1 participant 1 message Apr 21, 2003 SELinux security module

lore
Share & tools
lore
#0 lore raw
Quoted 2 lines · Joshua Brindle
Quoted 1 line

http://sourceforge.net/project/showfiles.php?group_id=21266&release_id=1221

Quoted 1 line
Quoted 1 line

17 there are iso's available there, i think they are based off redhat

and

Quoted 3 lines
Quoted 1 line

they are sorta old

Have you tried them out?

taken a look at them, i know it labels the filesystem and loads policy, etc during install
thats about as far as i got before getting bored with it.

Quoted 1 line

AFAIK no-one has yet solved all the issues involved in having a full

SE Linux

Quoted 1 line

installation process with all files being labeled all the time. This

would

Quoted 3 lines

require that the root media for the installation (floppy disk image or

CD-ROM) have all it's files labeled with PSID's so that all programs

get the

Quoted 8 lines

right type.

A CD-ROM that just does a regular Linux install with a SE kernel isn't

particularly exciting.

I did some work that leads toward this when the SE Linux kernel code initialised itself on loading the initrd, and I had an initrd with a

mini

Quoted 1 line

policy installed (about 30K compressed from memory) to ensure that

everything

Quoted 1 line

it did was in the correct context. Some policy changes related to

this were

Quoted 1 line

incorporated in the main policy for init.te, kernel.te, and the

sysadm_t and

Quoted 1 line

user_t policies. I posted one patch about this on 2002/Sep/10, and

some

Quoted 1 line

other small patches went in around that time.

won't the filesystem already be labeled? i don't understand the need for an initrd.

Quoted 2 lines
Quoted 2 lines

--
I think there is a commercial effort to provide these called

Westcam(?)

Quoted 2 lines
Quoted 2 lines

I can't
find their url offhand but if you search the archives of this list

you

Quoted 4 lines
Quoted 2 lines

should find
them.

Mark Westerman.

right, his site westcam.com doesn't appear to be responding..

Quoted 1 line
Quoted 1 line

SELinux on Gentoo isn't yet usable without the kernel in

development

Quoted 2 lines
Quoted 2 lines

mode, but
it's quickly getting there, I'll make some sort of announcement

when

Quoted 3 lines
Quoted 1 line

it's really ready.

What problems are you having? Post here and I'm sure we can offer

some useful

Quoted 1 line

advice.

We are looking at some logistical issues now. First we need a good way of transporting policies. Portage does all the package downloads itself, and limited files can be stored directly in portage, we are looking into distributing application specific policies with the accompanying application rather than having a giant policy package with everything possible.

Second, we are looking into labeling files before they are installed to the live filesystem and then moving them while preserving permissions. One thing we have discussed (and will probably be working on soon) is adding an argument to setfiles to tell it where to pretend the root is.

Portage compiles and installes apps in a separate part of the filesystem (/var/tmp/portage/app-ver/) to be exact, and then installs everything to /var/tmp/portage/app-ver/image and gets a manifest of the package contents for use later when upgrading or removing. Our idea is to label all the files in /var/tmp/portage/app-ver/image/ as if they were on / using the base-policy and the application specific policy and then move them to the live filesystem while preserving permissions.

We have not started this yet, we've done some preliminary experimentation but we still don't have a strong base-policy so we are working to get that done first.

Any insight or previous experience in this would be greatly appreciated. :)

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