On Wed, 2007-05-09 at 16:05 -0500, Hongwei Li wrote:
Thank you for help! However, I got error when doing it. # make -f /usr/share/selinux/devel/Makefile Compiling targeted localb module /usr/bin/checkmodule: loading policy configuration from tmp/localb.tmp localb.te:6:ERROR 'syntax error' at token '' on line 78455:
/usr/bin/checkmodule: error(s) encountered while parsing configuration make: *** [tmp/localb.mod] Error 1
The above error is on something called "localb.te", not "local.te". Do you have multiple .te files in your working directory? If so, move them elsewhere or move local.te into its own subdirectory, cd there, and try again.
Yes, I did have localb.te for testing. I removed it, rerun the command and now it is working. Thank you very, very much!
Hongwei