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

C10s 20240813 build #2314

Merged
merged 5 commits into from
Aug 13, 2024
Merged

Conversation

zpytela
Copy link
Contributor

@zpytela zpytela commented Aug 13, 2024

No description provided.

It turned up the previous commit b677f73 ("Update stalld policy
for bpf usage") was incomplete and there are additional permissions
and capabilities needed.

Resolves: RHEL-50356
The commit addresses the following AVC denial:
type=PROCTITLE msg=audit(07/11/2024 06:16:41.194:689) : proctitle=/usr/sbin/virtqemud --timeout 120
type=PATH msg=audit(07/11/2024 06:16:41.194:689) : item=0 name=/proc/sys/vm/max_map_count inode=2348 dev=00:16 mode=file,644 ouid=root ogid=root rdev=00:00 obj=system_u:object_r:sysctl_vm_t:s0 nametype=NORMAL cap_fp=none cap_fi=none cap_fe=0 cap_fver=0 cap_frootid=0
type=SYSCALL msg=audit(07/11/2024 06:16:41.194:689) : arch=x86_64 syscall=openat success=no exit=EACCES(Permission denied) a0=AT_FDCWD a1=0x55ed283470ee a2=O_RDONLY|O_CLOEXEC a3=0x0 items=1 ppid=1 pid=5994 auid=unset uid=qemu gid=qemu euid=qemu suid=qemu fsuid=qemu egid=qemu sgid=qemu fsgid=qemu tty=(none) ses=unset comm=qemu-kvm exe=/usr/libexec/qemu-kvm subj=system_u:system_r:svirt_tcg_t:s0:c152,c680 key=(null)
type=AVC msg=audit(07/11/2024 06:16:41.194:689) : avc:  denied  { read } for  pid=5994 comm=qemu-kvm name=max_map_count dev="proc" ino=2348 scontext=system_u:system_r:svirt_tcg_t:s0:c152,c680 tcontext=system_u:object_r:sysctl_vm_t:s0 tclass=file permissive=0

Resolves: RHEL-47274
The commit addresses the following AVC denial:
type=AVC msg=audit(1710328208.112:388): avc:  denied  { map } for  pid=3395 comm="qemu-system-aar" path="/home/username//CentOS-9-stream/username-centos-9-stream_aarch64/nvdimm-0.dev" dev="sdb4" ino=789153 scontext=system_u:system_r:svirt_tcg_t:s0:c23,c892 tcontext=system_u:object_r:svirt_image_t:s0:c23,c892 tclass=file permissive=0

Resolves: RHEL-47274
Resolves: RHEL-45464
Resolves: RHEL-49763
@zpytela zpytela merged commit fb7eee5 into fedora-selinux:c10s Aug 13, 2024
1 check passed
@zpytela zpytela deleted the c10s-20240813-build branch August 13, 2024 17:28
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