-
Bug
-
Resolution: Unresolved
-
Normal
-
rhel-8.10.z
-
No
-
Low
-
Customer Facing, Customer Reported
-
rhel-security-selinux
-
0.5
-
False
-
False
-
-
None
-
Red Hat Enterprise Linux
-
None
-
None
-
None
-
Unspecified
-
Unspecified
-
Unspecified
-
-
x86_64
-
None
What were you trying to do that didn't work?
> Trying to RWRITE the CONFIG of redis using redis-cli.
What is the impact of this issue to you?
> Unable to REWRITE the CONFIG of redis
Please provide the package NVR for which the bug is seen:
SELINUX:
libselinux-utils-2.9-10.el8_10.x86_64
selinux-policy-targeted-3.14.3-139.el8_10.1.noarch
libselinux-2.9-10.el8_10.x86_64
python3-libselinux-2.9-10.el8_10.x86_64
selinux-policy-3.14.3-139.el8_10.1.noarch
REDIS:
redis-5.0.3-5.module+el8.4.0+12927+b9845322.x86_64
redis-6.2.18-1.module+el8.10.0+23050+05ea4e95.x86_64
How reproducible is this bug?
Steps to reproduce
- # dnf module install redis:5
- # systemctl enable --now redis
- # redis-cli
- 127.0.0.1:6379> CONFIG set requirepass password
- 127.0.0.1:6379> AUTH password
- 127.0.0.1:6379> CONFIG REWRITE
Expected results
[root@Rhel8 ~]# redis-cli
127.0.0.1:6379> AUTH password
OK
127.0.0.1:6379> CONFIG REWRITE
OK
Actual results
[root@Rhel8 ~]# redis-cli
127.0.0.1:6379> CONFIG set requirepass password
OK
127.0.0.1:6379> AUTH password
OK
127.0.0.1:6379> CONFIG REWRITE
(error) ERR Rewriting config file: Permission denied
- relates to
-
RHEL-95750 The /etc/redis.conf should be labeled with redis_conf_t.
-
- In Progress
-