Bug 542912

Summary: SELinux is preventing /usr/sbin/dnsmasq "module_request" access.
Product: [Fedora] Fedora Reporter: Martin Naď <martin.nad89>
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: x86_64   
OS: Linux   
Whiteboard: setroubleshoot_trace_hash:c48ba05d83cdca4d2ee3a39e0980681ad8f9136ac3836459aabb2b16645a8431
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-12-01 11:14:24 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 Martin Naď 2009-12-01 07:28:41 UTC
Souhrn:

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

Podrobný popis:

SELinux denied access requested by dnsmasq. It is not expected that this access
is required by dnsmasq 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.

Povolení přístupu:

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.

Další informace:

Kontext zdroje                system_u:system_r:dnsmasq_t:s0
Kontext cíle                 system_u:system_r:kernel_t:s0
Objekty cíle                 None [ system ]
Zdroj                         dnsmasq
Cesta zdroje                  /usr/sbin/dnsmasq
Port                          <Neznámé>
Počítač                    (removed)
RPM balíčky zdroje          dnsmasq-2.51-1.fc12
RPM balíčky cíle           
RPM politiky                  selinux-policy-3.6.32-49.fc12
Selinux povolen               True
Typ politiky                  targeted
Vynucovací režim            Enforcing
Název zásuvného modulu     catchall
Název počítače            (removed)
Platforma                     Linux (removed)
                              2.6.31.6-145.fc12.x86_64 #1 SMP Sat Nov 21
                              15:57:45 EST 2009 x86_64 x86_64
Počet upozornění           2
Poprvé viděno               Po 30. listopad 2009, 21:17:39 CET
Naposledy viděno             Po 30. listopad 2009, 22:11:10 CET
Místní ID                   e444a80a-3f1d-49c4-b223-1519e19fe544
Čísla řádků              

Původní zprávy auditu      

node=(removed) type=AVC msg=audit(1259615470.62:6): avc:  denied  { module_request } for  pid=1008 comm="dnsmasq" scontext=system_u:system_r:dnsmasq_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=system

node=(removed) type=SYSCALL msg=audit(1259615470.62:6): arch=c000003e syscall=41 success=no exit=-97 a0=a a1=2 a2=0 a3=7fffe2a21840 items=0 ppid=1007 pid=1008 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="dnsmasq" exe="/usr/sbin/dnsmasq" subj=system_u:system_r:dnsmasq_t:s0 key=(null)



Hash String generated from  selinux-policy-3.6.32-49.fc12,catchall,dnsmasq,dnsmasq_t,kernel_t,system,module_request
audit2allow suggests:

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

Comment 1 Miroslav Grepl 2009-12-01 11:14:24 UTC

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