Bug 618412

Summary: SELinux is preventing /bin/bash "rlimitinh" access .
Product: Red Hat Enterprise Linux 6 Reporter: Matěj Cepl <mcepl>
Component: selinux-policyAssignee: Daniel Walsh <dwalsh>
Status: CLOSED DUPLICATE QA Contact: BaseOS QE Security Team <qe-baseos-security>
Severity: medium Docs Contact:
Priority: low    
Version: 6.1Keywords: RHELNAK, SELinux
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-07-27 08:35:33 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 Matěj Cepl 2010-07-26 21:17:37 UTC
Happened to me on the restart of the computer. I haven't done anything specific which would deserve it in my opinion.


Souhrn:

SELinux is preventing /bin/bash "rlimitinh" access .

Podrobný popis:

[sh je v toleratním režimu (crond_t). Přístup byl povolen.]

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

Další informace:

Kontext zdroje                system_u:system_r:crond_t:s0-s0:c0.c1023
Kontext cíle                 staff_u:staff_r:staff_t:s0-s0:c0.c1023
Objekty cíle                 None [ process ]
Zdroj                         sh
Cesta zdroje                  /bin/bash
Port                          <Neznámé>
Počítač                    (removed)
RPM balíčky zdroje          bash-4.1.2-3.el6
RPM balíčky cíle           
RPM politiky                  selinux-policy-3.7.19-34.el6
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 johanka.ceplovi.cz 2.6.32-52.el6.x86_64 #1
                              SMP Wed Jul 21 11:50:07 EDT 2010 x86_64 x86_64
Počet upozornění           6
Poprvé viděno               Po 26. červenec 2010, 23:10:01 CEST
Naposledy viděno             Po 26. červenec 2010, 23:15:01 CEST
Místní ID                   2611b50c-1c47-4272-a248-91ac2f0c7743
Čísla řádků              

Původní zprávy auditu      

node=johanka.ceplovi.cz type=AVC msg=audit(1280178901.422:39): avc:  denied  { rlimitinh } for  pid=4286 comm="sh" scontext=system_u:system_r:crond_t:s0-s0:c0.c1023 tcontext=staff_u:staff_r:staff_t:s0-s0:c0.c1023 tclass=process

node=johanka.ceplovi.cz type=AVC msg=audit(1280178901.422:39): avc:  denied  { siginh } for  pid=4286 comm="sh" scontext=system_u:system_r:crond_t:s0-s0:c0.c1023 tcontext=staff_u:staff_r:staff_t:s0-s0:c0.c1023 tclass=process

node=johanka.ceplovi.cz type=AVC msg=audit(1280178901.422:39): avc:  denied  { noatsecure } for  pid=4286 comm="sh" scontext=system_u:system_r:crond_t:s0-s0:c0.c1023 tcontext=staff_u:staff_r:staff_t:s0-s0:c0.c1023 tclass=process

node=johanka.ceplovi.cz type=SYSCALL msg=audit(1280178901.422:39): arch=c000003e syscall=59 success=yes exit=0 a0=7f69aebac1b6 a1=7fffcbb8e440 a2=7f69aebac2e0 a3=7fffcbb90250 items=0 ppid=4284 pid=4286 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=(none) ses=3 comm="sh" exe="/bin/bash" subj=staff_u:staff_r:staff_t:s0-s0:c0.c1023 key=(null)

Comment 2 RHEL Program Management 2010-07-26 21:37:44 UTC
This issue has been proposed when we are only considering blocker
issues in the current Red Hat Enterprise Linux release.

** If you would still like this issue considered for the current
release, ask your support representative to file as a blocker on
your behalf. Otherwise ask that it be considered for the next
Red Hat Enterprise Linux release. **

Comment 3 Matěj Cepl 2010-07-27 08:35:33 UTC

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