Skip to content

lnk_file error #1

@BarnumD

Description

@BarnumD

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions