Bug 665204 - SELinux is preventing /sbin/iscsid from using the 'setsched' accesses on a process.
Summary: SELinux is preventing /sbin/iscsid from using the 'setsched' accesses on a pr...
Keywords:
Status: CLOSED DUPLICATE of bug 665203
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 14
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:38777986938...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-12-23 04:13 UTC by shane
Modified: 2010-12-23 15:33 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2010-12-23 15:33:39 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description shane 2010-12-23 04:13:53 UTC
SELinux is preventing /sbin/iscsid from using the 'setsched' accesses on a process.

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

If you believe that iscsid should be allowed setsched access on processes labeled kernel_t 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 /sbin/iscsid /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                unconfined_u:system_r:iscsid_t:s0
Target Context                system_u:system_r:kernel_t:s0
Target Objects                Unknown [ process ]
Source                        iscsid
Source Path                   /sbin/iscsid
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           iscsi-initiator-utils-6.2.0.872-8.fc14
Target RPM Packages           
Policy RPM                    selinux-policy-3.9.7-18.fc14
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Host Name                     (removed)
Platform                      Linux (removed) 2.6.35.9-64.fc14.x86_64 #1 SMP Fri Dec
                              3 12:19:41 UTC 2010 x86_64 x86_64
Alert Count                   6
First Seen                    Wed 22 Dec 2010 06:39:35 PM CST
Last Seen                     Wed 22 Dec 2010 08:52:47 PM CST
Local ID                      1882d5d2-e438-46ea-8982-d78069f4761e

Raw Audit Messages
type=AVC msg=audit(1293072767.195:26463): avc:  denied  { setsched } for  pid=10528 comm="iscsid" scontext=unconfined_u:system_r:iscsid_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=process

iscsid,iscsid_t,kernel_t,process,setsched
type=SYSCALL msg=audit(1293072767.195:26463): arch=x86_64 syscall=setpriority success=yes exit=0 a0=0 a1=294a a2=ffffffec a3=0 items=0 ppid=1 pid=10528 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=44 comm=iscsid exe=/sbin/iscsid subj=unconfined_u:system_r:iscsid_t:s0 key=(null)
iscsid,iscsid_t,kernel_t,process,setsched

#============= iscsid_t ==============
allow iscsid_t kernel_t:process setsched;

Comment 1 Daniel Walsh 2010-12-23 15:33:39 UTC

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


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