All of lore.kernel.org
 help / color / mirror / Atom feed
* broken interface: userdom_common_user_template
@ 2006-11-10 22:01 Michael C Thompson
  2006-11-13 13:57 ` Christopher J. PeBenito
  0 siblings, 1 reply; 2+ messages in thread
From: Michael C Thompson @ 2006-11-10 22:01 UTC (permalink / raw)
  To: SE Linux

So I am seeing a broken interface problem in policy package version 
selinux-policy-2.4.3-8.

The problem is as follows:

# make
Compiling strict abat module
/usr/bin/checkmodule:  loading policy configuration from tmp/abat.tmp
abat.te:49:ERROR 'unknown class context used in rule' at token ';' on 
line 82511:
#line 49
         allow abat_t self:context contains;
/usr/bin/checkmodule:  error(s) encountered while parsing configuration
make: *** [tmp/abat.mod] Error 1

Line 49: userdom_admin_user_template(abat)

Tracking down the interface that actually has the problem yeilds: 
userdom_common_user_template

I don't know enough about the (apparently depricated or renamed) context 
class to fix this, but I imagine commenting it out isn;t the ideal solution.

Any advice while I await the new package?

Thanks,
Mike


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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: broken interface: userdom_common_user_template
  2006-11-10 22:01 broken interface: userdom_common_user_template Michael C Thompson
@ 2006-11-13 13:57 ` Christopher J. PeBenito
  0 siblings, 0 replies; 2+ messages in thread
From: Christopher J. PeBenito @ 2006-11-13 13:57 UTC (permalink / raw)
  To: Michael C Thompson; +Cc: SE Linux

On Fri, 2006-11-10 at 16:01 -0600, Michael C Thompson wrote:
> So I am seeing a broken interface problem in policy package version 
> selinux-policy-2.4.3-8.
> 
> The problem is as follows:
> 
> # make
> Compiling strict abat module
> /usr/bin/checkmodule:  loading policy configuration from tmp/abat.tmp
> abat.te:49:ERROR 'unknown class context used in rule' at token ';' on 
> line 82511:
> #line 49
>          allow abat_t self:context contains;
> /usr/bin/checkmodule:  error(s) encountered while parsing configuration
> make: *** [tmp/abat.mod] Error 1
> 
> Line 49: userdom_admin_user_template(abat)

You need to add this to it's gen_require():

class context contains;

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-11-13 13:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-10 22:01 broken interface: userdom_common_user_template Michael C Thompson
2006-11-13 13:57 ` Christopher J. PeBenito

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.