You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On Centos 6.3 I ran into an error when compiling this policy. I'm very new to SELinux.. Please forgive me if I'm missing something obvious or if my fix is completely off base.
The error:
haproxy.te":28:ERROR 'permission read__file_perms is not defined for class lnk_file' at token ';' on line 4507:
My fix to this error was to change. After this change it seems to compile just fine.
allow haproxy_t haproxy_conf_t : lnk_file read_file_perms;
to this:
allow haproxy_t haproxy_conf_t : lnk_file read_lnk_file_perms;
Any thoughts?
The text was updated successfully, but these errors were encountered:
On Centos 6.3 I ran into an error when compiling this policy. I'm very new to SELinux.. Please forgive me if I'm missing something obvious or if my fix is completely off base.
The error:
haproxy.te":28:ERROR 'permission read__file_perms is not defined for class lnk_file' at token ';' on line 4507:
allow haproxy_t haproxy_conf_t : lnk_file read_lnk_file_perms;
allow haproxy_t haproxy_conf_t : lnk_file read__file_perms;
/usr/bin/checkmodule: error(s) encountered while parsing configuration
make: *** [tmp/haproxy.mod] Error 1
My fix to this error was to change. After this change it seems to compile just fine.
allow haproxy_t haproxy_conf_t : lnk_file read_file_perms;
to this:
allow haproxy_t haproxy_conf_t : lnk_file read_lnk_file_perms;
Any thoughts?
The text was updated successfully, but these errors were encountered: