<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Software not working? Disable SELinux.</title>
	<atom:link href="http://securityblog.org/brindle/2006/05/21/software-not-working-disable-selinux/feed/" rel="self" type="application/rss+xml" />
	<link>http://securityblog.org/brindle/2006/05/21/software-not-working-disable-selinux/</link>
	<description>The ramblings of security neophyte Joshua Brindle</description>
	<pubDate>Sat, 17 May 2008 04:08:32 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5</generator>
		<item>
		<title>By: J Pezaris</title>
		<link>http://securityblog.org/brindle/2006/05/21/software-not-working-disable-selinux/#comment-31422</link>
		<dc:creator>J Pezaris</dc:creator>
		<pubDate>Sun, 11 May 2008 03:38:40 +0000</pubDate>
		<guid isPermaLink="false">http://securityblog.org/brindle/2006/05/21/software-not-working-disable-selinux/#comment-31422</guid>
		<description>Wrong attitude.

SELinux should be EASY TO USE.  Right now, it is not.  It is an unmitigated disaster.  Every time I install a new system, I hope and pray that things have gotten better.  I try.  I follow the directions.  I work with the denials to try to figure out what the problem is.  I read.  I search on the net.  And EVERY SINGLE TIME I END UP BEING FRUSTRATED AND TURN SELINUX OFF.

Total, utter disaster of a package.

