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

zoneminder policy is not up to date with current zoneminder #2428

Open
jrg34567 opened this issue Nov 12, 2024 · 0 comments
Open

zoneminder policy is not up to date with current zoneminder #2428

jrg34567 opened this issue Nov 12, 2024 · 0 comments

Comments

@jrg34567
Copy link

I run zoneminder packaged on rpmfusion. I was getting a lot of AVCs. I used audit2allow to produce policy after running selinux in permissive mode and exercising zoneminder.

Here is my TE file.

module my-ZoneMinder 1.0;

require {
        type zoneminder_tmpfs_t;
        type httpd_t;
        type var_t;
        class lnk_file create;
        class file { getattr open read write };
}

#============= httpd_t ==============
allow httpd_t var_t:lnk_file create;
allow httpd_t zoneminder_tmpfs_t:file { getattr open read write };

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