Subject: Re: dynamic context transitions From: Colin Walters To: Stephen Smalley Cc: Karl MacMillan , Darrel Goeddel , Luke Kenneth Casson Leighton , SELinux List , Chad Hanson , James Morris In-Reply-To: <1099405140.31739.59.camel@moss-spartans.epoch.ncsc.mil> References: <4182959B.4080503@trustedcs.com> <20041029211809.GJ8897@lkcl.net> <20041030090603.GK8897@lkcl.net> <1099315214.21386.13.camel@moss-spartans.epoch.ncsc.mil> <20041101141025.GZ8897@lkcl.net> <418662EE.5090001@trustedcs.com> <1099344460.23756.49.camel@pham.columbia.tresys.com> <1099402984.31739.17.camel@moss-spartans.epoch.ncsc.mil> <1099404989.23756.79.camel@pham.columbia.tresys.com> <1099405140.31739.59.camel@moss-spartans.epoch.ncsc.mil> Content-Type: text/plain Date: Wed, 03 Nov 2004 15:21:27 -0500 Message-Id: <1099513287.3861.15.camel@nexus.verbum.private> Mime-Version: 1.0 Sender: owner-selinux@tycho.nsa.gov List-Id: selinux@tycho.nsa.gov On Tue, 2004-11-02 at 09:19 -0500, Stephen Smalley wrote: > On Tue, 2004-11-02 at 09:16, Karl MacMillan wrote: > > It would certainly require some additional infrastructure and more > > invasive changes to init scripts, but it could be made to work. I think > > that others have raised the more important point - what real use case is > > there for this functionality? > > A common problem in Fedora is that daemons expect to be able to display > output and possibly to get user input during startup (e.g. httpd ssl > requesting a passphrase), Incidentally it turns out Apache already has a solution for this, http://httpd.apache.org/docs-2.0/mod/mod_ssl.html#sslpassphrasedialog For Fedora our plan is to simply put this in the default Apache configuration, and write the little bit of policy necessary to have httpd_t exec httpd_passphrasedialog_t. -- 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.