Bug 872769 - SELinux is preventing /usr/sbin/rpcbind from 'unlink' accesses on the sock_file rpcbind.sock.
Summary: SELinux is preventing /usr/sbin/rpcbind from 'unlink' accesses on the sock_fi...
Keywords:
Status: CLOSED DUPLICATE of bug 872768
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 17
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:b3d96516b003746aea2e6c11c56...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-11-03 00:18 UTC by nordaux
Modified: 2012-11-05 09:10 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-11-05 09:10:13 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: type (9 bytes, text/plain)
2012-11-03 00:18 UTC, nordaux
no flags Details
File: hashmarkername (14 bytes, text/plain)
2012-11-03 00:18 UTC, nordaux
no flags Details

Description nordaux 2012-11-03 00:18:48 UTC
Additional info:
libreport version: 2.0.18
kernel:         3.6.5-1.fc17.x86_64

description:
:SELinux is preventing /usr/sbin/rpcbind from 'unlink' accesses on the sock_file rpcbind.sock.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that rpcbind should be allowed unlink access on the rpcbind.sock sock_file by default.
:Then you should report this as a bug.
:You can generate a local policy module to allow this access.
:Do
: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:var_run_t:s0
:Target Objects                rpcbind.sock [ sock_file ]
:Source                        rpcbind
:Source Path                   /usr/sbin/rpcbind
:Port                          <Unknown>
:Host                          (removed)
:Source RPM Packages           rpcbind-0.2.0-19.fc17.x86_64
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-156.fc17.noarch
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Enforcing
:Host Name                     (removed)
:Platform                      Linux (removed) 3.6.5-1.fc17.x86_64 #1 SMP Wed Oct
:                              31 19:37:18 UTC 2012 x86_64 x86_64
:Alert Count                   1
:First Seen                    2012-11-03 03:16:47 EET
:Last Seen                     2012-11-03 03:16:47 EET
:Local ID                      2aa5bbd1-349f-4605-8393-683cabe6b92c
:
:Raw Audit Messages
:type=AVC msg=audit(1351905407.750:70): avc:  denied  { unlink } for  pid=2655 comm="rpcbind" name="rpcbind.sock" dev="tmpfs" ino=16091 scontext=system_u:system_r:rpcbind_t:s0 tcontext=system_u:object_r:var_run_t:s0 tclass=sock_file
:
:
:type=SYSCALL msg=audit(1351905407.750:70): arch=x86_64 syscall=unlink success=no exit=EACCES a0=7f251ca83ee4 a1=7f251d152516 a2=7fff1fbe0a10 a3=7fff1fbe0780 items=0 ppid=1 pid=2655 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=rpcbind exe=/usr/sbin/rpcbind subj=system_u:system_r:rpcbind_t:s0 key=(null)
:
:Hash: rpcbind,rpcbind_t,var_run_t,sock_file,unlink
:
:audit2allow
:
:#============= rpcbind_t ==============
:allow rpcbind_t var_run_t:sock_file unlink;
:
:audit2allow -R
:
:#============= rpcbind_t ==============
:allow rpcbind_t var_run_t:sock_file unlink;
:


Potential duplicate bug: 729963

Comment 1 nordaux 2012-11-03 00:18:51 UTC
Created attachment 637337 [details]
File: type

Comment 2 nordaux 2012-11-03 00:18:53 UTC
Created attachment 637338 [details]
File: hashmarkername

Comment 3 Miroslav Grepl 2012-11-05 09:10:13 UTC

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


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