Bug 444376

Summary: selinux prevents iscsid service shutdown
Product: [Fedora] Fedora Reporter: Matt Domsch <matt_domsch>
Component: selinux-policy-targetedAssignee: Daniel Walsh <dwalsh>
Status: CLOSED RAWHIDE QA Contact: Ben Levenson <benl>
Severity: low Docs Contact:
Priority: low    
Version: rawhideCC: linux-bugs
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-04-28 10:30:36 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On:    
Bug Blocks: 235706    

Description Matt Domsch 2008-04-27 21:30:35 EDT
Description of problem:
run command : /sbin/service iscsid stop.  Note AVC denial:

type=AVC msg=audit(1209345908.152:23): avc:  denied  { signal } for  pid=2485
comm="iscsid" scontext=system_u:system_r:iscsid_t:s0
tcontext=system_u:system_r:iscsid_t:s0 tclass=process
type=SYSCALL msg=audit(1209345908.152:23): arch=c000003e syscall=62 success=no
exit=-13 a0=9b4 a1=f a2=40a788 a3=8101010101010100 items=0 ppid=1 pid=2485
auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0
tty=(none) ses=4294967295 comm="iscsid" exe="/sbin/iscsid"
subj=system_u:system_r:iscsid_t:s0 key=(null)

SELinux is preventing iscsid (iscsid_t) "signal" to <Unknown> (iscsid_t).
Detailed Description
SELinux denied access requested by iscsid. It is not expected that this access
is required by iscsid 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. 

Version-Release number of selected component (if applicable):
Comment 1 Daniel Walsh 2008-04-28 10:30:36 EDT
You can allow this for now.

# audit2allow -M mypol -l -i /var/log/audit/audit.log
# semodule -i mypol.pp

Fixed in selinux-policy-3.3.1-42.fc9.noarch