Warum ein extra Repo?
Warum nicht aus dem Tumbleweed-OSS?
php7-redis ist auch alt....
Warum ein extra Repo?
Warum nicht aus dem Tumbleweed-OSS?
php7-redis ist auch alt....
Ja, da steht man solle es vom Template kopieren und dass die Namen übereinstimmen müssen mit der jeweiligen config Datei von redis. Das habe ich gemacht:
Trotzdem geht es nicht. Ich habe sogar das auskommentierte in der Datei "scharf" gestellt und es ändert nichts daran:
#
# LICENSED UNDER AGPL 3.0
#
# copy /etc/apparmor.d/redis.d/redis.template to
# /etc/apparmor.d/redis.d/redis.<instancename>
#
# The paths have to match /etc/redis/<instancename>.conf
#
profile redis.default flags=(attach_disconnected) {
#include <abstractions/redis>
/{var/,}run/redis/template.pid rwlk,
/etc/redis/template.conf r,
/var/lib/redis/template/** rw,
/var/log/redis/template.log rw,
}
Was mache ich falsch?
It turns out that the "repeated too quickly" simply says that the redis server died when it gets started through systemd. Many test sequences look correct because they miss the crucial part that SystemD is adding: the switch to user:group "redis:redis" before running the command. That makes the redis process to be unable to read /etc/redis/default.conf and it is unable to write to /var/log/redis/default.log because they are still owned by "root".
The docker test scenario works this way: https://github.com/gdraheim/do…ensuse15-redis.dockerfile
ensured: chown redis:redis /etc/redis/default.conf
ensured: chown redis:redis /var/log/redis/default.log
Also ganz genau das, was geschrieben habe.
Hach, wie kann ich trefflich schwätzen!