Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
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.
https://rhn.redhat.com/errata/RHBA-2016-2283.html
Description of problem: Version-Release number of selected component (if applicable): redis-2.8.21-1.el7ost.x86_64 selinux-policy-3.13.1-60.el7.noarch selinux-policy-devel-3.13.1-60.el7.noarch selinux-policy-doc-3.13.1-60.el7.noarch selinux-policy-minimum-3.13.1-60.el7.noarch selinux-policy-mls-3.13.1-60.el7.noarch selinux-policy-sandbox-3.13.1-60.el7.noarch selinux-policy-targeted-3.13.1-60.el7.noarch How reproducible: always Steps to Reproduce: 1. get a RHEL-7.2 machine 2. service redis-sentinel start 3. search for SELinux denials Actual results (enforcing mode): ---- time->Mon Oct 26 00:47:26 2015 type=SYSCALL msg=audit(1445816846.705:97): arch=c000003e syscall=21 success=no exit=-13 a0=7fd6a48110a8 a1=2 a2=29 a3=3a items=0 ppid=1 pid=31198 auid=4294967295 uid=992 gid=990 euid=992 suid=992 fsuid=992 egid=990 sgid=990 fsgid=990 tty=(none) ses=4294967295 comm="redis-sentinel" exe="/usr/bin/redis-server" subj=system_u:system_r:redis_t:s0 key=(null) type=AVC msg=audit(1445816846.705:97): avc: denied { write } for pid=31198 comm="redis-sentinel" name="redis-sentinel.conf" dev="dm-0" ino=135827335 scontext=system_u:system_r:redis_t:s0 tcontext=system_u:object_r:etc_t:s0 tclass=file ---- Actual results (permissive mode): ---- type=PATH msg=audit(10/26/2015 12:09:21.760:168) : item=0 name=/etc/redis-sentinel.conf inode=17489075 dev=fd:03 mode=file,644 ouid=redis ogid=root rdev=00:00 obj=system_u:object_r:etc_t:s0 objtype=NORMAL type=CWD msg=audit(10/26/2015 12:09:21.760:168) : cwd=/tmp type=SYSCALL msg=audit(10/26/2015 12:09:21.760:168) : arch=x86_64 syscall=access success=yes exit=0 a0=0x7f997a0ba068 a1=W_OK a2=0x1a a3=0x3a items=1 ppid=1 pid=3109 auid=unset uid=redis gid=redis euid=redis suid=redis fsuid=redis egid=redis sgid=redis fsgid=redis tty=(none) ses=unset comm=redis-sentinel exe=/usr/bin/redis-server subj=system_u:system_r:redis_t:s0 key=(null) type=AVC msg=audit(10/26/2015 12:09:21.760:168) : avc: denied { write } for pid=3109 comm=redis-sentinel name=redis-sentinel.conf dev="vda3" ino=17489075 scontext=system_u:system_r:redis_t:s0 tcontext=system_u:object_r:etc_t:s0 tclass=file ---- type=SOCKADDR msg=audit(10/26/2015 12:09:21.761:169) : saddr=inet host:127.0.0.1 serv:6379 type=SYSCALL msg=audit(10/26/2015 12:09:21.761:169) : arch=x86_64 syscall=connect success=no exit=-115(Operation now in progress) a0=0x6 a1=0x7f997a0b31b0 a2=0x10 a3=0x0 items=0 ppid=1 pid=3109 auid=unset uid=redis gid=redis euid=redis suid=redis fsuid=redis egid=redis sgid=redis fsgid=redis tty=(none) ses=unset comm=redis-sentinel exe=/usr/bin/redis-server subj=system_u:system_r:redis_t:s0 key=(null) type=AVC msg=audit(10/26/2015 12:09:21.761:169) : avc: denied { name_connect } for pid=3109 comm=redis-sentinel dest=6379 scontext=system_u:system_r:redis_t:s0 tcontext=system_u:object_r:redis_port_t:s0 tclass=tcp_socket ---- Expected results: * no SELinux denials