Received: from jazzhorn.ncsc.mil (mummy.ncsc.mil [144.51.88.129]) by tarius.tycho.ncsc.mil (8.13.1/8.13.1) with ESMTP id kB8DmoKt014233 for ; Fri, 8 Dec 2006 08:48:50 -0500 Received: from exchange.columbia.tresys.com (jazzhorn.ncsc.mil [144.51.5.9]) by jazzhorn.ncsc.mil (8.12.10/8.12.10) with SMTP id kB8DnJrF014317 for ; Fri, 8 Dec 2006 13:49:19 GMT Subject: Re: [RFC] Thunar filesystem manager policy From: "Christopher J. PeBenito" To: Bradley Chapman Cc: selinux@tycho.nsa.gov In-Reply-To: References: <1164637648.7490.18.camel@sgc.columbia.tresys.com> <1164728200.8768.9.camel@sgc.columbia.tresys.com> <1164813311.25344.50.camel@sgc> Content-Type: text/plain Date: Fri, 08 Dec 2006 08:49:18 -0500 Message-Id: <1165585758.4220.97.camel@sgc.columbia.tresys.com> Mime-Version: 1.0 Sender: owner-selinux@tycho.nsa.gov List-Id: selinux@tycho.nsa.gov On Wed, 2006-12-06 at 21:42 +0000, Bradley Chapman wrote: > On 11/29/06, Christopher J. PeBenito wrote: > > On Tue, 2006-11-28 at 16:26 +0000, Bradley Chapman wrote: > > > On 11/28/06, Christopher J. PeBenito wrote: > > > > That explains the $1_thunar_t, but what about thunar_t? From the > > > > policy, it looks like a daemon. > > > > > > It is - it gets started by dbus-daemon from staff_dbusd_t when logging > > > into the windowing environment, and runs in the background as a > > > daemon. > > > > That daemon should be running in $1_thunar_t. Thunar_t would be a > > system daemon. > > Which is what I'm trying to do. Unfortunately, for some insane reason, > when the dbus daemon starts Thunar, the latter continues to run in > staff_dbusd_t, which means that the policy is failing to permit a > domain transition from staff_dbusd_t to staff_thunar_t. > > How do I fix this? You would have to add a domtrans interface, and have the dbus per-role template use it. See spamassassin_domtrans_user_client() for an example (called in evolution). -- Chris PeBenito Tresys Technology, LLC (410) 290-1411 x150 -- 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.