Bug 1218136 - SELinux is preventing glusterd from 'write' accesses on the sock_file glusterd.socket.
Summary: SELinux is preventing glusterd from 'write' accesses on the sock_file gluster...
Keywords:
Status: CLOSED DUPLICATE of bug 1218135
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 22
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:32b9ec0e748244edfa391254a99...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-05-04 09:23 UTC by autarch princeps
Modified: 2015-05-12 14:23 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-05-12 14:23:28 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description autarch princeps 2015-05-04 09:23:29 UTC
Description of problem:
SELinux is preventing glusterd from 'write' accesses on the sock_file glusterd.socket.

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

If sie denken, dass es glusterd standardmässig erlaubt sein sollte, write Zugriff auf glusterd.socket sock_file zu erhalten.
Then sie sollten dies als Fehler melden.
Um diesen Zugriff zu erlauben, können Sie ein lokales Richtlinien-Modul erstellen.
Do
zugriff jetzt erlauben, indem Sie die nachfolgenden Befehle ausführen:
# grep glusterd /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                system_u:system_r:glusterd_t:s0
Target Context                unconfined_u:object_r:var_run_t:s0
Target Objects                glusterd.socket [ sock_file ]
Source                        glusterd
Source Path                   glusterd
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.13.1-122.fc22.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Host Name                     (removed)
Platform                      Linux (removed) 4.0.0-1.fc22.x86_64 #1 SMP Mon Apr
                              13 10:03:33 UTC 2015 x86_64 x86_64
Alert Count                   1
First Seen                    2015-04-24 10:36:42 CEST
Last Seen                     2015-04-24 10:36:42 CEST
Local ID                      7f531889-efa9-47b3-97d4-aa26c30a485a

Raw Audit Messages
type=AVC msg=audit(1429864602.847:655): avc:  denied  { write } for  pid=6089 comm="glusterd" name="glusterd.socket" dev="tmpfs" ino=89594 scontext=system_u:system_r:glusterd_t:s0 tcontext=unconfined_u:object_r:var_run_t:s0 tclass=sock_file permissive=1


Hash: glusterd,glusterd_t,var_run_t,sock_file,write

Version-Release number of selected component:
selinux-policy-3.13.1-122.fc22.noarch

Additional info:
reporter:       libreport-2.5.1
hashmarkername: setroubleshoot
kernel:         4.0.1-300.fc22.x86_64
type:           libreport

Potential duplicate: bug 1019431

Comment 1 Miroslav Grepl 2015-05-12 14:23:28 UTC

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


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