Bug 1627956
| Summary: | SELinux is preventing geoclue from write access on the directory /dev/shm. | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Chris Murphy <bugzilla> | ||||
| 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: | 29 | CC: | dwalsh, lvrabec, mgrepl, plautrba, pmoore | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2018-09-16 20:26:38 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
Created attachment 1482516 [details]
journal snippet
[chris@f29h ~]$ sudo journalctl -b | grep -C10 geoclue
*** This bug has been marked as a duplicate of bug 1625632 *** |
I get a notification of this upon boot and login to GNOME Shell, without having launched anything else. SELinux is preventing geoclue from write access on the directory /dev/shm. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that geoclue should be allowed write access on the shm 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/shm [ dir ] Source geoclue Source Path geoclue Port <Unknown> Host f28h.local Source RPM Packages Target RPM Packages Policy RPM selinux-policy-3.14.2-34.fc29.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name f28h.local Platform Linux f28h.local 4.18.7-300.fc29.x86_64 #1 SMP Mon Sep 10 15:37:17 UTC 2018 x86_64 x86_64 Alert Count 1 First Seen 2018-09-11 18:31:47 MDT Last Seen 2018-09-11 18:31:47 MDT Local ID 8fc6eb23-d8de-429a-b00e-5be3a1b975f5 Raw Audit Messages type=AVC msg=audit(1536712307.965:241): avc: denied { write } for pid=1603 comm="geoclue" name="/" dev="tmpfs" ino=3349 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