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 build 20241218 #2494

Merged
merged 2 commits into from
Dec 18, 2024
Merged

Conversation

zpytela
Copy link
Contributor

@zpytela zpytela commented Dec 18, 2024

No description provided.

With systemd v257, all systemd-related domains started to check nsfs.

The commit addresses the following AVC denial:
type=AVC msg=audit(1732756160.385:67): avc:  denied  { getattr } for  pid=707 comm="systemd-resolve" path="cgroup:[4026531835]" dev="nsfs" ino=4026531835 scontext=system_u:system_r:systemd_resolved_t:s0 tcontext=system_u:object_r:nsfs_t:s0 tclass=file permissive=1
type=SYSCALL msg=audit(1732756160.385:67): arch=x86_64 syscall=newfstatat success=yes exit=0 a0=ffffff9c a1=7fff83b3a8e0 a2=7fff83b3a900 a3=0 items=1 ppid=1 pid=707 auid=4294967295 uid=193 gid=193 euid=193 suid=193 fsuid=193 egid=193 sgid=193 fsgid=193 tty=(none) ses=4294967295 comm=systemd-resolve exe=/usr/lib/systemd/systemd-resolved subj=system_u:system_r:systemd_resolved_t:s0 key=(null)
type=PATH msg=audit(1732756160.385:67): item=0 name=/proc/self/ns/cgroup inode=4026531835 dev=00:04 mode=0100444 ouid=0 ogid=0 rdev=00:00 obj=system_u:object_r:nsfs_t:s0 nametype=NORMAL cap_fp=0 cap_fi=0 cap_fe=0 cap_fver=0 cap_frootid=0

Resolves: RHEL-71803
This is a follow-up commit to 3023aa8 ("Allow systemd-related
domains getattr nsfs files"). It addresses the following AVC denial:
Dec 11 13:42:42 fedora audit[657]: AVC avc:  denied  { getattr } for  pid=657 comm="systemd-journal" path="cgroup:[4026531835]" dev="nsfs" ino=4026531835 scontext=system_u:system_r:syslogd_t:s0 tcontext=system_u:object_r:nsfs_t:s0 tclass=file permissive=0

Resolves: RHEL-71803
@zpytela zpytela merged commit 14ba8a3 into fedora-selinux:c10s Dec 18, 2024
2 of 4 checks passed
@zpytela zpytela deleted the c10s-build-20241218 branch December 18, 2024 22:40
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