Re: A question about genhomedircon

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2009-11-20 at 12:52 -0600, Manoj Srivastava wrote:
> Hi,
> 
>         Looking at policycoreutils-2.0.77/scripts/genhomedircon, I see:
> --8<---------------cut here---------------start------------->8---
> #!/bin/sh
> /usr/sbin/semodule -Bn
> --8<---------------cut here---------------end--------------->8---
> 
>         Looking at the man page for semodule, it says:
> --8<---------------cut here---------------start------------->8---
>  -B, --build
>         force a rebuild of policy (also reloads unless -n is used)
>  -n,--noreload
>         do not reload policy after commit
> --8<---------------cut here---------------end--------------->8---
> 
>         Given that, it would seem that genhomedircon rebuilds, but does
>  not reload policy. I would expect genhomedircon to generate SELinux
>  file context configuration entries for user home directories, or
>  something.
> 
>         What am I missing?

Theres no need to reload the policy, as the policy isn't changing.  It
does, however, regenerate the file contexts, including the home dir
contexts.


-- 
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@xxxxxxxxxxxxx with
the words "unsubscribe selinux" without quotes as the message.

[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux