Bug 1619571 - SELinux is preventing geoclue from 'write' accesses on the directory /dev/mqueue.
Summary: SELinux is preventing geoclue from 'write' accesses on the directory /dev/mqu...
Keywords:
Status: CLOSED DUPLICATE of bug 1625632
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: rawhide
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Lukas Vrabec
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:4bf3ccdc37aacd1c83f6239a03a...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-08-21 08:31 UTC by Mikhail
Modified: 2018-09-10 10:04 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2018-09-10 10:04:31 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Mikhail 2018-08-21 08:31:02 UTC
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

Comment 1 Lukas Vrabec 2018-09-10 10:04:31 UTC

*** This bug has been marked as a duplicate of bug 1625632 ***


Note You need to log in before you can comment on or make changes to this bug.