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

Allow logrotate to access and write within container_file_t #42

Merged
merged 1 commit into from Sep 4, 2019

Conversation

cjeanner
Copy link
Collaborator

@cjeanner cjeanner commented Sep 4, 2019

OpenVSwitch service gets its logs written in /var/log/openvswitch, using
container_file_t context.
Although we allowed logrotate to read container_file_t with[1], it also
wants to actually write in there, since the /var/log/openvswitch
directory is under its control, from within the host directly.

[1] https://review.opendev.org/669987

Related: https://bugzilla.redhat.com/show_bug.cgi?id=1727937

OpenVSwitch service gets its logs written in /var/log/openvswitch, using
container_file_t context.
Although we allowed logrotate to read container_file_t with[1], it also
wants to actually write in there, since the /var/log/openvswitch
directory is under its control, from within the host directly.

[1] https://review.opendev.org/669987

Related: https://bugzilla.redhat.com/show_bug.cgi?id=1727937
@jpichon jpichon merged commit 936ea4f into redhat-openstack:master Sep 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants