Description of problem: Installed Fedora 31 Xfce Beta. This error came on first login. SELinux is preventing systemd-logind from 'read' accesses on the blk_file mmcblk0p1. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that systemd-logind should be allowed read access on the mmcblk0p1 blk_file by default. Then you should report this as a bug. You can generate a local policy module to allow this access. Do allow this access for now by executing: # ausearch -c 'systemd-logind' --raw | audit2allow -M my-systemdlogind # semodule -X 300 -i my-systemdlogind.pp Additional Information: Source Context system_u:system_r:systemd_logind_t:s0 Target Context system_u:object_r:removable_device_t:s0 Target Objects mmcblk0p1 [ blk_file ] Source systemd-logind Source Path systemd-logind Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages Policy RPM selinux-policy-3.14.4-31.fc31.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 5.3.0-0.rc6.git0.1.fc31.x86_64 #1 SMP Mon Aug 26 13:01:25 UTC 2019 x86_64 x86_64 Alert Count 1 First Seen 2019-09-27 22:38:48 IST Last Seen 2019-09-27 22:38:48 IST Local ID 731d50ad-93d9-407c-b165-76b702e5c6a7 Raw Audit Messages type=AVC msg=audit(1569604128.505:198): avc: denied { read } for pid=780 comm="systemd-logind" name="mmcblk0p1" dev="devtmpfs" ino=14079 scontext=system_u:system_r:systemd_logind_t:s0 tcontext=system_u:object_r:removable_device_t:s0 tclass=blk_file permissive=0 Hash: systemd-logind,systemd_logind_t,removable_device_t,blk_file,read Version-Release number of selected component: selinux-policy-3.14.4-31.fc31.noarch Additional info: component: selinux-policy reporter: libreport-2.10.1 hashmarkername: setroubleshoot kernel: 5.3.0-0.rc6.git0.1.fc31.x86_64 type: libreport Potential duplicate: bug 1652616
Hi, Are you able to reproduce it with every login? THanks, Lukas.
Yes, it happens on every login.
commit 15a5bb0236df39bd14afbfb918514988b53951ce (HEAD -> rawhide, origin/rawhide) Author: Patrik Koncity <pkoncity> Date: Fri Oct 4 15:07:02 2019 +0200 Allow systemd_logind_t domain to read blk_files in domain removable_device_t Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1756463
FEDORA-2019-7ef1fde499 has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2019-7ef1fde499
selinux-policy-3.14.4-38.fc31 has been pushed to the Fedora 31 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-7ef1fde499
FEDORA-2019-7d65c50fd6 has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2019-7d65c50fd6
selinux-policy-3.14.4-39.fc31 has been pushed to the Fedora 31 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-7d65c50fd6
selinux-policy-3.14.4-39.fc31 has been pushed to the Fedora 31 stable repository. If problems still persist, please make note of it in this bug report.