Description of problem: SELinux is preventing (modprobe) from 'mounton' accesses on the directory /run/systemd/unit-root/var/lib/systemd/linger. ***** Plugin restorecon (99.5 confidence) suggests ************************ If you want to fix the label. /run/systemd/unit-root/var/lib/systemd/linger default label should be init_var_run_t. Then you can run restorecon. The access attempt may have been stopped due to insufficient permissions to access a parent directory in which case try to change the following command accordingly. Do # /sbin/restorecon -v /run/systemd/unit-root/var/lib/systemd/linger ***** Plugin catchall (1.49 confidence) suggests ************************** If you believe that (modprobe) should be allowed mounton access on the linger directory 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 '(modprobe)' --raw | audit2allow -M my-modprobe # semodule -X 300 -i my-modprobe.pp Additional Information: Source Context system_u:system_r:init_t:s0 Target Context system_u:object_r:systemd_logind_var_lib_t:s0 Target Objects /run/systemd/unit-root/var/lib/systemd/linger [ dir ] Source (modprobe) Source Path (modprobe) Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages Policy RPM selinux-policy-3.14.4-25.fc31.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Permissive Host Name (removed) Platform Linux (removed) 5.3.0-0.rc2.git4.1.fc31.x86_64 #1 SMP Fri Aug 2 13:10:34 UTC 2019 x86_64 x86_64 Alert Count 2 First Seen 2019-08-03 21:11:48 +05 Last Seen 2019-08-03 21:11:49 +05 Local ID 7b856296-98af-4778-b6e7-9b4666aaa759 Raw Audit Messages type=AVC msg=audit(1564848709.323:118): avc: denied { mounton } for pid=1148 comm="(d-logind)" path="/run/systemd/unit-root/var/lib/systemd/linger" dev="nvme0n1p2" ino=138743107 scontext=system_u:system_r:init_t:s0 tcontext=system_u:object_r:systemd_logind_var_lib_t:s0 tclass=dir permissive=1 Hash: (modprobe),init_t,systemd_logind_var_lib_t,dir,mounton Version-Release number of selected component: selinux-policy-3.14.4-25.fc31.noarch Additional info: component: selinux-policy reporter: libreport-2.10.1 hashmarkername: setroubleshoot kernel: 5.3.0-0.rc2.git4.1.fc31.x86_64 type: libreport
*** This bug has been marked as a duplicate of bug 1734831 ***