From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <4951F4C7.6080202@gmail.com> Date: Wed, 24 Dec 2008 00:37:27 -0800 From: "Justin P. Mattock" MIME-Version: 1.0 To: Tim CC: SELinux mailing list Subject: Re: Alternative location of policy files References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Sender: owner-selinux@tycho.nsa.gov List-Id: selinux@tycho.nsa.gov Tim wrote: > Hello all, > > I was wondering, how can I change default location of SELinux policy > from /etc/selinux/_policyname_ to some other path? > What source codes should be modified for that? > > The reason to do that are: > - I want to work with loadable policy modules --> that requires > /etc/selinux/_policyname_ directory to be writable. > - limitation of my filesystem having /etc directory (it is read-only filesystem) > - unfortunately, I can not mount /etc into some other writable filesystem > > Kindest regards, > Tim > > -- > 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. > > That's a first!! not sure what to say.. maybe add /somelocation in /etc/selinux/config under SELINUXTYPE regards; Justin P. Mattock -- 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.