Skip to contentSkip to conversation

SELinux novice and SuSE

DISCUSSION Clif Flynt 2 participants 2 messages Jan 3, 2006 SELinux security module

lore
Share & tools
lore

Clif Flynt

author
#0 lore raw

Hi,

I need to configure a SuSE workstation to meet NISPOM security standards.

A previous incarnation of this used SNARE, SuSE 9.1, a modified Fedora core and a lot of luck. I'm hoping to do something more out-of-the-box this time.

My belief is that the basics for SELinux are compiled into SuSE 10.0. I could be wrong.

Here's what I've done to bring SELinux up on my test system:

Edited /boot/grub/menu.lst
Changed selinux=0 to selinux=1

Downloaded rpms for SuSE from:

http://www.cip.ifi.lmu.de/~bleher/selinux/suse/rpm-10.0/

Installed with:
rpm -Uv --force *rpm

Got base security policy from:
http://www.cip.ifi.lmu.de/~bleher/arch/selinux/policy/policy--snapshot/policy--$

unpacked, did make.
Fails for lack of new netlink class, but installed something.

rebooted.
sestatus still returns disabled.
There is no /selinux pseudodirectory

Obviously I'm missing something. Can someone point me to a simple How-To for SuSE, or mention what I'm stupidly missing?

Thanks,
Clif

Signature · 11 lines
.... Clif Flynt ... http://www.cflynt.com ... [email protected] ...
.. Tcl/Tk: A Developer's Guide (2nd edition) - Morgan Kauffman ..
.....13th Annual Tcl/Tk Conference:  Oct, 2006,  Chicago, IL.....
.............  http://www.tcl.tk/community/tcl2005/  ............



--
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 6 lines · Clif Flynt

I need to configure a SuSE workstation to meet NISPOM security standards.

A previous incarnation of this used SNARE, SuSE 9.1, a modified Fedora core and a lot of luck. I'm hoping to do something more out-of-the-box this time.

The short answer is:
Don't do it with SUSE, if at all possible.
I have been maintaining packages for SUSE for a while and it's a lot of work if you want to do it right.
After SUSE opened their bugzilla I tried to push various SELinux parts into SUSE but failed. Now SUSE has announced that they will not include SELinux (see https://bugzilla.novell.com/show_bug.cgi?id=132914)

I have not yet fully decided what to do but most probably I will switch to Ubuntu and help maintain the packages there.

Quoted 2 lines

My belief is that the basics for SELinux are compiled into SuSE 10.0. I could be wrong.

There are some packages, but they are really outdated.

Quoted 9 lines

Here's what I've done to bring SELinux up on my test system:

Edited /boot/grub/menu.lst
Changed selinux=0 to selinux=1

Downloaded rpms for SuSE from:

http://www.cip.ifi.lmu.de/~bleher/selinux/suse/rpm-10.0/

Quoted 8 lines

Installed with:
rpm -Uv --force *rpm

Got base security policy from:
http://www.cip.ifi.lmu.de/~bleher/arch/selinux/policy/policy--snapshot/policy--$

unpacked, did make.
Fails for lack of new netlink class, but installed something.

Sorry, I haven't updated the policy on my site in a while. I can send you a snapshot if you wish.

Quoted 3 lines

rebooted.
sestatus still returns disabled.
There is no /selinux pseudodirectory

You have to create it by hand, so init can mount selinuxfs over it.

If you really need to go with SUSE, your best bet is to first install a Fedora machine and look there how everything is supposed to look like. Otherwise, see if Fedora can do what you want. RedHat is currently working on LSPP support, see
https://www.redhat.com/mailman/listinfo/redhat-lspp

Hope this helps,
Thomas

Signature · 2 lines
http://www.cip.ifi.lmu.de/~bleher/selinux/ - my SELinux pages
GPG-Fingerprint: BC4F BB16 30D6 F253 E3EA  D09E C562 2BAE B2F4 ABE7