Bug 1383775

Summary: Redis service fails to start due to selinux denials
Product: Red Hat OpenStack Reporter: Ryan Hallisey <rhallise>
Component: openstack-selinuxAssignee: Ryan Hallisey <rhallise>
Status: CLOSED ERRATA QA Contact: Sasha Smolyak <ssmolyak>
Severity: high Docs Contact:
Priority: high    
Version: 10.0 (Newton)CC: jschluet, lhh, mburns, mgrepl, pkilambi, rhallise, srevivo, ssmolyak
Target Milestone: z3Keywords: TestOnly, Triaged, ZStream
Target Release: 10.0 (Newton)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-selinux-0.7.10-2.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-06-28 15:27:21 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ryan Hallisey 2016-10-11 17:41:57 UTC
type=AVC msg=audit(1476194520.490:333): avc: denied { write } for pid=5857 comm="redis-server" name="redis" dev="tmpfs" ino=109184 scontext=system_u:system_r:redis_t:s0 tcontext=system_u:object_r:var_run_t:s0 tclass=dir
type=AVC msg=audit(1476198546.947:4298): avc: denied { write } for pid=9223 comm="redis-server" name="redis" dev="tmpfs" ino=109184 scontext=system_u:system_r:redis_t:s0 tcontext=system_u:object_r:var_run_t:s0 tclass=dir
type=AVC msg=audit(1476198587.201:4336): avc: denied { write } for pid=11063 comm="redis-server" name="redis" dev="tmpfs" ino=109184 scontext=system_u:system_r:redis_t:s0 tcontext=system_u:object_r:var_run_t:s0 tclass=dir
type=AVC msg=audit(1476199093.106:4822): avc: denied { write } for pid=549 comm="redis-server" name="redis" dev="tmpfs" ino=109184 scontext=system_u:system_r:redis_t:s0 tcontext=system_u:object_r:var_run_t:s0 tclass=dir
type=AVC msg=audit(1476199093.106:4822): avc: denied { add_name } for pid=549 comm="redis-server" name="redis.sock" scontext=system_u:system_r:redis_t:s0 tcontext=system_u:object_r:var_run_t:s0 tclass=dir
type=AVC msg=audit(1476199093.106:4822): avc: denied { create } for pid=549 comm="redis-server" name="redis.sock" scontext=system_u:system_r:redis_t:s0 tcontext=system_u:object_r:var_run_t:s0 tclass=sock_file
type=AVC msg=audit(1476199093.107:4823): avc: denied { setattr } for pid=549 comm="redis-server" name="redis.sock" dev="tmpfs" ino=1164059 scontext=system_u:system_r:redis_t:s0 tcontext=system_u:object_r:var_run_t:s0 tclass=sock_file
type=AVC msg=audit(1476199093.107:4824): avc: denied { create } for pid=549 comm="redis-server" name="redis-server.pid" scontext=system_u:system_r:redis_t:s0 tcontext=system_u:object_r:var_run_t:s0 tclass=file
type=AVC msg=audit(1476199093.107:4824): avc: denied { write open } for pid=549 comm="redis-server" path="/run/redis/redis-server.pid" dev="tmpfs" ino=1164060 scontext=system_u:system_r:redis_t:s0 tcontext=system_u:object_r:var_run_t:s0 tclass=file
type=AVC msg=audit(1476199093.107:4825): avc: denied { getattr } for pid=549 comm="redis-server" path="/run/redis/redis-server.pid" dev="tmpfs" ino=1164060 scontext=system_u:system_r:redis_t:s0 tcontext=system_u:object_r:var_run_t:s0 tclass=file

Comment 2 Jon Schlueter 2017-01-12 19:16:22 UTC
According to our records, this should be resolved by openstack-selinux-0.7.13-1.el7ost.  This build is available now.

Comment 11 errata-xmlrpc 2017-06-28 15:27:21 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.

https://access.redhat.com/errata/RHBA-2017:1587