Bug 1601493
| Summary: | SELinux is preventing ModemManager from 'read' accesses on the file /var/lib/sss/mc/passwd. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Lee Lian Hoy <cruz> |
| Component: | selinux-policy | Assignee: | Lukas Vrabec <lvrabec> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 29 | CC: | dwalsh, lvrabec, mgrepl, plautrba, pmoore |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:4d4031a26c44db933d8e7079390713b634baf94bbac41aac9c65e016bcb446ea;VARIANT_ID=workstation; | ||
| Fixed In Version: | selinux-policy-3.14.2-34.fc29 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-09-12 02:56:59 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 appears to have been reported against 'rawhide' during the Fedora 29 development cycle. Changing version to '29'. selinux-policy-3.14.2-34.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2018-db240a1726 selinux-policy-3.14.2-34.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report. |
Description of problem: SELinux is preventing ModemManager from 'read' accesses on the file /var/lib/sss/mc/passwd. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that ModemManager should be allowed read access on the passwd 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 'ModemManager' --raw | audit2allow -M my-ModemManager # semodule -X 300 -i my-ModemManager.pp Additional Information: Source Context system_u:system_r:modemmanager_t:s0 Target Context system_u:object_r:sssd_public_t:s0 Target Objects /var/lib/sss/mc/passwd [ file ] Source ModemManager Source Path ModemManager Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages sssd-common-1.16.2-5.fc29.x86_64 Policy RPM selinux-policy-3.14.2-26.fc29.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Permissive Host Name (removed) Platform Linux (removed) 4.18.0-0.rc4.git4.1.fc29.x86_64 #1 SMP Fri Jul 13 15:58:04 UTC 2018 x86_64 x86_64 Alert Count 2 First Seen 2018-07-17 01:14:46 NZST Last Seen 2018-07-17 01:14:46 NZST Local ID 63208a83-69a0-4641-b509-4af45752c824 Raw Audit Messages type=AVC msg=audit(1531746886.166:164): avc: denied { read } for pid=898 comm="mbim-proxy" name="passwd" dev="nvme0n1p7" ino=2273073 scontext=system_u:system_r:modemmanager_t:s0 tcontext=system_u:object_r:sssd_public_t:s0 tclass=file permissive=1 Hash: ModemManager,modemmanager_t,sssd_public_t,file,read Version-Release number of selected component: selinux-policy-3.14.2-26.fc29.noarch Additional info: component: selinux-policy reporter: libreport-2.9.5 hashmarkername: setroubleshoot kernel: 4.18.0-0.rc4.git4.1.fc29.x86_64 type: libreport