On 4/12/2016 8:57 AM, Stephen Smalley wrote:
> On 04/11/2016 05:44 PM, Nicolas Iooss wrote:
>> On Fri, Apr 8, 2016 at 6:05 PM, Jason Zaman <ja...@perfinion.com
>> <mailto:ja...@perfinion.com>> wrote:

>> By the way, by grep'ing HOME_DIR in refpolicy I got a hit in a support
>> script, "support/genhomedircon" [1]. This script is invoked only when
>> building modular policy and I have not found an easy way to
>> invoke semanage_genhomedircon() from either the command line or a Python
>> script. Does this script needs to be updated or is there a way to use
>> libsemanage implementation instead?

>> [1] 
>> https://github.com/TresysTechnology/refpolicy/blob/master/support/genhomedircon
> 
> I believe the script is obsolete under modular policy (only used on
> monolithic builds), and you can trigger semanage_genhomedircon() just by
> running semodule -Bn.  /usr/sbin/genhomedircon is a symlink to semodule,
> and semodule runs as if invoked with -Bn when called under that name.

Right, the script that refpolicy has is only used on monolithic builds.

-- 
Chris PeBenito
Tresys Technology, LLC
www.tresys.com | oss.tresys.com
_______________________________________________
Selinux mailing list
Selinux@tycho.nsa.gov
To unsubscribe, send email to selinux-le...@tycho.nsa.gov.
To get help, send an email containing "help" to selinux-requ...@tycho.nsa.gov.

Reply via email to