selinux January 2010 archive
Main Archive Page > Month Archives  > selinux archives
selinux: Re: [PATCH 04/13] libsemanage: split final files into /

Re: [PATCH 04/13] libsemanage: split final files into /var/lib/selinux/tmp

From: Stephen Smalley <sds_at_nospam>
Date: Fri Jan 08 2010 - 20:25:43 GMT
To: Joshua Brindle <method@manicmethod.com>


On Fri, 2010-01-08 at 15:19 -0500, Joshua Brindle wrote:
> Stephen Smalley wrote:
> > On Fri, 2010-01-08 at 10:07 -0500, James Carter wrote:
> <snip>
>
> > I tried running the code but I seem to see these "final files" still
> > under the individual<store> directories in /var/lib/selinux rather than
> > under tmp/.
> >
>
> I built patches 1-4 and made a fresh store from whatever was in
> /etc/selinux and I did not have any final files under
> /var/lib/selinux/targeted:
>
> [root@F12 selinux]# pwd
> /var/lib/selinux
> [root@F12 selinux]# find
> .
> ./targeted
> ./targeted/active
> ./targeted/active/modules
> ./targeted/active/modules/100
> ./targeted/active/modules/100/_base
> ./targeted/active/modules/100/_base/hll
> ./targeted/active/modules/100/_base/ext
>
> ...
>
> ./targeted/active/modules/100/milter
> ./targeted/active/modules/100/milter/hll
> ./targeted/active/modules/100/milter/ext
> ./targeted/active/modules/100/permissive_bin_t
> ./targeted/active/modules/100/permissive_bin_t/hll
> ./targeted/active/modules/100/permissive_bin_t/ext
> ./targeted/active/file_contexts.template
> ./targeted/active/file_contexts

That's a final file.

> ./targeted/active/homedir_template
> ./targeted/active/seusers.final

And there is one.

> ./targeted/active/users_extra
> ./targeted/active/netfilter_contexts

And another.

> ./targeted/active/file_contexts.homedirs
> ./targeted/active/commit_num
-- Stephen Smalley National Security Agency -- 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.