Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lnk_file error #1

Open
BarnumD opened this issue Sep 27, 2012 · 0 comments
Open

lnk_file error #1

BarnumD opened this issue Sep 27, 2012 · 0 comments

Comments

@BarnumD
Copy link

BarnumD commented Sep 27, 2012

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant