Re: ERROR 'type staff_java_t is not within scope' at token

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

 



On Mon, 2013-01-21 at 23:26 +0100, Dominick Grift wrote:

> > Does anyone know why I get this error and how to fix it?  BTW, if it does
> > matter, I modified the *.spec file to build a monolithic and strict policy.
> > 
> 
> I think this policy needs to be nested properly
> 
> Its a dependency thing
> 
> so for example:
> 
> optional_policy(`
>   java_per_role_template(staff, staff_r, staff_t)
> 
>   optional_policy(`
>     allow staff_java_t cdvoip_sysadmcat_pki_cdvaserver_pem_t: file
> read_file_perms;
>   ')
> ')
> 

Actually the whole concept of optional policy should does not apply to
monolitic policy but i guess the compiler still wants it somehow


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