Bug 536722

Summary: SELinux is preventing /usr/sbin/sshd "module_request" access.
Product: [Fedora] Fedora Reporter: Aron Parsons <aparsons>
Component: selinux-policyAssignee: Daniel Walsh <dwalsh>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 12CC: chris.ricker, cward, dqarras, dwalsh, htl10, mgrepl, n12367, nobody
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: setroubleshoot_trace_hash:25e329eec37ae226a123466b57ad4b7fc8379a1f2840517d3895becf3535717a
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-11-11 14:50:48 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 Aron Parsons 2009-11-11 03:38:37 UTC
Summary:

SELinux is preventing /usr/sbin/sshd "module_request" access.

Detailed Description:

SELinux denied access requested by sshd. It is not expected that this access is
required by sshd 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://fedora.redhat.com/docs/selinux-faq-fc5/#id2961385) Please file a bug
report.

Additional Information:

Source Context                unconfined_u:system_r:sshd_t:s0-s0:c0.c1023
Target Context                system_u:system_r:kernel_t:s0
Target Objects                None [ system ]
Source                        sshd
Source Path                   /usr/sbin/sshd
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           openssh-server-5.2p1-31.fc12
Target RPM Packages           
Policy RPM                    selinux-policy-3.6.32-41.fc12
Selinux Enabled               True
Policy Type                   targeted
MLS Enabled                   True
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed) 2.6.31.5-122.fc12.x86_64 #1 SMP
                              Thu Nov 5 01:37:34 EST 2009 x86_64 x86_64
Alert Count                   15
First Seen                    Sat 17 Oct 2009 06:23:09 PM EDT
Last Seen                     Tue 10 Nov 2009 10:24:30 PM EST
Local ID                      5a36abf3-bde2-43e7-8dcc-74cbbf46bf7f
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1257909870.355:23841): avc:  denied  { module_request } for  pid=30430 comm="sshd" scontext=unconfined_u:system_r:sshd_t:s0-s0:c0.c1023 tcontext=system_u:system_r:kernel_t:s0 tclass=system

node=(removed) type=SYSCALL msg=audit(1257909870.355:23841): arch=c000003e syscall=41 success=no exit=-97 a0=a a1=2 a2=0 a3=2 items=0 ppid=30416 pid=30430 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=1 comm="sshd" exe="/usr/sbin/sshd" subj=unconfined_u:system_r:sshd_t:s0-s0:c0.c1023 key=(null)



Hash String generated from  selinux-policy-3.6.32-41.fc12,catchall,sshd,sshd_t,kernel_t,system,module_request
audit2allow suggests:

#============= sshd_t ==============
allow sshd_t kernel_t:system module_request;

Comment 1 Daniel Walsh 2009-11-11 14:50:48 UTC

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