Package: checkpolicy
Version: 1.30.11-2
Severity: normal

Hm, this is probably a bogus bug report (if so - sorry!), but I cannot
seem to build a simple policy module "by hand".

------------------------------------------------------------------------
$ cat foo.te 
policy_module(foo,1.0.0)

type foo_t;
type foo_exec_t;

domain_type(foo_t)
init_daemon_domain(foo_t, foo_exec_t)
------------------------------------------------------------------------
$ checkmodule -m -o foo.mod foo.te 
checkmodule:  loading policy configuration from foo.te
(unknown source)::ERROR 'Building a policy module, but no module specification 
found.
' at token 'policy_module' on line 1:


checkmodule:  error(s) encountered while parsing configuration
------------------------------------------------------------------------
$ checkmodule -o foo.mod foo.te 
checkmodule:  loading policy configuration from foo.te
(unknown source)::ERROR 'syntax error' at token 'policy_module' on line 1:


checkmodule:  error(s) encountered while parsing configuration
------------------------------------------------------------------------

It seems that "policy_module" is not a valid syntax!? However, that's
what is used in refpolicy-0.0.20060911/doc/example.te and some other
docs I've read so far...


Confused, Uwe.
-- 
Uwe Hermann 
http://www.hermann-uwe.de
http://www.it-services-uh.de  | http://www.crazy-hacks.org 
http://www.holsham-traders.de | http://www.unmaintained-free-software.org

Attachment: signature.asc
Description: Digital signature

Reply via email to