Received: from jazzhorn.ncsc.mil (mummy.ncsc.mil [144.51.88.129]) by tycho.ncsc.mil (8.12.8/8.12.8) with ESMTP id j3MNPagA019982 for ; Fri, 22 Apr 2005 19:25:37 -0400 (EDT) Received: from smtp.sws.net.au (jazzhorn.ncsc.mil [144.51.5.9]) by jazzhorn.ncsc.mil (8.12.10/8.12.10) with ESMTP id j3MNHXrf003586 for ; Fri, 22 Apr 2005 23:17:34 GMT From: Russell Coker Reply-To: russell@coker.com.au To: Jochen Schmitt Subject: Re: Sugg. for SELinux enabled Interpreters Date: Sat, 23 Apr 2005 07:41:34 +1000 Cc: selinux@tycho.nsa.gov References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Message-Id: <200504230741.36883.russell@coker.com.au> Sender: owner-selinux@tycho.nsa.gov List-Id: selinux@tycho.nsa.gov On Tuesday 25 January 2005 07:05, Jochen Schmitt wrote: > Hallo, > > I have bought a book about SELinux form O'Reilly. In this book it > was discussed, that some applications, like KDE have issues with > SELinux. > > On KDE the problem is the kdeinit process, which coused, that > SELinux can not distlinguish the diffent programms started by > kdeinit. Below is a message from Luke about this matter. In this example reconfiguring KDE is the better option. I've pasted the message because I have no net access at the moment and can't lookup a URL. We should get some bugs filed against kdeinit in all the distributions to make this an option that the administrator can configure permanently for the entire system. Also Fedora, RHEL, and any other distribution which gets SE Linux as the default install option should probably default to this. Subject: kdeinit Date: 2004-07-25 23:01 From: Luke Kenneth Casson Leighton To: SE-Linux as you've seen, i sent a message to the kde-devel list, stephan kindly responded by saying that it's possible to disable kdeinit by defining KDE_IS_PRELINKED. i've modified startkde (possibly not the smartest thing to do) to have this at the top: #!/bin/sh # # DEFAULT KDE STARTUP SCRIPT ( KDE-3.2 ) # KDE_IS_PRELINKED=1 export KDE_IS_PRELINKED and voila, it appears that i end up saving about 30mbyte of virtual memory - something that _could_ save a lot of time on a system that is pushed for physical ram. so it's a trade-off between saving some virtual memory and saving some speed in the library pre-loading. ... but the important thing is that as far as SE/Linux is concerned it IS possible to remove kdeinit from the loop, and therefore it IS possible to write selinux policy files without kdeinit getting in the way. -- 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 majordomo@tycho.nsa.gov with the words "unsubscribe selinux" without quotes as the message.