Gitweb and SELinux

Dominick Grift domg472 at gmail.com
Fri Feb 5 16:22:30 UTC 2010


On 02/05/2010 05:21 PM, Michael Cronenworth wrote:
> 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 

replace read_dirs_pattern by list_dirs_pattern

than try again

see if that works

> expert.
> --
> selinux mailing list
> selinux at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/selinux


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 261 bytes
Desc: OpenPGP digital signature
Url : http://lists.fedoraproject.org/pipermail/selinux/attachments/20100205/9414c39c/attachment.bin 


More information about the selinux mailing list