Package:  redis-server
Version: 2:3.0.5-1~bpo8+1

Symptom:
If redis-server runs as cluster (redis-sentinels + redis-servers), it can not 
overwrite its own configuration file.

Log:
# CONFIG REWRITE failed: Read-only file system


BUG:
In this case the error is in the systemd service redis-server.service.
Redis-server as well as redis-sentinel need the permission to overwrite their 
own configuration file.
While redis-sentinel.service is OK, redis-server.service is missing this:

...
# redis-server writes its own config file so we allow writing there (NB.
# ProtectSystem=true over ProtectSystem=full)
ProtectSystem=true
ReadWriteDirectories=-/etc/redis
...

 in /lib/systemd/system/redis-server.service




Regards ..
Marian

Reply via email to