Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1369367 - SELinux is preventing geoclue from 'write' accesses on the sock_file socket.
Summary: SELinux is preventing geoclue from 'write' accesses on the sock_file socket.
Keywords:
Status: CLOSED DUPLICATE of bug 1371818
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: rawhide
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:18f8d363e34900368ec6eff2b5a...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-08-23 08:43 UTC by Nicolas Mailhot
Modified: 2016-09-15 12:25 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-09-15 12:25:15 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Nicolas Mailhot 2016-08-23 08:43:39 UTC
Description of problem:
SELinux is preventing geoclue from 'write' accesses on the sock_file socket.

*****  Plugin catchall (100. confidence) suggests   **************************

If vous pensez que geoclue devrait être autorisé à accéder write sur socket sock_file par défaut.
Then vous devriez rapporter ceci en tant qu'anomalie.
Vous pouvez générer un module de stratégie local pour autoriser cet accès.
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:syslogd_var_run_t:s0
Target Objects                socket [ sock_file ]
Source                        geoclue
Source Path                   geoclue
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.13.1-209.fc26.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 4.8.0-0.rc2.git4.1.fc26.x86_64 #1
                              SMP Sat Aug 20 03:06:32 UTC 2016 x86_64 x86_64
Alert Count                   1
First Seen                    2016-08-22 08:35:21 CEST
Last Seen                     2016-08-22 08:35:21 CEST
Local ID                      b9fd5b1c-d4bf-4e78-b4e3-993df4c144f5

Raw Audit Messages
type=AVC msg=audit(1471847721.76:194): avc:  denied  { write } for  pid=1316 comm="geoclue" name="socket" dev="tmpfs" ino=9571 scontext=system_u:system_r:geoclue_t:s0 tcontext=system_u:object_r:syslogd_var_run_t:s0 tclass=sock_file permissive=0


Hash: geoclue,geoclue_t,syslogd_var_run_t,sock_file,write

Version-Release number of selected component:
selinux-policy-3.13.1-209.fc26.noarch

Additional info:
reporter:       libreport-2.7.2
hashmarkername: setroubleshoot
kernel:         4.8.0-0.rc2.git4.1.fc26.x86_64
type:           libreport

Comment 1 Lukas Vrabec 2016-09-15 12:25:15 UTC

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


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