From: Dominick Grift <dominick.grift@gmail.com>
To: Hung Truong <hung.truong@tridsys.com>
Cc: SELinux <selinux@tycho.nsa.gov>
Subject: Re: ERROR 'type staff_java_t is not within scope' at token
Date: Mon, 21 Jan 2013 23:29:54 +0100 [thread overview]
Message-ID: <1358807394.2986.9.camel@d30> (raw)
In-Reply-To: <1358807160.2986.7.camel@d30>
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@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.
next prev parent reply other threads:[~2013-01-21 22:30 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-21 18:40 ERROR 'type staff_java_t is not within scope' at token Hung Truong
2013-01-21 22:26 ` Dominick Grift
2013-01-21 22:29 ` Dominick Grift [this message]
2013-01-21 22:39 ` Dominick Grift
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1358807394.2986.9.camel@d30 \
--to=dominick.grift@gmail.com \
--cc=hung.truong@tridsys.com \
--cc=selinux@tycho.nsa.gov \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.