Skip to contentSkip to conversation

RH8 policy support

DISCUSSION Brad Chapman 2 participants 4 messages Oct 4, 2002 – Oct 5, 2002 SELinux security module

lore
Share & tools
lore
#0 lore raw

Does your policy work well (or mostly well) on RH8? I'm installing it soon and would like to make your policy work with a minimum of fuss (i.e. it takes less than three hours to edit the policy to make it work ;). Do you know of any problems so far between your policy and RH8?

Thanks,

Brad

__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com

--
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 1 line · Brad Chapman

Does your policy work well (or mostly well) on RH8? I'm installing it soon

My policy is little different from that which is in the Sourceforge CVS tree.

Quoted 3 lines

and would like to make your policy work with a minimum of fuss (i.e. it takes less than three hours to edit the policy to make it work ;). Do you know of any problems so far between your policy and RH8?

I don't know. I have not had any need to install it on Red Hat.

To get SE Linux running on Red Hat as well as it does on Debian the following needs to be done:

Wrappers for rpm and related commands to run them in system_u:system_r .

Support for relabelling files after installing a new RPM package.

Policy to make the install scripts start daemons in the correct domain.

Testing all this on standard operation of Red Hat machines to find differences from Debian and write policy and patches to programs to match.

Probably about 3 months work should do it.

As for getting basic functionality working, I don't know of anything in particular that'll stop it working, but RH 8 has enough new things that there's certain to be some relevant changes, probably more than 3 hours work will be required. But don't be deterred! This is fun!

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.
#2 lore raw
Quoted 4 lines · --- Russell Coker
Quoted 1 line · Brad Chapman

Does your policy work well (or mostly well) on RH8? I'm installing it soon

My policy is little different from that which is in the Sourceforge CVS tree.

ACK

Quoted 6 lines
Quoted 4 lines

and would like to make your policy work with a minimum of fuss (i.e. it takes less than three hours to edit the policy to make it work ;). Do you know of any problems so far between your policy and RH8?

I don't know. I have not had any need to install it on Red Hat.

I have. Besides, RH8 is a major new platform and a lot of people besides me may try to use SELinux on it.

Quoted 6 lines

To get SE Linux running on Red Hat as well as it does on Debian the following

needs to be done:

Wrappers for rpm and related commands to run them in system_u:system_r .

I can certainly try this, but it will be ugly and evil and will need some major cleanups before going into the CVS.

Quoted 2 lines

Support for relabelling files after installing a new RPM package.

How would you do that?

Quoted 2 lines

Policy to make the install scripts start daemons in the correct domain.

What install scripts do you mean?

Quoted 6 lines

Testing all this on standard operation of Red Hat machines to find differences
from Debian and write policy and patches to programs to match.

Quoted 6 lines

Probably about 3 months work should do it.

As for getting basic functionality working, I don't know of anything in particular that'll stop it working, but RH 8 has enough new things that there's certain to be some relevant changes, probably more than 3 hours work will be required. But don't be deterred! This is fun!

I'm not deterred yet. After I eliminate most of the errors I'll post logs and patches; maybe after a while I'll be able to activate enforcing mode ;)

Quoted 7 lines
Signature · 5 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

Brad

__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com

--
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 4 lines · Brad Chapman
Quoted 1 line

Wrappers for rpm and related commands to run them in system_u:system_r .

I can certainly try this, but it will be ugly and evil and will need some major cleanups before going into the CVS.

No, just copy my code for wrapping dpkg.

Quoted 3 lines
Quoted 1 line

Support for relabelling files after installing a new RPM package.

How would you do that?

rpm triggers should do it, just need to call a script that gets a list of files in the package and then uses "setfiles -s" to relabel them.

Quoted 3 lines
Quoted 1 line

Policy to make the install scripts start daemons in the correct domain.

What install scripts do you mean?

Well if you install a new version of cron then the package manager has to stop the old version and start the new version. You don't want cron running in the rpm_t domain...

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.