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
Bug 1228637 - SELinux is preventing rpcbind from 'add_name' accesses on the directory portmap.xdr.
Summary: SELinux is preventing rpcbind from 'add_name' accesses on the directory portm...
Status: CLOSED DUPLICATE of bug 1228494
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 22
Hardware: x86_64
OS: Unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
Whiteboard: abrt_hash:f17046665cf52a0fb07a72bd8d1...
Depends On:
TreeView+ depends on / blocked
Reported: 2015-06-05 11:30 UTC by Richard J. Turner
Modified: 2015-06-17 10:36 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2015-06-17 10:36:31 UTC
Type: ---

Attachments (Terms of Use)

Description Richard J. Turner 2015-06-05 11:30:34 UTC
Description of problem:
Tried to mount an NFS share exported by this machine.
SELinux is preventing rpcbind from 'add_name' accesses on the directory portmap.xdr.

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

If you believe that rpcbind should be allowed add_name access on the portmap.xdr directory by default.
Then you should report this as a bug.
You can generate a local policy module to allow this access.
allow this access for now by executing:
# grep rpcbind /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                system_u:system_r:rpcbind_t:s0
Target Context                system_u:object_r:tmp_t:s0
Target Objects                portmap.xdr [ dir ]
Source                        rpcbind
Source Path                   rpcbind
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.13.1-126.fc22.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 4.0.4-303.fc22.x86_64 #1 SMP Thu
                              May 28 12:37:06 UTC 2015 x86_64 x86_64
Alert Count                   2
First Seen                    2015-06-05 12:28:57 BST
Last Seen                     2015-06-05 12:28:57 BST
Local ID                      bdc133c2-10a5-43ef-94a5-9c6517d5d677

Raw Audit Messages
type=AVC msg=audit(1433503737.617:6108): avc:  denied  { add_name } for  pid=8731 comm="rpcbind" name="portmap.xdr" scontext=system_u:system_r:rpcbind_t:s0 tcontext=system_u:object_r:tmp_t:s0 tclass=dir permissive=0

Hash: rpcbind,rpcbind_t,tmp_t,dir,add_name

Version-Release number of selected component:

Additional info:
reporter:       libreport-2.5.1
hashmarkername: setroubleshoot
kernel:         4.0.4-303.fc22.x86_64
type:           libreport

Comment 1 Miroslav Grepl 2015-06-17 10:36:31 UTC

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

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