-
Bug
-
Resolution: Unresolved
-
Major
-
rhel-9.6
-
container-selinux-2.235.0-2.el9_6
-
No
-
Important
-
0day
-
2
-
rhel-sst-container-tools
-
2
-
False
-
-
None
-
Red Hat Enterprise Linux
-
RUN 268, RUN 269
-
Unspecified
-
Unspecified
-
Unspecified
-
-
All
-
None
Based on https://issues.redhat.com/browse/OCPBUGS-48555. This is an important fix to get into RHEL 9.6 and 10.0 and later for OCP.
From that Jira card's description:
Description of problem:
A container using the SELinux domain of container_logreader_t to watch container logs on the host at /var/log cannot access the logs from /var/log/containers since those logs are a symbolic link to /var/log/pods. All other log files in /var/log are accessible just not ones that are symlinks.
Version-Release number of selected component (if applicable):
How reproducible:
100%
Steps to Reproduce:
1. Create symlinks in /var/log 2. Use container_logreader_t 3. Attempt follow symlinks to watch attributes on files
Actual results:
Permission denied
Expected results:
No permission issues
Additional info:
- clones
-
RHEL-85433 SELinux container_logreader_t cannot watch /var/log symlinks - [RHEL 9.7]
-
- Integration
-
- is related to
-
OCPBUGS-48555 SELinux container_logreader_t cannot watch /var/log symlinks
-
- POST
-
- links to
-
RHBA-2025:147609 container-selinux bug fix and enhancement update