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 rhcd create and write to .run_insights_client_next_boot #1921

Draft
wants to merge 1 commit into
base: rawhide
Choose a base branch
from

Conversation

zpytela
Copy link
Contributor

@zpytela zpytela commented Nov 1, 2023

The commit addresses the following AVC denial:
type=AVC msg=audit(1698765256.045:428): avc: denied { write } for pid=27592 comm="python3" name="insights-client" dev="vda4" ino=17667170 scontext=system_u:system_r:rhcd_t:s0 tcontext=system_u:object_r:insights_client_etc_t:s0 tclass=dir permissive=1 type=AVC msg=audit(1698765256.045:428): avc: denied { add_name } for pid=27592 comm="python3" name=".run_insights_client_next_boot" scontext=system_u:system_r:rhcd_t:s0 tcontext=system_u:object_r:insights_client_etc_t:s0 tclass=dir permissive=1 type=AVC msg=audit(1698765256.045:428): avc: denied { create } for pid=27592 comm="python3" name=".run_insights_client_next_boot" scontext=system_u:system_r:rhcd_t:s0 tcontext=system_u:object_r:insights_client_etc_t:s0 tclass=file permissive=1 type=AVC msg=audit(1698765256.045:428): avc: denied { write } for pid=27592 comm="python3" path="/etc/insights-client/.run_insights_client_next_boot" dev="vda4" ino=17695366 scontext=system_u:system_r:rhcd_t:s0 tcontext=system_u:object_r:insights_client_etc_t:s0 tclass=file permissive=1

The commit addresses the following AVC denial:
type=AVC msg=audit(1698765256.045:428): avc:  denied  { write } for  pid=27592 comm="python3" name="insights-client" dev="vda4" ino=17667170 scontext=system_u:system_r:rhcd_t:s0 tcontext=system_u:object_r:insights_client_etc_t:s0 tclass=dir permissive=1
type=AVC msg=audit(1698765256.045:428): avc:  denied  { add_name } for  pid=27592 comm="python3" name=".run_insights_client_next_boot" scontext=system_u:system_r:rhcd_t:s0 tcontext=system_u:object_r:insights_client_etc_t:s0 tclass=dir permissive=1
type=AVC msg=audit(1698765256.045:428): avc:  denied  { create } for  pid=27592 comm="python3" name=".run_insights_client_next_boot" scontext=system_u:system_r:rhcd_t:s0 tcontext=system_u:object_r:insights_client_etc_t:s0 tclass=file permissive=1
type=AVC msg=audit(1698765256.045:428): avc:  denied  { write } for  pid=27592 comm="python3" path="/etc/insights-client/.run_insights_client_next_boot" dev="vda4" ino=17695366 scontext=system_u:system_r:rhcd_t:s0 tcontext=system_u:object_r:insights_client_etc_t:s0 tclass=file permissive=1
Copy link

packit-as-a-service bot commented Nov 1, 2023

Cockpit tests failed for commit 6f82523. @martinpitt, @jelly, @mvollmer please check.

original log link

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

Successfully merging this pull request may close these issues.

1 participant