Package: redis-server
Version: 5:5.0.14-1+deb10u1
Severity: normal
X-Debbugs-Cc: o...@ppw.de
Dear Chris,
we set the dir option in the redis.conf file to our fastest disc:
dir /srv/redis
Of couse we adjust the redis.service file to this setting:
ReadWriteDirectories=-/srv/redis
After any update of the package: redis stops working with this in the logs:
46060:C 08 Nov 2021 14:11:42.019 # Failed opening the RDB file dump.rdb
(in server root dir /srv/redis) for saving: Read-only file system
The ReadWriteDirectories=-/srv/redis is lost in the redis.service.
Is there any known workaround? Can we preserve the redis.service anyhow?
Would linking of /var/lib/redis to /srv do the job or do we run into
other problems then?
Best Regards, keep up the good work!
Oliver
-- System Information:
Debian Release: 10.11
APT prefers oldstable-updates
APT policy: (500, 'oldstable-updates'), (500, 'oldstable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.19.0-18-amd64 (SMP w/6 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE,
TAINT_UNSIGNED_MODULE
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8),
LANGUAGE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages redis-server depends on:
ii init-system-helpers 1.56+nmu1
ii lsb-base 10.2019051400
ii redis-tools 5:5.0.14-1+deb10u1
redis-server recommends no packages.
redis-server suggests no packages.
-- Configuration Files:
/etc/redis/redis.conf changed:
bind 127.0.0.1
protected-mode yes
port 6379
tcp-backlog 511
timeout 0
tcp-keepalive 300
daemonize yes
supervised no
pidfile /var/run/redis/redis-server.pid
loglevel notice
logfile /var/log/redis/redis-server.log
databases 16
always-show-logo yes
save 900 1
save 300 10
save 60 1
stop-writes-on-bgsave-error yes
rdbcompression yes
rdbchecksum yes
dbfilename dump.rdb
dir /srv/redis
replica-serve-stale-data yes
replica-read-only yes
repl-diskless-sync no
repl-diskless-sync-delay 5
repl-disable-tcp-nodelay no
replica-priority 100
maxmemory 400M
maxmemory-policy allkeys-lru
lazyfree-lazy-eviction no
lazyfree-lazy-expire no
lazyfree-lazy-server-del no
replica-lazy-flush no
appendonly no
appendfilename "appendonly.aof"
appendfsync everysec
no-appendfsync-on-rewrite no
auto-aof-rewrite-percentage 100
auto-aof-rewrite-min-size 64mb
aof-load-truncated yes
aof-use-rdb-preamble yes
lua-time-limit 5000
slowlog-log-slower-than 1
slowlog-max-len 128
latency-monitor-threshold 0
notify-keyspace-events ""
hash-max-ziplist-entries 512
hash-max-ziplist-value 64
list-max-ziplist-size -2
list-compress-depth 0
set-max-intset-entries 512
zset-max-ziplist-entries 128
zset-max-ziplist-value 64
hll-sparse-max-bytes 3000
stream-node-max-bytes 4096
stream-node-max-entries 100
activerehashing yes
client-output-buffer-limit normal 0 0 0
client-output-buffer-limit replica 256mb 64mb 60
client-output-buffer-limit pubsub 32mb 8mb 60
hz 10
dynamic-hz yes
aof-rewrite-incremental-fsync yes
rdb-save-incremental-fsync yes
-- no debconf information
--
::: DIGITALE ERLEBNISSE :::
++ PPW || Referenz-Projekte und Agentur-News
-> www.ppw.de
Aktuelle Informationen Ihrer Digitalagentur in unserem Newsletter - hier
anmelden: www.ppw.de/ppw-newsletter
---
Diese Mitteilung ist ausschließlich für den beabsichtigten Empfänger bestimmt.
Sie kann vertrauliche Informationen
enthalten, die dem Schutz des Gesetzes unterliegen. Jede unberechtigte
Weitergabe ist untersagt.
This message is intended exclusively for the intended recipient. It may contain
confidential information which are subject to the protection of the law. Any
unauthorized disclosure is prohibited.
pietzpluswild GmbH - Internetagentur Köln + Münster
Gesellschaft mit beschränkter Haftung (GmbH) / Company with limited liability
Geschäftsführer/CEOs: Michael Pietz und/and Michael Wild von Hohenborn
Sitz der Gesellschaft Köln und Münster/Registered offices Cologne and Münster,
Germany
Registergericht/Registered at Amtsgericht Köln, Germany
Eintragungs-Nr./Registration no. HRB 63609
USt-IdNr./VAT ID no. DE 260 789 354