Bug 2316163 - SELinux is preventing /usr/lib/systemd/systemd-homed from read access on the directory home
Summary: SELinux is preventing /usr/lib/systemd/systemd-homed from read access on the ...
Keywords:
Status: CLOSED DUPLICATE of bug 2036108
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 41
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Zdenek Pytela
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-10-02 18:13 UTC by seanmottles
Modified: 2024-10-03 14:15 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2024-10-03 14:15:08 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
SETroublshoot Details (6.81 KB, text/plain)
2024-10-02 18:16 UTC, seanmottles
no flags Details

Description seanmottles 2024-10-02 18:13:10 UTC
Upon login of F41 XFCE spin the SELinux Alert icon shows up with the attached errors.

Reproducible: Always

Steps to Reproduce:
1. Install F41 XFCE
2. Login as normal user
3.
Actual Results:  
Oct 02 19:18:22 t470 systemd-homed[787]: Watching /home.
Oct 02 19:18:22 t470 audit[787]: AVC avc:  denied  { read } for  pid=787 comm="systemd-homed" name="home" dev="nvme0n1p3" ino=2885717 scontext=system_u:system_r:systemd_homed_t:s0 tcontext=>
[...]
Oct 02 19:18:22 t470 systemd-homed[787]: Failed to open /var/cache/systemd/home/: Permission denied


Expected Results:  
No errors.

Comment 1 seanmottles 2024-10-02 18:15:03 UTC
More details:

root@t470:~# rpm -qa | grep selinux
libselinux-3.7-5.fc41.x86_64
libselinux-utils-3.7-5.fc41.x86_64
python3-libselinux-3.7-5.fc41.x86_64
smartmontools-selinux-7.4-6.fc41.noarch
passt-selinux-0^20240906.g6b38f07-1.fc41.noarch
libselinux-3.7-5.fc41.i686
rpm-plugin-selinux-4.19.94-1.fc41.x86_64
selinux-policy-41.19-1.fc41.noarch
selinux-policy-targeted-41.19-1.fc41.noarch
nbdkit-selinux-1.40.4-1.fc41.noarch
swtpm-selinux-0.9.0-4.fc41.noarch

root@t470:~# rpm -qa | grep audit
audit-libs-4.0.2-1.fc41.x86_64
audit-rules-4.0.2-1.fc41.x86_64
audit-4.0.2-1.fc41.x86_64
python3-audit-4.0.2-1.fc41.x86_64
audit-libs-4.0.2-1.fc41.i686
rpm-plugin-audit-4.19.94-1.fc41.x86_64

Comment 2 seanmottles 2024-10-02 18:16:11 UTC
Created attachment 2050110 [details]
SETroublshoot Details

Comment 3 Zdenek Pytela 2024-10-03 14:15:08 UTC

*** This bug has been marked as a duplicate of bug 2036108 ***


Note You need to log in before you can comment on or make changes to this bug.