Bug 1619571
| Summary: | SELinux is preventing geoclue from 'write' accesses on the directory /dev/mqueue. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Mikhail <mikhail.v.gavrilov> |
| Component: | selinux-policy | Assignee: | Lukas Vrabec <lvrabec> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | dwalsh, lvrabec, mgrepl, plautrba, pmoore, vondruch |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:4bf3ccdc37aacd1c83f6239a03a36d13c179aa8369c673ffb0262b08c24a3891;VARIANT_ID=workstation; | ||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-09-10 10:04:31 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 1625632 *** |
Description of problem: SELinux is preventing geoclue from 'write' accesses on the directory /dev/mqueue. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that geoclue should be allowed write access on the mqueue 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 'geoclue' --raw | audit2allow -M my-geoclue # semodule -X 300 -i my-geoclue.pp Additional Information: Source Context system_u:system_r:geoclue_t:s0 Target Context system_u:object_r:tmpfs_t:s0 Target Objects /dev/mqueue [ dir ] Source geoclue Source Path geoclue Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages Policy RPM selinux-policy-3.14.2-32.fc29.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 4.19.0-0.rc0.git3.1.fc30.x86_64 #1 SMP Thu Aug 16 14:06:44 UTC 2018 x86_64 x86_64 Alert Count 9 First Seen 2018-08-20 21:52:24 +05 Last Seen 2018-08-20 21:52:24 +05 Local ID 6b7fb392-2220-449d-814b-519c99c8eb2b Raw Audit Messages type=AVC msg=audit(1534783944.287:341): avc: denied { write } for pid=2265 comm="geoclue" name="/" dev="mqueue" ino=12977 scontext=system_u:system_r:geoclue_t:s0 tcontext=system_u:object_r:tmpfs_t:s0 tclass=dir permissive=0 Hash: geoclue,geoclue_t,tmpfs_t,dir,write Version-Release number of selected component: selinux-policy-3.14.2-32.fc29.noarch Additional info: component: selinux-policy reporter: libreport-2.9.5 hashmarkername: setroubleshoot kernel: 4.19.0-0.rc0.git3.1.fc30.x86_64 type: libreport