Bug 2107705
| Summary: | avc: denied { write } for pid=xxxxx comm="ovs-appctl" for ovn*.ctl | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux Fast Datapath | Reporter: | Rick Alongi <ralongi> | ||||
| Component: | openvswitch-selinux-extra-policy | Assignee: | Aaron Conole <aconole> | ||||
| Status: | NEW --- | QA Contact: | Rick Alongi <ralongi> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | FDP 22.F | CC: | aconole, ctrautma, qding | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | Type: | Bug | |||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
|
Description
Rick Alongi
2022-07-15 17:17:59 UTC
How did you get this kind of error to trigger? Normally, we see that OVN/OVS files are tagged as: openvswitch_var_run_t But in the error message reported, the target context is var_run_t So I guess maybe there is a labeling issue? Closing for now. Some of these steps show that there is likely a relabel issue. For example: + cp /etc/sysconfig/openvswitch /etc/sysconfig/openvswitch_orig What other copies / moves happen? systemd ovs will create the openvswitch /var/run space as labeled with openvswitch_var_run_t so I don't know what the script does for valgrind. Can you put a link to the exact test script that is doing the configuration? Link to test script: https://gitlab.cee.redhat.com/kernel-qe/kernel/-/blob/master/networking/openvswitch/memory_leak_soak/runtest.sh Link to location in test script where Valgrind is configured: https://gitlab.cee.redhat.com/kernel-qe/kernel/-/blob/master/networking/openvswitch/memory_leak_soak/runtest.sh#L295 Link to supporting env.sh file (probably not relevant to this issue): https://gitlab.cee.redhat.com/kernel-qe/kernel/-/blob/master/networking/openvswitch/memory_leak_soak/env.sh |