Re: Gitweb and SELinux

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxxxxx
> https://admin.fedoraproject.org/mailman/listinfo/selinux


Attachment: signature.asc
Description: OpenPGP digital signature

--
selinux mailing list
selinux@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/selinux

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux