File tree Expand file tree Collapse file tree 2 files changed +16
-3
lines changed Expand file tree Collapse file tree 2 files changed +16
-3
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ CHANGELOG
2929- Add missing newlines at end of ` docs/_static/intelmq-manager/*.png.license ` files (PR #1785 by Sebastian Wagner, fixes #1777 ).
3030- Ecosystem: Revise sections on intelmq-cb-mailgen and fody (PR #1792 by Bernhard Reiter).
3131- intelmq-api: Add documentation about necessary write permission for the session database file (PR #1798 by Birger Schacht, fixes intelmq-api #23 ).
32+ - FAQ: Section on redis socket permissions: set only minimal necessary permissions (PR #1809 by Sebastian Wagner).
3233
3334### Packaging
3435
Original file line number Diff line number Diff line change @@ -16,11 +16,23 @@ Permission denied when using Redis Unix socket
1616
1717If you get an error like this:
1818
19- `` intelmq.lib.exceptions.PipelineError: pipeline failed - ConnectionError('Error 13 connecting to unix socket: /var/run/redis/redis.sock. Permission denied.',) ``
19+ .. code-block ::
2020
21- make sure the permissions for the socket are set accordingly in `` /etc/ redis/redis.conf `` (or wherever your configuration is), e.g.:
21+ intelmq.lib.exceptions.PipelineError: pipeline failed - ConnectionError('Error 13 connecting to unix socket: /var/run/ redis/redis.sock. Permission denied.',)
2222
23- ``unixsocketperm 777 ``
23+ Make sure the intelmq user as sufficient permissions for the socket.
24+
25+ In ``/etc/redis/redis.conf `` (or wherever your configuration is), check the permissions and set it for example to group-writeable:
26+
27+ .. code-block ::
28+
29+ unixsocketperm 770
30+
31+ And add the user intelmq to the redis-group:
32+
33+ .. code-block :: bash
34+
35+ usermod -aG redis intelmq
2436
2537 Why is the time invalid?
2638-------------------------------------------------------------------
You can’t perform that action at this time.
0 commit comments