Bug 544394

Summary: SELinux is preventing /usr/sbin/sshd "module_request" access.
Product: [Fedora] Fedora Reporter: Daniel Qarras <dqarras>
Component: selinux-policyAssignee: Daniel Walsh <dwalsh>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 12CC: dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard: setroubleshoot_trace_hash:d85eab96df8a760bb2510ffe10d9df2b496ec8c71a30329c7b0323f781160890
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-12-05 12:08:31 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 Daniel Qarras 2009-12-04 19:37:20 UTC
Summary:

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

Detailed Description:

[SELinux is in permissive mode. This access was not denied.]

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                system_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-49.fc12
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed) 2.6.31.6-145.fc12.i686
                              #1 SMP Sat Nov 21 16:28:23 EST 2009 i686 i686
Alert Count                   4
First Seen                    Thu 03 Dec 2009 09:46:15 AM EET
Last Seen                     Fri 04 Dec 2009 09:03:08 PM EET
Local ID                      27e0acaa-5ea0-41a1-b606-18c4d30b360e
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1259953388.925:5): avc:  denied  { module_request } for  pid=996 comm="sshd" scontext=system_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(1259953388.925:5): arch=40000003 syscall=102 success=no exit=-97 a0=1 a1=bf941f84 a2=10d6ff4 a3=a items=0 ppid=992 pid=996 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="sshd" exe="/usr/sbin/sshd" subj=system_u:system_r:sshd_t:s0-s0:c0.c1023 key=(null)



Hash String generated from  selinux-policy-3.6.32-49.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-12-05 12:08:31 UTC
Did you disable ipv6?

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

Comment 2 Daniel Qarras 2009-12-05 13:30:36 UTC
Yes, I've got IPv6 disabled (zero need and some local applications are getting confused with it) - I hope IPv4 setup is a configuration which is supposed to work?

Comment 3 Daniel Walsh 2009-12-05 23:40:44 UTC
Yes this is a basic bug that you can ignore for now, as we work to create a better solution.