RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 705277 - rsyslogd cannot search /var/spool/rsyslog and cannot read /dev/random
Summary: rsyslogd cannot search /var/spool/rsyslog and cannot read /dev/random
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: selinux-policy
Version: 6.1
Hardware: All
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Miroslav Grepl
QA Contact: Milos Malik
URL:
Whiteboard:
: 707060 748545 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-05-17 09:03 UTC by Milos Malik
Modified: 2018-11-14 12:25 UTC (History)
4 users (show)

Fixed In Version: selinux-policy-3.7.19-96.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-12-06 10:07:47 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2011:1511 0 normal SHIPPED_LIVE selinux-policy bug fix and enhancement update 2011-12-06 00:39:17 UTC

Description Milos Malik 2011-05-17 09:03:59 UTC
Description of problem:

Version-Release number of selected component (if applicable):
rsyslog-4.6.2-3.el6.ppc64
rsyslog-gnutls-4.6.2-3.el6.ppc64
selinux-policy-3.7.19-94.el6.noarch
selinux-policy-doc-3.7.19-94.el6.noarch
selinux-policy-minimum-3.7.19-94.el6.noarch
selinux-policy-mls-3.7.19-94.el6.noarch
selinux-policy-targeted-3.7.19-94.el6.noarch

How reproducible:
always

Steps to Reproduce:
* run following automated test on RHEL-6.1 machine:
  /CoreOS/selinux-policy/Regression/bz593139-rsyslog-and-similar
  
Actual results:
----
time->Tue May 17 04:58:29 2011
type=SYSCALL msg=audit(1305622709.321:7234): arch=80000015 syscall=106 success=no exit=-13 a0=ffff9077d20 a1=ffff9077c88 a2=ffff9077c88 a3=7fffffff items=0 ppid=16422 pid=16423 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=1195 comm="rsyslogd" exe="/sbin/rsyslogd" subj=unconfined_u:system_r:syslogd_t:s0 key=(null)
type=AVC msg=audit(1305622709.321:7234): avc:  denied  { search } for  pid=16423 comm="rsyslogd" name="spool" dev=dm-0 ino=2884384 scontext=unconfined_u:system_r:syslogd_t:s0 tcontext=system_u:object_r:var_spool_t:s0 tclass=dir
----
time->Tue May 17 04:58:29 2011
type=SYSCALL msg=audit(1305622709.331:7235): arch=80000015 syscall=33 success=no exit=-13 a0=fffa09907e8 a1=4 a2=8 a3=fff9801a188 items=0 ppid=1 pid=16424 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=1195 comm=72733A616374696F6E203820717565 exe="/sbin/rsyslogd" subj=unconfined_u:system_r:syslogd_t:s0 key=(null)
type=AVC msg=audit(1305622709.331:7235): avc:  denied  { read } for  pid=16424 comm=72733A616374696F6E203820717565 name="random" dev=devtmpfs ino=873 scontext=unconfined_u:system_r:syslogd_t:s0 tcontext=system_u:object_r:random_device_t:s0 tclass=chr_file
----
time->Tue May 17 04:58:31 2011
type=SYSCALL msg=audit(1305622711.890:7237): arch=80000015 syscall=106 success=no exit=-13 a0=fffff27b8d0 a1=fffff27b838 a2=fffff27b838 a3=7fffffff items=0 ppid=16468 pid=16469 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=1195 comm="rsyslogd" exe="/sbin/rsyslogd" subj=unconfined_u:system_r:syslogd_t:s0 key=(null)
type=AVC msg=audit(1305622711.890:7237): avc:  denied  { search } for  pid=16469 comm="rsyslogd" name="spool" dev=dm-0 ino=2884384 scontext=unconfined_u:system_r:syslogd_t:s0 tcontext=system_u:object_r:var_spool_t:s0 tclass=dir
----
time->Tue May 17 04:58:31 2011
type=SYSCALL msg=audit(1305622711.890:7238): arch=80000015 syscall=33 success=no exit=-13 a0=fffae6b07e8 a1=4 a2=8 a3=fffa401a188 items=0 ppid=1 pid=16470 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=1195 comm=72733A616374696F6E203820717565 exe="/sbin/rsyslogd" subj=unconfined_u:system_r:syslogd_t:s0 key=(null)
type=AVC msg=audit(1305622711.890:7238): avc:  denied  { read } for  pid=16470 comm=72733A616374696F6E203820717565 name="random" dev=devtmpfs ino=873 scontext=unconfined_u:system_r:syslogd_t:s0 tcontext=system_u:object_r:random_device_t:s0 tclass=chr_file
----

Expected results:
no AVCs

Comment 5 Miroslav Grepl 2011-05-24 06:22:15 UTC
*** Bug 707060 has been marked as a duplicate of this bug. ***

Comment 8 Miroslav Grepl 2011-05-27 11:55:37 UTC
Fixed in selinux-policy-3.7.19-96.el6

Comment 11 Miroslav Grepl 2011-10-25 07:46:14 UTC
*** Bug 748545 has been marked as a duplicate of this bug. ***

Comment 12 errata-xmlrpc 2011-12-06 10:07:47 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2011-1511.html


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