Bug 2160391
Summary: | SELinux is preventing systemd from using LoadCredentials | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 9 | Reporter: | Nikita Uvarov <nuvarov> |
Component: | selinux-policy | Assignee: | Nikola Knazekova <nknazeko> |
Status: | CLOSED ERRATA | QA Contact: | Milos Malik <mmalik> |
Severity: | low | Docs Contact: | |
Priority: | medium | ||
Version: | CentOS Stream | CC: | bstinson, jwboyer, lvrabec, mmalik, sujagtap, zpytela |
Target Milestone: | rc | Keywords: | Triaged |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | selinux-policy-38.1.5-1.el9 | Doc Type: | Bug Fix |
Doc Text: |
Cause: systemd-creds apparently runs in a chroot where /dev/shm is backed by ramfs (ramfs_t) instead of the usual tmpfs, which is not allowed in the policy
Consequence: SELinux is preventing systemd from using LoadCredentials
Fix: Reuse tmpfs_t also for the ramfs filesystem
Result: No SELinux denials
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2023-05-09 08:17:16 UTC | 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: |
Description
Nikita Uvarov
2023-01-12 09:02:39 UTC
I believe this BZ is a RHEL-9 variant of BZ#2096857. I thinks these two commits are needed: 021025430 Allow systemd-resolved watch tmpfs directories 8e908b8d9 Reuse tmpfs_t also for the ramfs filesystem and there is one pr pending for cases when sockets are used. *** Bug 2160933 has been marked as a duplicate of this bug. *** Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (selinux-policy bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2023:2483 |