Bug 639172

Summary: SELinux is preventing /usr/bin/sudo "signal" access .
Product: [Fedora] Fedora Reporter: Carl G. <carlg>
Component: selinux-policyAssignee: Daniel Walsh <dwalsh>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 14CC: dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: setroubleshoot_trace_hash:4b954bf76eabae3ee5545e6acd91a5b30b9b2c3f319d0102e9d545adb0587b0e
Fixed In Version: selinux-policy-3.9.5-10.fc14 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-10-05 13:08:34 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Carl G. 2010-09-30 23:17:57 UTC
Summary:

SELinux is preventing /usr/bin/sudo "signal" access .

Detailed Description:

SELinux denied access requested by sudo. It is not expected that this access is
required by sudo and this access may signal an intrusion attempt. It is also
possible that the specific version or configuration of the application is
causing it to require additional access.

Allowing Access:

You can generate a local policy module to allow this access - see FAQ
(http://docs.fedoraproject.org/selinux-faq-fc5/#id2961385) Please file a bug
report.

Additional Information:

Source Context                staff_u:staff_r:staff_sudo_t:s0
Target Context                staff_u:system_r:rpm_t:s0
Target Objects                None [ process ]
Source                        sudo
Source Path                   /usr/bin/sudo
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           sudo-1.7.4p4-3.fc14
Target RPM Packages           
Policy RPM                    selinux-policy-3.9.5-7.fc14
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed) 2.6.35.4-28.fc14.x86_64 #1 SMP
                              Wed Sep 15 01:56:54 UTC 2010 x86_64 x86_64
Alert Count                   1
First Seen                    Thu 30 Sep 2010 07:04:17 PM EDT
Last Seen                     Thu 30 Sep 2010 07:04:17 PM EDT
Local ID                      44bfeb32-5a98-4b50-8793-bd64d628cb16
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1285887857.170:30179): avc:  denied  { signal } for  pid=934 comm="sudo" scontext=staff_u:staff_r:staff_sudo_t:s0 tcontext=staff_u:system_r:rpm_t:s0 tclass=process

node=(removed) type=SYSCALL msg=audit(1285887857.170:30179): arch=c000003e syscall=62 success=no exit=-13 a0=3a7 a1=2 a2=2 a3=7fffcdec7fc0 items=0 ppid=2285 pid=934 auid=500 uid=0 gid=500 euid=0 suid=0 fsuid=0 egid=500 sgid=500 fsgid=500 tty=pts0 ses=1 comm="sudo" exe="/usr/bin/sudo" subj=staff_u:staff_r:staff_sudo_t:s0 key=(null)



Hash String generated from  catchall,sudo,staff_sudo_t,rpm_t,process,signal
audit2allow suggests:

#============= staff_sudo_t ==============
allow staff_sudo_t rpm_t:process signal;

Comment 1 Daniel Walsh 2010-10-01 14:54:45 UTC
Miroslav could you add

	application_signal($1_sudo_t)

to F13?

Fixed in selinux-policy-3.9.5-9.fc14

Comment 2 Fedora Update System 2010-10-04 19:36:27 UTC
selinux-policy-3.9.5-10.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/selinux-policy-3.9.5-10.fc14

Comment 3 Fedora Update System 2010-10-05 13:05:54 UTC
selinux-policy-3.9.5-10.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.