Got the same error while compiling mysysadm.pp when mylogging module was loaded. (Output
below)
Does this confirm my previous statement if B.te is going to use A.if, then A.te must exist
in the same directory otherwise B.pp won't compile?
~/demo $ sudo semodule -l | grep -i mylogging
mylogging 0.2
localhost ~/demo $ make mysysadm.pp
Compiling targeted mysysadm module
/usr/bin/checkmodule: loading policy configuration from tmp/mysysadm.tmp
mysysadm.te:5:ERROR 'syntax error' at token 'logging_exec_syslog' on line
3340:
logging_exec_syslog(sysadm_t)
/usr/bin/checkmodule: error(s) encountered while parsing configuration
make: *** [tmp/mysysadm.mod] Error 1