Bug 541616 - SELinux is preventing /usr/bin/python "read" access on mem.
Summary: SELinux is preventing /usr/bin/python "read" access on mem.
Keywords:
Status: CLOSED DUPLICATE of bug 537955
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 12
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:e1952410dee...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-11-26 14:06 UTC by Michal Schmidt
Modified: 2010-02-05 16:03 UTC (History)
9 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-11-26 14:08:53 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Michal Schmidt 2009-11-26 14:06:25 UTC
Souhrn:

SELinux is preventing /usr/bin/python "read" access on mem.

Podrobný popis:

[yum has a permissive type (abrt_t). This access was not denied.]

SELinux denied access requested by yum. It is not expected that this access is
required by yum 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:abrt_t:s0-s0:c0.c1023
Kontext cíle                 system_u:object_r:memory_device_t:s0
Objekty cíle                 mem [ chr_file ]
Zdroj                         yum
Cesta zdroje                  /usr/bin/python
Port                          <Neznámé>
Počítač                    (removed)
RPM balíčky zdroje          python-2.6.2-2.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-142.fc12.x86_64 #1 SMP Wed
                              Nov 18 20:44:50 EST 2009 x86_64 x86_64
Počet upozornění           1
Poprvé viděno               Čt 26. listopad 2009, 15:03:47 CET
Naposledy viděno             Čt 26. listopad 2009, 15:03:47 CET
Místní ID                   a201cb81-4d4d-4632-a412-5fb69e5ba6d6
Čísla řádků              

Původní zprávy auditu      

node=(removed) type=AVC msg=audit(1259244227.335:22873): avc:  denied  { read } for  pid=8637 comm="yum" name="mem" dev=tmpfs ino=3281 scontext=system_u:system_r:abrt_t:s0-s0:c0.c1023 tcontext=system_u:object_r:memory_device_t:s0 tclass=chr_file

node=(removed) type=AVC msg=audit(1259244227.335:22873): avc:  denied  { open } for  pid=8637 comm="yum" name="mem" dev=tmpfs ino=3281 scontext=system_u:system_r:abrt_t:s0-s0:c0.c1023 tcontext=system_u:object_r:memory_device_t:s0 tclass=chr_file

node=(removed) type=AVC msg=audit(1259244227.335:22873): avc:  denied  { sys_rawio } for  pid=8637 comm="yum" capability=17 scontext=system_u:system_r:abrt_t:s0-s0:c0.c1023 tcontext=system_u:system_r:abrt_t:s0-s0:c0.c1023 tclass=capability

node=(removed) type=SYSCALL msg=audit(1259244227.335:22873): arch=c000003e syscall=2 success=yes exit=128 a0=1e45dd0 a1=0 a2=1b6 a3=0 items=0 ppid=8636 pid=8637 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="yum" exe="/usr/bin/python" subj=system_u:system_r:abrt_t:s0-s0:c0.c1023 key=(null)



Hash String generated from  selinux-policy-3.6.32-49.fc12,catchall,yum,abrt_t,memory_device_t,chr_file,read
audit2allow suggests:

#============= abrt_t ==============
allow abrt_t memory_device_t:chr_file { read open };
allow abrt_t self:capability sys_rawio;

Comment 1 Michal Schmidt 2009-11-26 14:08:53 UTC

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


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