Bug 1403430 - SELinux is preventing rpc.mountd from 'write' accesses on the sock_file rpcbind.sock.
Summary: SELinux is preventing rpc.mountd from 'write' accesses on the sock_file rpcbi...
Keywords:
Status: CLOSED DUPLICATE of bug 1403433
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 25
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Lukas Vrabec
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:8102176f171e2f61ad5c384beaa...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-12-10 09:56 UTC by bugzilla
Modified: 2016-12-10 12:46 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-12-10 12:46:57 UTC
Type: ---


Attachments (Terms of Use)

Description bugzilla 2016-12-10 09:56:42 UTC
Description of problem:
SELinux is preventing rpc.mountd from 'write' accesses on the sock_file rpcbind.sock.

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

If vous pensez que rpc.mountd devrait être autorisé à accéder write sur rpcbind.sock 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 'rpc.mountd' --raw | audit2allow -M my-rpcmountd
# semodule -X 300 -i my-rpcmountd.pp

Additional Information:
Source Context                system_u:system_r:nfsd_t:s0
Target Context                system_u:object_r:var_run_t:s0
Target Objects                rpcbind.sock [ sock_file ]
Source                        rpc.mountd
Source Path                   rpc.mountd
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.13.1-225.1.fc25.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 4.8.12-300.fc25.x86_64 #1 SMP Fri
                              Dec 2 17:52:11 UTC 2016 x86_64 x86_64
Alert Count                   15
First Seen                    2016-12-10 10:53:09 CET
Last Seen                     2016-12-10 10:53:09 CET
Local ID                      c3760890-014b-49f3-883b-4b5c18014854

Raw Audit Messages
type=AVC msg=audit(1481363589.816:289): avc:  denied  { write } for  pid=2544 comm="rpc.mountd" name="rpcbind.sock" dev="tmpfs" ino=14492 scontext=system_u:system_r:nfsd_t:s0 tcontext=system_u:object_r:var_run_t:s0 tclass=sock_file permissive=0


Hash: rpc.mountd,nfsd_t,var_run_t,sock_file,write

Version-Release number of selected component:
selinux-policy-3.13.1-225.1.fc25.noarch

Additional info:
reporter:       libreport-2.8.0
hashmarkername: setroubleshoot
kernel:         4.8.12-300.fc25.x86_64
type:           libreport

Potential duplicate: bug 875310

Comment 1 Daniel Walsh 2016-12-10 12:46:57 UTC

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


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