Bug 1862688
| Summary: | SELinux is preventing systemd-machine from 'write' accesses on the directory userdb. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Mikhail <mikhail.v.gavrilov> |
| Component: | selinux-policy | Assignee: | Zdenek Pytela <zpytela> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | dwalsh, grepl.miroslav, lvrabec, mmalik, plautrba, vmojzis, zpytela |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:7c97b4ad0c36e79bea2d291cb5386d0e63019868ab0fdba32ecff1dedd016d0d;VARIANT_ID=workstation; | ||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-08-07 15:35:01 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
*** This bug has been marked as a duplicate of bug 1862686 *** |
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