Bug 638154 - SELinux is preventing /sbin/setfiles "sendto" access on /dev/log.
Summary: SELinux is preventing /sbin/setfiles "sendto" access on /dev/log.
Keywords:
Status: CLOSED DUPLICATE of bug 638150
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 14
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:4abf1779b9f...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-09-28 12:02 UTC by Mads Kiilerich
Modified: 2010-09-28 15:49 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2010-09-28 15:49:46 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Mads Kiilerich 2010-09-28 12:02:14 UTC
Summary:

SELinux is preventing /sbin/setfiles "sendto" access on /dev/log.

Detailed Description:

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

SELinux denied access requested by setfiles. It is not expected that this access
is required by setfiles 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 (removed) policy module to allow this access - see FAQ
(http://docs.fedoraproject.org/selinux-faq-fc5/#id2961385) Please file a bug
report.

Additional Information:

Source Context                unconfined_u:system_r:abrt_helper_t:s0-s0:c0.c1023
Target Context                system_u:system_r:kernel_t:s0
Target Objects                /dev/log [ unix_dgram_socket ]
Source                        setfiles
Source Path                   /sbin/setfiles
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           policycoreutils-2.0.83-28.fc14
Target RPM Packages           
Policy RPM                    selinux-policy-3.9.5-7.fc14
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed) 2.6.35.4-28.fc14.i686.PAE #1 SMP Wed
                              Sep 15 01:57:00 UTC 2010 i686 i686
Alert Count                   1
First Seen                    Tue 28 Sep 2010 01:53:22 PM CEST
Last Seen                     Tue 28 Sep 2010 01:53:22 PM CEST
Local ID                      50c90e02-04a6-4f3d-b878-175834626618
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1285674802.122:344): avc:  denied  { sendto } for  pid=2851 comm="setfiles" path="/dev/log" scontext=unconfined_u:system_r:abrt_helper_t:s0-s0:c0.c1023 tcontext=system_u:system_r:kernel_t:s0 tclass=unix_dgram_socket

node=(removed) type=SYSCALL msg=audit(1285674802.122:344): arch=40000003 syscall=102 success=yes exit=123 a0=9 a1=bfd4a538 a2=29eff4 a3=5bbcf20 items=0 ppid=2728 pid=2851 auid=501 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=pts0 ses=1 comm="setfiles" exe="/sbin/setfiles" subj=unconfined_u:system_r:abrt_helper_t:s0-s0:c0.c1023 key=(null)



Hash String generated from  catchall,setfiles,abrt_helper_t,kernel_t,unix_dgram_socket,sendto
audit2allow suggests:

#============= abrt_helper_t ==============
allow abrt_helper_t kernel_t:unix_dgram_socket sendto;

Comment 1 Daniel Walsh 2010-09-28 14:44:01 UTC
This looks like your machine is mislabeled?

ps -eZ | grep init
ps -eZ | grep syslog

Comment 2 Mads Kiilerich 2010-09-28 15:49:46 UTC
caused by incorrectly installed selinux-policy-targeted

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


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