Re: Turn off "dontaudit" rules in monolithic policy

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

 



No, a monolithic policy can't be managed like that at run time.  The policy is supposed to be static.  You'd have to use make enableaudit when you build it, as Dan previously mentioned, and redeploy the policy.

On 01/22/13 13:12, Hung Truong wrote:
> Thanks for the clarification.  I thought the "semodule -DB" could be used
> for monolithic policy as well.
> 
> Daniel Walsh gave a solution by compiling a policy without dontaudit rules
> and that worked perfectly fine for me.  But, just curious if there is an
> equivalent command to turn off dontaudit for monolithic policy at runtime?
> 
> 
> --Hung Truong
> 
> 
> -----Original Message-----
> From: Christopher J. PeBenito [mailto:cpebenito@xxxxxxxxxx]
> Sent: Tuesday, January 22, 2013 1:03 PM
> To: Hung Truong
> Cc: SELinux
> Subject: Re: Turn off "dontaudit" rules in monolithic policy
> 
> To clarify terminology, if you're using semodule, you're using a modular
> policy, not a monolithic policy.  A monolithic policy would be fully
> compiled on the development machine, and the policy.27 would be deployed
> to the running machine.  A modular policy deploys the *.pp files to the
> running machine and links them together to make a policy.27.
> 
> On 01/21/13 12:25, Hung Truong wrote:
>> I have a custom monolithic build based on RHEL6 policy.
>> I get this error when try to turn off dontaudit rules:
>>
>> $ semodule -DB
>>
>>
>> libsemanage.semanage_link_sandbox: Could not access sandbox base file
> /etc/selinux/targeted/modules/bmp/base.pp. (No such file or directory)
>>
>> Is there other way to turn off dontaudit rules in a monilithic policy?
>>
>>
>>
>> Many thanks,
>>
>> --Hung Truong
>>
> 
> 


-- 
Chris PeBenito
Tresys Technology, LLC
www.tresys.com | oss.tresys.com

--
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