Description of problem: My yesterday's Fedora 31 upgrade (OSTree, but that shouldn't matter much) regressed iwd, it now fails to start: systemd[1]: Starting Wireless service... audit[945]: AVC avc: denied { setattr } for pid=945 comm="(iwd)" name="iwd" dev="dm-0" ino=524846 scontext=system_u:system_r:init_t:s0 tcontext=system_u:object_r:var_lib_t:s0 tclass=dir permissive=0 systemd[945]: iwd.service: Failed to set up special execution directory in /var/lib: Permission denied systemd[945]: iwd.service: Failed at step STATE_DIRECTORY spawning /usr/libexec/iwd: Permission denied systemd[1]: iwd.service: Main process exited, code=exited, status=238/STATE_DIRECTORY systemd[1]: iwd.service: Failed with result 'exit-code'. systemd[1]: Failed to start Wireless service. Apparently the SELinux policy does not allow systemd to create StateDirectory=iwd and/or StateDirectoryMode=0700 (see systemctl cat iwd). Version-Release number of selected component (if applicable): selinux-policy-3.14.4-35.fc31.noarch iwd-0.21-1.fc31.x86_64 How reproducible: Always Steps to Reproduce: 1. Boot Actual results: iwd.service fails Expected results: iwd.service starts Additional info: Both iwd and selinux-policy got upgraded since my previous image where iwd still worked: $ sudo rpm-ostree db diff | grep -E 'iwd|selinux' iwd 0.20-2.fc31 -> 0.21-1.fc31 selinux-policy 3.14.4-31.fc31 -> 3.14.4-35.fc31 selinux-policy-targeted 3.14.4-31.fc31 -> 3.14.4-35.fc31 After `setenforce 0`, iwd starts up fine.
CCing iwd maintainers FYI
*** This bug has been marked as a duplicate of bug 1754245 ***