Bug #64616
openselinux denials with centos9.stream
0%
Description
/a/vshankar-2024-02-26_10:07:12-fs-wip-vshankar-testing-20240226.064629-testing-default-smithi/7573529
SELinux denials found on ubuntu@smithi027.front.sepia.ceph.com: ['type=AVC msg=audit(1708943195.213:199): avc: denied { checkpoint_restore } for pid=1208 comm="agetty" capability=40 scontext=system_u:system_r:getty_t:s0-s0:c0.c1023 tcontext=system_u:system_r:getty_t:s0-s0:c0.c1023 tclass=capability2 permissive=1']
This shows up with fs suite using the testing kernel. The denial is `checkpoint_restore' which I believe is related to checkpointing and restoring a container. We might need to add this to ignorelist in the selinux teuthology task.
Updated by Venky Shankar 2 months ago
Patrick, I saw you working around with selinux denials in qa/suites/fs/workload/tasks/5-workunit/postgres.yaml
, however, the denials in this tracker is related to container checkpoint_restore, so I guess this needs to be ignorelisted. Would you agree?
Updated by Patrick Donnelly 2 months ago
Venky Shankar wrote:
Patrick, I saw you working around with selinux denials in
qa/suites/fs/workload/tasks/5-workunit/postgres.yaml
, however, the denials in this tracker is related to container checkpoint_restore, so I guess this needs to be ignorelisted. Would you agree?
Yes : /
You can make a ceph-side change like:
https://github.com/ceph/ceph/blob/main/qa/distros/all/centos_8.1.yaml
Updated by Venky Shankar 2 months ago
- Project changed from teuthology to 16
- Assignee changed from adam kraitman to Venky Shankar
Updated by Venky Shankar 2 months ago
- Project changed from 16 to CephFS
Dan Mick wrote:
I bet you didn't mean to change the project to Calamari, which is long-dead
Oh god. I meant to choose CephFS - fat finger bug.
Updated by Venky Shankar about 2 months ago
- Status changed from New to Fix Under Review
- Pull request ID set to 55908
Updated by Venky Shankar about 2 months ago
- Category set to Testing
- Status changed from Fix Under Review to Pending Backport
- Target version set to v20.0.0
- Backport set to quincy,reef,squid
- Labels (FS) qa, qa-failure added
Updated by Backport Bot about 2 months ago
- Copied to Backport #64755: squid: selinux denials with centos9.stream added
Updated by Backport Bot about 2 months ago
- Copied to Backport #64756: reef: selinux denials with centos9.stream added
Updated by Backport Bot about 2 months ago
- Copied to Backport #64757: quincy: selinux denials with centos9.stream added