Don't make me, the naive user, learn some new arcane mechanisms.  Don't make me learn new arcane syntax (WTF is xxx:yyy:zzz:aaa?  What's the difference between a source and target context? What is a context?  How am I supposed to know if program XYZ is supposed to have access to some file or resource?)  Don't give me inaccurate or incomplete instructions on how to fix the problem.  Don't make me click three times to delete an alert.  Don't make gratuitous changes to tried-and-true GUI mechanisms.  Don't make me spend cycles doing stuff that should JUST WORK.

Oh, and "click icon to view".  You have NO IDEA how many times I clicked THE ICON IN THAT ALERT, and it did nothing?  Why don't you say, CLICK THE ICON IN THE SYSTEM TRAY? 

Total, unmitigated disaster.  This is not even beta test grade software.  It should be removed from Fedora.</description>
		<content:encoded><![CDATA[<p>Wrong attitude.</p>
<p>SELinux should be EASY TO USE.  Right now, it is not.  It is an unmitigated disaster.  Every time I install a new system, I hope and pray that things have gotten better.  I try.  I follow the directions.  I work with the denials to try to figure out what the problem is.  I read.  I search on the net.  And EVERY SINGLE TIME I END UP BEING FRUSTRATED AND TURN SELINUX OFF.</p>
<p>Total, utter disaster of a package.</p>
<p>Don&#8217;t make me, the naive user, learn some new arcane mechanisms.  Don&#8217;t make me learn new arcane syntax (WTF is xxx:yyy:zzz:aaa?  What&#8217;s the difference between a source and target context? What is a context?  How am I supposed to know if program XYZ is supposed to have access to some file or resource?)  Don&#8217;t give me inaccurate or incomplete instructions on how to fix the problem.  Don&#8217;t make me click three times to delete an alert.  Don&#8217;t make gratuitous changes to tried-and-true GUI mechanisms.  Don&#8217;t make me spend cycles doing stuff that should JUST WORK.</p>
<p>Oh, and &#8220;click icon to view&#8221;.  You have NO IDEA how many times I clicked THE ICON IN THAT ALERT, and it did nothing?  Why don&#8217;t you say, CLICK THE ICON IN THE SYSTEM TRAY? </p>
<p>Total, unmitigated disaster.  This is not even beta test grade software.  It should be removed from Fedora.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nik</title>
		<link>http://securityblog.org/brindle/2006/05/21/software-not-working-disable-selinux/#comment-21055</link>
		<dc:creator>Nik</dc:creator>
		<pubDate>Tue, 11 Dec 2007 05:32:37 +0000</pubDate>
		<guid isPermaLink="false">http://securityblog.org/brindle/2006/05/21/software-not-working-disable-selinux/#comment-21055</guid>
		<description>If you cant implement it rigth, why bother.
SELinux is disaster, and yes everyone please disable it for good.
After debuging our PHP code only after a week we realised that SELinux was a problem. Yes the solution is to disable it for good. We dont want to spend
weeks now to figure out how to create and manage policies to make simple 
things work ( simple things you know like work with files, thats what operating system supose to do if some people forgeting that).
If you want to make sure people use it,
make it user-freindly or manageable some how. till then -- good buy.

P.S: i agree if i was working for CIA or NSA some extra layer of security would be
benefitial. And i would propably dedicate a year to learn SELinux by heart, while my salary payed by taxpayers. But right now we need to do things we used to do, and we not gonna do any efforts if they take more than 5 minutes to fix.
If we see problem - we eliminate it, we not trying to figure out how we can live with it.</description>
		<content:encoded><![CDATA[<p>If you cant implement it rigth, why bother.<br />
SELinux is disaster, and yes everyone please disable it for good.<br />
After debuging our PHP code only after a week we realised that SELinux was a problem. Yes the solution is to disable it for good. We dont want to spend<br />
weeks now to figure out how to create and manage policies to make simple<br />
things work ( simple things you know like work with files, thats what operating system supose to do if some people forgeting that).<br />
If you want to make sure people use it,<br />
make it user-freindly or manageable some how. till then &#8212; good buy.</p>
<p>P.S: i agree if i was working for CIA or NSA some extra layer of security would be<br />
benefitial. And i would propably dedicate a year to learn SELinux by heart, while my salary payed by taxpayers. But right now we need to do things we used to do, and we not gonna do any efforts if they take more than 5 minutes to fix.<br />
If we see problem - we eliminate it, we not trying to figure out how we can live with it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert</title>
		<link>http://securityblog.org/brindle/2006/05/21/software-not-working-disable-selinux/#comment-19390</link>
		<dc:creator>Robert</dc:creator>
		<pubDate>Thu, 18 Oct 2007 15:13:00 +0000</pubDate>
		<guid isPermaLink="false">http://securityblog.org/brindle/2006/05/21/software-not-working-disable-selinux/#comment-19390</guid>
		<description>I meant to say "I DO NOT plan to load backdoor loaded government applications so they can get in whenever they wish."  Sorry for the confusion.

Now that I think about it, that likely will responded with "SE Linux is open source and someone would have found that in the code by now."  

To respond to that, many vulnerabilities in apache and sql injection attacks memory block vulnerabilities to allow access to the server.  I do not know the SE Linux code well enough to readily see if the NSA built corruptions into the code to allow injection attacks or force memory overruns.  No one has had to time to see if these attacks can become a reality.  I just find it real suspect that everyone jumped on the SELinux bandwagon all at the same time.  Novell has left that game and our Novell reps here site the same issues with me that I have brought up here.

I expect Novell knows what it is doing, therefore, I side with paranoia, SE Linux is gone.</description>
		<content:encoded><![CDATA[<p>I meant to say &#8220;I DO NOT plan to load backdoor loaded government applications so they can get in whenever they wish.&#8221;  Sorry for the confusion.</p>
<p>Now that I think about it, that likely will responded with &#8220;SE Linux is open source and someone would have found that in the code by now.&#8221;  </p>
<p>To respond to that, many vulnerabilities in apache and sql injection attacks memory block vulnerabilities to allow access to the server.  I do not know the SE Linux code well enough to readily see if the NSA built corruptions into the code to allow injection attacks or force memory overruns.  No one has had to time to see if these attacks can become a reality.  I just find it real suspect that everyone jumped on the SELinux bandwagon all at the same time.  Novell has left that game and our Novell reps here site the same issues with me that I have brought up here.</p>
<p>I expect Novell knows what it is doing, therefore, I side with paranoia, SE Linux is gone.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert</title>
		<link>http://securityblog.org/brindle/2006/05/21/software-not-working-disable-selinux/#comment-19388</link>
		<dc:creator>Robert</dc:creator>
		<pubDate>Thu, 18 Oct 2007 14:43:58 +0000</pubDate>
		<guid isPermaLink="false">http://securityblog.org/brindle/2006/05/21/software-not-working-disable-selinux/#comment-19388</guid>
		<description>I think when the NSA built SELinux, they had some vision of every Linux admin running things from the i-node level.  Unix/Linux servers are not managed this way, at least not very efficiently.

Now I deployed Linux here at my company and first order of business, disable SELinux.  In some cases, remove the offender code and recompile the kernel.

I do agree with author saying applications should be made to work with SELinux, but that is the vendor's or the developer's problem.  Not mine.  I have to keep servers up to make this company money.

On a personal note, I do not like SELinux and feel the government has no business in assisting securing servers I am responsible for.  I do plan to load backdoor loaded government applications so they can get in whenever they wish.  Some of my development staff tells me SELinux is worse than viruses coming from China.

Take this for what it's worth.</description>
		<content:encoded><![CDATA[<p>I think when the NSA built SELinux, they had some vision of every Linux admin running things from the i-node level.  Unix/Linux servers are not managed this way, at least not very efficiently.</p>
<p>Now I deployed Linux here at my company and first order of business, disable SELinux.  In some cases, remove the offender code and recompile the kernel.</p>
<p>I do agree with author saying applications should be made to work with SELinux, but that is the vendor&#8217;s or the developer&#8217;s problem.  Not mine.  I have to keep servers up to make this company money.</p>
<p>On a personal note, I do not like SELinux and feel the government has no business in assisting securing servers I am responsible for.  I do plan to load backdoor loaded government applications so they can get in whenever they wish.  Some of my development staff tells me SELinux is worse than viruses coming from China.</p>
<p>Take this for what it&#8217;s worth.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alaeddin</title>
		<link>http://securityblog.org/brindle/2006/05/21/software-not-working-disable-selinux/#comment-8085</link>
		<dc:creator>Alaeddin</dc:creator>
		<pubDate>Tue, 01 May 2007 12:24:54 +0000</pubDate>
		<guid isPermaLink="false">http://securityblog.org/brindle/2006/05/21/software-not-working-disable-selinux/#comment-8085</guid>
		<description>&lt;strong&gt;Dear,&lt;/strong&gt;
I hope my email finds you well.

I saw your email for seLinux mailing list, and I hope I could get a reply on my issue here.

Well, I'm a Telco implementation engineer, and installing some Telco services on seLinux system, the full system name is as below:

 Linux 2.6.9-22.ELsmp #1 SMP Mon Sep 19 18:32:14 EDT 2005 i686 i686 i386 GNU/Linux

 After installing the service, and now it's up and running well, we are at auto stop/start step, so once the machine got rebooted or shutdown, the service will stop and start automatically, but after going through this process, while shutting down the machine and starting up, we got in the boot log the follow:

 Apr 30 17:10:13  : Starting VSMS server--&#62;
Apr 30 17:10:13  VSMS: Do you want to choose a different one? [n]


And it always stuck at that point.

 I was wondering, does this issue related to the seLinux setting, shall I disable it or as I read in some forums, that changing the policy type parameter " SELINUXTYPE " from targeted to strict.

 Kindly, may you advise me on that, and if this was the problem and setting has been changed, would this affect the system.

 Your fast response is highly appreciate it.

 All regards,
Ala'eddin</description>
		<content:encoded><![CDATA[<p><strong>Dear,</strong><br />
I hope my email finds you well.</p>
<p>I saw your email for seLinux mailing list, and I hope I could get a reply on my issue here.</p>
<p>Well, I&#8217;m a Telco implementation engineer, and installing some Telco services on seLinux system, the full system name is as below:</p>
<p> Linux 2.6.9-22.ELsmp #1 SMP Mon Sep 19 18:32:14 EDT 2005 i686 i686 i386 GNU/Linux</p>
<p> After installing the service, and now it&#8217;s up and running well, we are at auto stop/start step, so once the machine got rebooted or shutdown, the service will stop and start automatically, but after going through this process, while shutting down the machine and starting up, we got in the boot log the follow:</p>
<p> Apr 30 17:10:13  : Starting VSMS server&#8211;&gt;<br />
Apr 30 17:10:13  VSMS: Do you want to choose a different one? [n]</p>
<p>And it always stuck at that point.</p>
<p> I was wondering, does this issue related to the seLinux setting, shall I disable it or as I read in some forums, that changing the policy type parameter &#8221; SELINUXTYPE &#8221; from targeted to strict.</p>
<p> Kindly, may you advise me on that, and if this was the problem and setting has been changed, would this affect the system.</p>
<p> Your fast response is highly appreciate it.</p>
<p> All regards,<br />
Ala&#8217;eddin</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: drear</title>
		<link>http://securityblog.org/brindle/2006/05/21/software-not-working-disable-selinux/#comment-6838</link>
		<dc:creator>drear</dc:creator>
		<pubDate>Fri, 20 Apr 2007 05:50:00 +0000</pubDate>
		<guid isPermaLink="false">http://securityblog.org/brindle/2006/05/21/software-not-working-disable-selinux/#comment-6838</guid>
		<description>&lt;blockquote&gt;
"The fact is that SELinux is a disruptive technology. There will always be people who fight against disruptive technologies, people who like things the way they are and see no need to change."
&lt;/blockquote&gt;

While being just a quote from the overall conclusion, this pretty much gathers the unfortunate route any disruptive technology must face. I would here even overstate Tonyc's comment; the more disruptive the technology, the more detailed and vivid the documentation must be.

In any case, what made me to write this comment, is the unfortunate antagonism towards new security technology, which is surprising, given the field where it is applied.

And I have seen several instances where a similar recommendation has been given by people involved in the same unnamed distribution as you, albeit not in the same subfield - again very unfortunate and indeed surprising general attitude.</description>
		<content:encoded><![CDATA[<blockquote><p>
&#8220;The fact is that SELinux is a disruptive technology. There will always be people who fight against disruptive technologies, people who like things the way they are and see no need to change.&#8221;
</p></blockquote>
<p>While being just a quote from the overall conclusion, this pretty much gathers the unfortunate route any disruptive technology must face. I would here even overstate Tonyc&#8217;s comment; the more disruptive the technology, the more detailed and vivid the documentation must be.</p>
<p>In any case, what made me to write this comment, is the unfortunate antagonism towards new security technology, which is surprising, given the field where it is applied.</p>
<p>And I have seen several instances where a similar recommendation has been given by people involved in the same unnamed distribution as you, albeit not in the same subfield - again very unfortunate and indeed surprising general attitude.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tonyc</title>
		<link>http://securityblog.org/brindle/2006/05/21/software-not-working-disable-selinux/#comment-6775</link>
		<dc:creator>Tonyc</dc:creator>
		<pubDate>Wed, 18 Apr 2007 16:17:49 +0000</pubDate>
		<guid isPermaLink="false">http://securityblog.org/brindle/2006/05/21/software-not-working-disable-selinux/#comment-6775</guid>
		<description>While I agree with your article, you don't point to a single tutorial - show us how easy it is to implement SELinux on a few sample applications if it's so easy to do so! If you want more developers to add the proper rules for their apps, you should add clear and concise documentation for enabling SELinux for a few sample applications. We've yet to find a good *cross-distro* set of commands to configure SELinux for an app. If YOU provided a step-by-step guide for various scenarios, I'm sure developers would add SELinux to their apps. We need a document that states the exact steps to properly enable a sample application. SELinux is a complex animal, if there are not clear concise tutorials available from the SELinux team, the application developers can't be blamed for not enabling SELinux on their apps, can they?. I'm not picking on SELinux, I find the lack of documentation to be the biggest problem for the majority of open source projects. Take a look at MySQL, Eclipse, and PHP, they provide excellent documentation on their applications - I have no relation to these projects. Good documentation is a significant factor when deciding to implement or use any software package in a company, including SELinux. Please, give us simple, clear, and concise step-by-step documentation for enabling SELinux on various sample apps. We are waiting...</description>
		<content:encoded><![CDATA[<p>While I agree with your article, you don&#8217;t point to a single tutorial - show us how easy it is to implement SELinux on a few sample applications if it&#8217;s so easy to do so! If you want more developers to add the proper rules for their apps, you should add clear and concise documentation for enabling SELinux for a few sample applications. We&#8217;ve yet to find a good *cross-distro* set of commands to configure SELinux for an app. If YOU provided a step-by-step guide for various scenarios, I&#8217;m sure developers would add SELinux to their apps. We need a document that states the exact steps to properly enable a sample application. SELinux is a complex animal, if there are not clear concise tutorials available from the SELinux team, the application developers can&#8217;t be blamed for not enabling SELinux on their apps, can they?. I&#8217;m not picking on SELinux, I find the lack of documentation to be the biggest problem for the majority of open source projects. Take a look at MySQL, Eclipse, and PHP, they provide excellent documentation on their applications - I have no relation to these projects. Good documentation is a significant factor when deciding to implement or use any software package in a company, including SELinux. Please, give us simple, clear, and concise step-by-step documentation for enabling SELinux on various sample apps. We are waiting&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vexorg</title>
		<link>http://securityblog.org/brindle/2006/05/21/software-not-working-disable-selinux/#comment-1148</link>
		<dc:creator>vexorg</dc:creator>
		<pubDate>Sat, 09 Dec 2006 07:37:56 +0000</pubDate>
		<guid isPermaLink="false">http://securityblog.org/brindle/2006/05/21/software-not-working-disable-selinux/#comment-1148</guid>
		<description>&lt;blockquote&gt;This is not hard to fix without disabling SELinux altogether but some vendors choose to put you at risk rather than do 5 minutes of research.&lt;/blockquote&gt;
Perhaps if you had listed what those steps were on this blog, I (and others) would have found the answer I was looking for.  Instead, I found a semi-rant on stupid, lazy companies

&lt;blockquote&gt;A quick web search for “disable selinux” shows many companies (and even opensource projects) which list disabling SELinux as the “solution” to their malfunctioning software. That list includes: VMWare, Novell, Brother printers, Oracle, Sun, @Mail, Positive Software, Zend (PHP), Subversion, … the list goes on.&lt;/blockquote&gt;

If that many large companies are recommending that selinux be disabled, to me this means that either selinux is useless (very untrue), or that they can't find the information they need.  Since you work in this field, it is obvious to you what should be done, just as it is obvious to a race car mechanic what that ticking sound means in a Formula 1 race car.</description>
		<content:encoded><![CDATA[<blockquote><p>This is not hard to fix without disabling SELinux altogether but some vendors choose to put you at risk rather than do 5 minutes of research.</p></blockquote>
<p>Perhaps if you had listed what those steps were on this blog, I (and others) would have found the answer I was looking for.  Instead, I found a semi-rant on stupid, lazy companies</p>
<blockquote><p>A quick web search for “disable selinux” shows many companies (and even opensource projects) which list disabling SELinux as the “solution” to their malfunctioning software. That list includes: VMWare, Novell, Brother printers, Oracle, Sun, @Mail, Positive Software, Zend (PHP), Subversion, … the list goes on.</p></blockquote>
<p>If that many large companies are recommending that selinux be disabled, to me this means that either selinux is useless (very untrue), or that they can&#8217;t find the information they need.  Since you work in this field, it is obvious to you what should be done, just as it is obvious to a race car mechanic what that ticking sound means in a Formula 1 race car.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dmitriy Kropivnitskiy</title>
		<link>http://securityblog.org/brindle/2006/05/21/software-not-working-disable-selinux/#comment-1024</link>
		<dc:creator>Dmitriy Kropivnitskiy</dc:creator>
		<pubDate>Tue, 05 Dec 2006 15:17:10 +0000</pubDate>
		<guid isPermaLink="false">http://securityblog.org/brindle/2006/05/21/software-not-working-disable-selinux/#comment-1024</guid>
		<description>Hmmm... I am currently managing a bunch of RHEL systems. After looking at it a bit, I have turned selinux back on on some systems after modifying the policies a bit. I have been around UNIX for nice long while, but I have to say that making changes to those policy files is on par with manually editing sendmail.cf. In some cases I gave up and added some VERy generic policies since I couldn't figure out how to make selinux do exactly what I wanted. audit2allow script proven to be useful though. One of my main complaints is the lack of visible error messages. I have spent a lot of time troubleshooting some problems, just because a daemon would die without saying a word, because selinux would deny something and silently log an audit message. If it would tell me something like "this program performed an illegal operation and will be shut down" :) I would be a much happier sysadmin. Also some sort of a simple tutorial on how to make policies for generic cases would help.</description>
		<content:encoded><![CDATA[<p>Hmmm&#8230; I am currently managing a bunch of RHEL systems. After looking at it a bit, I have turned selinux back on on some systems after modifying the policies a bit. I have been around UNIX for nice long while, but I have to say that making changes to those policy files is on par with manually editing sendmail.cf. In some cases I gave up and added some VERy generic policies since I couldn&#8217;t figure out how to make selinux do exactly what I wanted. audit2allow script proven to be useful though. One of my main complaints is the lack of visible error messages. I have spent a lot of time troubleshooting some problems, just because a daemon would die without saying a word, because selinux would deny something and silently log an audit message. If it would tell me something like &#8220;this program performed an illegal operation and will be shut down&#8221; <img src='http://securityblog.org/brindle/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> I would be a much happier sysadmin. Also some sort of a simple tutorial on how to make policies for generic cases would help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Goldie</title>
		<link>http://securityblog.org/brindle/2006/05/21/software-not-working-disable-selinux/#comment-962</link>
		<dc:creator>Goldie</dc:creator>
		<pubDate>Sun, 03 Dec 2006 14:14:42 +0000</pubDate>
		<guid isPermaLink="false">http://securityblog.org/brindle/2006/05/21/software-not-working-disable-selinux/#comment-962</guid>
		<description>Yeah, nice marketing indeed - it is not your stuff which ruins the house, its other people being bad, ugly, stupid and uncooperative, right? In order to sweeten the case a bit, you've put that one cofounder was stupid and uncooperative but the other one was more cooperative. So you are coming on your big white wings to save the world, aren't you?

However you might look around, and read some Latin - "timeo Danaos et dona ferentes"! If I cannot dig through all kernel sources in order to be sure that all NSA code is out, I can at least try to disable it.</description>
		<content:encoded><![CDATA[<p>Yeah, nice marketing indeed - it is not your stuff which ruins the house, its other people being bad, ugly, stupid and uncooperative, right? In order to sweeten the case a bit, you&#8217;ve put that one cofounder was stupid and uncooperative but the other one was more cooperative. So you are coming on your big white wings to save the world, aren&#8217;t you?</p>
<p>However you might look around, and read some Latin - &#8220;timeo Danaos et dona ferentes&#8221;! If I cannot dig through all kernel sources in order to be sure that all NSA code is out, I can at least try to disable it.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
