Skip to contentSkip to conversation

Suse selinux policy

DISCUSSION Dale Amon 3 participants 6 messages Jul 18, 2005 – Jul 28, 2005 SELinux security module

lore
Share & tools
lore

Dale Amon

author
#0 lore raw

I have recently been doing some work on Suse and Sunday thought I'd play around with their version of selinux packages. However I failed to find their base policy package. Does anyone know what they call it and if it is present in a baseline SLES9?

Signature · 7 lines
------------------------------------------------------
   Dale Amon     [email protected]    +44-7802-188325
       International linux systems consultancy
     Hardware & software system design, security
    and networking, systems programming and Admin
	      "Have Laptop, Will Travel"
------------------------------------------------------
#1 lore raw
Quoted 5 lines · Dale Amon

I have recently been doing some work on Suse and Sunday thought I'd play around with their version of selinux packages. However I failed to find their base policy package. Does anyone know what they call it and if it is present in a baseline SLES9?

I don't know about SLES9 but afaik most SuSE products don't contain a policy package (I once saw one for an older version but it was very outdated). From what I've heard SuSE favors AppArmor over SELinux so it's unlikely they will support SELinux[1].
I have built packages for 9.2 and am currently building some for 9.3, you can see the work I have done at
http://www.cip.ifi.lmu.de/~bleher/selinux/suse/s?rpm-9.{2,3}/
The policy at my site is rather old but if you want I can send you a newer policy.

Thomas

[1] Please note that I am just a normal SuSE user with no internal contacts at SuSE so take this with a grain of salt.

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
author
#2 lore raw
Quoted 4 lines · Thomas Bleher

I don't know about SLES9 but afaik most SuSE products don't contain a policy package (I once saw one for an older version but it was very outdated). From what I've heard SuSE favors AppArmor over SELinux so it's unlikely they will support SELinux[1].

It doesn't make sense to me. Why would the kernel in SLES9 have selinux compiled in (with default boot of selinux=0) and the CD's contain libselinux, policycoreutils, etc, etc, and no policy? The Novell OES version uses the same disk set as well, I have been working with both over the last month.

Signature · 7 lines
------------------------------------------------------
   Dale Amon     [email protected]    +44-7802-188325
       International linux systems consultancy
     Hardware & software system design, security
    and networking, systems programming and Admin
	      "Have Laptop, Will Travel"
------------------------------------------------------
author
#3 lore raw

Is there anyone here from Suse who could discuess
SELinux setup in SLES9? The silence thus far is
deafening...

Signature · 7 lines
------------------------------------------------------
   Dale Amon     [email protected]    +44-7802-188325
       International linux systems consultancy
     Hardware & software system design, security
    and networking, systems programming and Admin
	      "Have Laptop, Will Travel"
------------------------------------------------------
#4 lore raw
In reply to Dale Amon
Quoted 6 lines · Dale Amon

It doesn't make sense to me. Why would the kernel in SLES9 have selinux compiled in (with default boot of selinux=0) and the CD's contain libselinux, policycoreutils, etc, etc, and no policy? The Novell OES version uses the same disk set as well, I have been working with both over the last month.

Just my opinion: If they include policy in SLES, they have to support it too. Whereas just including the SELinux code but disabling it by default and not providing a policy themselves lets them say that they have "SELinux support" without having to deal with the time and effort required to properly configure a policy for the entire distro, integrate support throughout their userland, test the system with a loaded policy in enforcing mode, etc. Pushes the burden to the customer, while still claiming the advertising benefit of claiming that they support SELinux. Note that their press release about acquiring AppArmor/SubDomain claimed that they were the first commercial distro to support SELinux, where "support" apparently just means "code included", and not even all of that.

Signature · 8 lines
Stephen Smalley
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.
author
#5 lore raw
Quoted 4 lines · Stephen Smalley

Just my opinion: If they include policy in SLES, they have to support it too. Whereas just including the SELinux code but disabling it by default and not providing a policy themselves lets them say that they have "SELinux support" without having to deal with the time and effort

Quoted 8 lines

required to properly configure a policy for the entire distro, integrate support throughout their userland, test the system with a loaded policy in enforcing mode, etc. Pushes the burden to the customer, while still claiming the advertising benefit of claiming that they support SELinux. Note that their press release about acquiring AppArmor/SubDomain claimed that they were the first commercial distro to support SELinux, where "support" apparently just means "code included", and not even all of that.

Thanks for getting back to me. I was hoping it was a failure on my part to *find* it but did fear this might be the case.

Signature · 7 lines
------------------------------------------------------
   Dale Amon     [email protected]    +44-7802-188325
       International linux systems consultancy
     Hardware & software system design, security
    and networking, systems programming and Admin
	      "Have Laptop, Will Travel"
------------------------------------------------------