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 1227026 - SELinux is preventing /usr/sbin/rpcbind (deleted) from 'write' accesses on the directory /tmp.
Summary: SELinux is preventing /usr/sbin/rpcbind (deleted) from 'write' accesses on th...
Keywords:
Status: CLOSED DUPLICATE of bug 1227025
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:2baf5a49d4c4c6dec08aba5a958...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-06-01 18:16 UTC by Nicolas Mailhot
Modified: 2015-06-02 15:24 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-06-02 15:24:00 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Nicolas Mailhot 2015-06-01 18:16:59 UTC
Description of problem:
SELinux is preventing /usr/sbin/rpcbind (deleted) from 'write' accesses on the directory /tmp.

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

If vous pensez que rpcbind (deleted) devrait être autorisé à accéder write sur tmp directory 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
autoriser cet accès pour le moment en exécutant :
# 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                /tmp [ dir ]
Source                        rpcbind
Source Path                   /usr/sbin/rpcbind (deleted)
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           filesystem-3.2-33.fc23.x86_64
                              filesystem-3.2-33.fc23.x86_64
Policy RPM                    selinux-policy-3.13.1-127.fc23.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Host Name                     (removed)
Platform                      Linux (removed) 4.1.0-0.rc5.git0.1.fc23.x86_64 #1
                              SMP Mon May 25 14:53:02 UTC 2015 x86_64 x86_64
Alert Count                   1
First Seen                    2015-06-01 05:31:46 CEST
Last Seen                     2015-06-01 05:31:46 CEST
Local ID                      491846de-565c-47ae-8c34-b2928b2082e5

Raw Audit Messages
type=AVC msg=audit(1433129506.611:29384): avc:  denied  { write } for  pid=902 comm="rpcbind" name="/" dev="tmpfs" ino=12914 scontext=system_u:system_r:rpcbind_t:s0 tcontext=system_u:object_r:tmp_t:s0 tclass=dir permissive=1


type=AVC msg=audit(1433129506.611:29384): avc:  denied  { add_name } for  pid=902 comm="rpcbind" name="rpcbind.xdr" scontext=system_u:system_r:rpcbind_t:s0 tcontext=system_u:object_r:tmp_t:s0 tclass=dir permissive=1


type=AVC msg=audit(1433129506.611:29384): avc:  denied  { create } for  pid=902 comm="rpcbind" name="rpcbind.xdr" scontext=system_u:system_r:rpcbind_t:s0 tcontext=system_u:object_r:tmp_t:s0 tclass=file permissive=1


type=AVC msg=audit(1433129506.611:29384): avc:  denied  { write open } for  pid=902 comm="rpcbind" path="/tmp/rpcbind.xdr" dev="tmpfs" ino=2169339 scontext=system_u:system_r:rpcbind_t:s0 tcontext=system_u:object_r:tmp_t:s0 tclass=file permissive=1


type=SYSCALL msg=audit(1433129506.611:29384): arch=x86_64 syscall=open success=yes exit=EINTR a0=557851ec0740 a1=241 a2=1b6 a3=1d1 items=0 ppid=1 pid=902 auid=4294967295 uid=32 gid=32 euid=32 suid=32 fsuid=32 egid=32 sgid=32 fsgid=32 tty=(none) ses=4294967295 comm=rpcbind exe=2F7573722F7362696E2F72706362696E64202864656C6574656429 subj=system_u:system_r:rpcbind_t:s0 key=(null)

Hash: rpcbind,rpcbind_t,tmp_t,dir,write

Version-Release number of selected component:
selinux-policy-3.13.1-127.fc23.noarch

Additional info:
reporter:       libreport-2.5.1
hashmarkername: setroubleshoot
kernel:         4.1.0-0.rc5.git0.1.fc23.x86_64
type:           libreport

Comment 1 Miroslav Grepl 2015-06-02 15:24:00 UTC

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


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