Gitweb and SELinux

Michael Cronenworth mike at cchtml.com
Fri Feb 5 16:21:04 UTC 2010


Dominick Grift wrote:
> (build the module)
>
> make -f /usr/share/selinux/devel/Makefile mygitweb.pp

$ make -f /usr/share/selinux/devel/Makefile mygitweb.pp
Compiling targeted mygitweb module
/usr/bin/checkmodule:  loading policy configuration from tmp/mygitweb.tmp
mygitweb.te":2:ERROR 'syntax error' at token 'read_dirs_pattern' on line 
3241:
#line 2
read_dirs_pattern(httpd_git_script_t, git_data_t, git_data_t)
/usr/bin/checkmodule:  error(s) encountered while parsing configuration
make: *** [tmp/mygitweb.mod] Error 1

I don't see anything wrong with your module, but I'm far from an SELinux 
expert.


More information about the selinux mailing list