Description of problem: SELinux is preventing systemd-machine from 'write' accesses on the directory userdb. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that systemd-machine should be allowed write access on the userdb 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 'systemd-machine' --raw | audit2allow -M my-systemdmachine # semodule -X 300 -i my-systemdmachine.pp Additional Information: Source Context system_u:system_r:systemd_machined_t:s0 Target Context system_u:object_r:systemd_userdbd_runtime_t:s0 Target Objects userdb [ dir ] Source systemd-machine Source Path systemd-machine Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages SELinux Policy RPM selinux-policy-targeted-3.14.6-20.fc33.noarch Local Policy RPM selinux-policy-targeted-3.14.6-20.fc33.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Permissive Host Name (removed) Platform Linux (removed) 5.8.0-0.rc7.1.fc33.x86_64 #1 SMP Thu Jul 30 18:24:26 UTC 2020 x86_64 x86_64 Alert Count 1 First Seen 2020-08-01 14:59:40 +05 Last Seen 2020-08-01 14:59:40 +05 Local ID aef8ccb3-678d-4d84-a49b-ae2671933da0 Raw Audit Messages type=AVC msg=audit(1596275980.755:120): avc: denied { write } for pid=1143 comm="systemd-machine" name="userdb" dev="tmpfs" ino=3882 scontext=system_u:system_r:systemd_machined_t:s0 tcontext=system_u:object_r:systemd_userdbd_runtime_t:s0 tclass=dir permissive=1 Hash: systemd-machine,systemd_machined_t,systemd_userdbd_runtime_t,dir,write Version-Release number of selected component: selinux-policy-targeted-3.14.6-20.fc33.noarch Additional info: component: selinux-policy reporter: libreport-2.13.1 hashmarkername: setroubleshoot kernel: 5.8.0-0.rc7.1.fc33.x86_64 type: libreport
*** This bug has been marked as a duplicate of bug 1862686 ***