Bug 879853 - SELinux is preventing rsyslogd from 'read' accesses on the file unix.
Summary: SELinux is preventing rsyslogd from 'read' accesses on the file unix.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 17
Hardware: i686
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:248da889481711f4d9c583f9467...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-11-24 20:48 UTC by Aris
Modified: 2013-01-07 04:01 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-01-07 04:01:03 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: type (9 bytes, text/plain)
2012-11-24 20:48 UTC, Aris
no flags Details
File: hashmarkername (14 bytes, text/plain)
2012-11-24 20:48 UTC, Aris
no flags Details

Description Aris 2012-11-24 20:48:24 UTC
Additional info:
libreport version: 2.0.18
kernel:         3.6.7-4.fc17.i686

description:
:SELinux is preventing rsyslogd from 'read' accesses on the file unix.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that rsyslogd should be allowed read access on the unix file by default.
:Then you should report this as a bug.
:You can generate a local policy module to allow this access.
:Do
:allow this access for now by executing:
:# grep rsyslogd /var/log/audit/audit.log | audit2allow -M mypol
:# semodule -i mypol.pp
:
:Additional Information:
:Source Context                system_u:system_r:syslogd_t:s0
:Target Context                system_u:object_r:proc_net_t:s0
:Target Objects                unix [ file ]
:Source                        rsyslogd
:Source Path                   rsyslogd
:Port                          <Unknown>
:Host                          (removed)
:Source RPM Packages           
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-159.fc17.noarch
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Enforcing
:Host Name                     (removed)
:Platform                      Linux (removed) 3.6.6-1.fc17.i686 #1 SMP Mon Nov 5
:                              22:11:18 UTC 2012 i686 i686
:Alert Count                   1
:First Seen                    2012-11-24 16:05:55 EET
:Last Seen                     2012-11-24 16:05:55 EET
:Local ID                      1af42300-7312-41a0-a47b-56a5e06758ca
:
:Raw Audit Messages
:type=AVC msg=audit(1353765955.11:14): avc:  denied  { read } for  pid=616 comm="rsyslogd" name="unix" dev="proc" ino=4026531999 scontext=system_u:system_r:syslogd_t:s0 tcontext=system_u:object_r:proc_net_t:s0 tclass=file
:
:
:Hash: rsyslogd,syslogd_t,proc_net_t,file,read
:
:audit2allow
:
:#============= syslogd_t ==============
:allow syslogd_t proc_net_t:file read;
:
:audit2allow -R
:
:#============= syslogd_t ==============
:allow syslogd_t proc_net_t:file read;
:

Comment 1 Aris 2012-11-24 20:48:27 UTC
Created attachment 651262 [details]
File: type

Comment 2 Aris 2012-11-24 20:48:29 UTC
Created attachment 651263 [details]
File: hashmarkername

Comment 3 Miroslav Grepl 2012-11-26 16:05:12 UTC
Added.

commit 5d0f9f4aad2d6c9a127e9b1588e8c613f79c79b2
Author: Miroslav Grepl <mgrepl>
Date:   Mon Nov 26 17:03:09 2012 +0100

    Allow syslogd_t to read the network state information

Comment 4 Fedora Update System 2012-12-17 18:41:55 UTC
selinux-policy-3.10.0-165.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/selinux-policy-3.10.0-165.fc17

Comment 5 Fedora Update System 2012-12-18 02:37:40 UTC
Package selinux-policy-3.10.0-165.fc17:
* should fix your issue,
* was pushed to the Fedora 17 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing selinux-policy-3.10.0-165.fc17'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-20544/selinux-policy-3.10.0-165.fc17
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2013-01-05 06:41:10 UTC
Package selinux-policy-3.10.0-166.fc17:
* should fix your issue,
* was pushed to the Fedora 17 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing selinux-policy-3.10.0-166.fc17'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-20544/selinux-policy-3.10.0-166.fc17
then log in and leave karma (feedback).

Comment 7 Fedora Update System 2013-01-07 04:01:05 UTC
selinux-policy-3.10.0-166.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.


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