SHA256
1
0
forked from pool/redis
Go to file
Marcus Rueckert 3d8f17d5b2 - update to 4.0.10 (boo#1097430) CVE-2018-11218 CVE-2018-11219
https://raw.githubusercontent.com/antirez/redis/4.0.10/00-RELEASENOTES
  - Important security issues related to the Lua scripting engine.
    Please check https://github.com/antirez/redis/issues/5017 for
    more information.
  - A bug with SCAN, SSCAN, HSCAN and ZSCAN, that may not return
    all the elements.  We also add a regression test that can
    trigger the issue often when present, and may in theory be able
    to find unrelated regressions.
  - A PSYNC2 bug is fixed: Redis should not expire keys when saving
    RDB files because otherwise it is no longer possible to use
    such RDB file as a base for partial resynchronization. It no
    longer represents the right state.
  - Compatibility of AOF with RDB preamble when the RDB checksum is
    disabled.
  - Sentinel bug that in some cases prevented Sentinel to detect
    that the master was down immediately. A delay was added to the
    detection.
- Update redis-enable-bactrace-on-x86-and-ia64-only.patch to handle
- Add redis-disable_integration_logging.patch to disable logging test

OBS-URL: https://build.opensuse.org/package/show/server:database/redis?expand=0&rev=112
2018-06-15 10:21:28 +00:00
.gitattributes osc copypac from project:server:database package:regis revision:2 2010-02-24 22:49:48 +00:00
.gitignore osc copypac from project:server:database package:regis revision:2 2010-02-24 22:49:48 +00:00
README.SUSE Accepting request 505518 from home:computersalat:devel:database 2017-06-23 11:36:02 +00:00
redis-4.0.10.tar.gz - update to 4.0.10 (boo#1097430) CVE-2018-11218 CVE-2018-11219 2018-06-15 10:21:28 +00:00
redis-conf.patch Accepting request 405637 from home:rmaliska:branches:server:database 2016-06-30 10:52:49 +00:00
redis-disable_integration_logging.patch Accepting request 597685 from home:Guillaume_G:branches:openSUSE:Factory:ARM 2018-04-18 07:10:52 +00:00
redis-enable-bactrace-on-x86-ia64-and_arm32_only.patch Accepting request 597685 from home:Guillaume_G:branches:openSUSE:Factory:ARM 2018-04-18 07:10:52 +00:00
redis-initscript.patch Accepting request 312099 from home:darix:apps 2015-06-15 12:20:51 +00:00
redis.changes - update to 4.0.10 (boo#1097430) CVE-2018-11218 CVE-2018-11219 2018-06-15 10:21:28 +00:00
redis.logrotate Accepting request 180755 from home:vjt:ifad 2013-07-01 08:22:41 +00:00
redis.spec Accepting request 597685 from home:Guillaume_G:branches:openSUSE:Factory:ARM 2018-04-18 07:10:52 +00:00
redis.sysctl Accepting request 505518 from home:computersalat:devel:database 2017-06-23 11:36:02 +00:00
redis.target Accepting request 294021 from home:darix:apps 2015-04-01 16:53:07 +00:00
redis.tmpfiles.d Accepting request 294021 from home:darix:apps 2015-04-01 16:53:07 +00:00
redis@.service Accepting request 505518 from home:computersalat:devel:database 2017-06-23 11:36:02 +00:00

 README.SUSE
-------------

1. copy /etc/redis/default.conf.example to /etc/redis/default.conf (or
   /etc/redis/otherapp.conf and so on) For the example we will use
   otherapp.conf

2. change at least pidfile, logfile and dir setting
# the pid file *has* to match your config filename without the ".conf"
pidfile /var/run/redis/otherapp.pid
logfile /var/log/redis/otherapp.log
dir /var/lib/redis/otherapp/

If you want to run more than one instance you also have to change the
socket path and/or the ip:port combination.
 e.g. /var/run/redis/otherapp.sock

If you plan to use redis in combination with apache, then you should
add 'redis' to apache group and set 'unixsocketperm 770':
$ usermod -a -G redis wwwrun
$ systemctl restart apache2
then apache is able to connect to redis socket

Also make sure if you copy configurations from somewhere, that "daemonize"
should be set to "no".

3a. create the database dir:
$ install -d -o redis -g redis -m 0750 /var/lib/redis/otherapp/

3b. add limits (ulimit) to each service
$ install -d -m 0755 /etc/systemd/system/redis@otherapp.service.d
$ echo "[Service]
LimitNOFILE=10240" > /etc/systemd/system/redis@otherapp.service.d/limits.conf

4. systemctl start redis@otherapp
5. systemctl enable redis@otherapp

6. to interact with all instances at the same time use:

systemctl restart redis.target
systemctl stop redis.target