Package Details: redis 8.6.3-1

Git Clone URL: https://aur.archlinux.org/redis.git (read-only, click to copy)
Package Base: redis
Description: An in-memory database that persists on disk
Upstream URL: https://redis.io/
Licenses: AGPL-3.0-only
Submitter: freswa
Maintainer: freswa
Last Packager: freswa
Votes: 6
Popularity: 0.43
First Submitted: 2025-05-13 09:00 (UTC)
Last Updated: 2026-05-05 19:16 (UTC)

Latest Comments

friedrichr commented on 2026-05-13 12:02 (UTC)

While starting up redis, I stumbled upon the following System Journal entry:

((...)) # Failed to write PID file: Permission denied

In the redis configuration file /etc/redis/redis.conf, currently it is specified:

pidfile /var/run/redis_6379.pid

The name has several flaws:

  1. It points to a dated directory /var/run/, not just /run/.
  2. It containes the port number; is this intended?
  3. redis fails to create this PID file, see the System Journal excerpt above.

A few solutions can be conceived (discussed with ChatGPT):

  1. Just commenting-out the pidfile ((...)) configuration statement. Here, redis runs non-daemonised, so no pidfile will be provided if none is specified (according to the comment in /etc/redis/redis.conf above the pidfile instruction).

  2. Modifying the redis systemd unit by RuntimeDirectory=redis, and modifying the pidfile instruction to pidfile /run/redis/redis.pid. Since in the Unit already User=redis and Group=redis are given, systemd should then provide /run/redis/ with the proper user, group and permissions.

Both seem like a valid solution to me. I would be glad id this slight dysfunction can be fixed. I could try out both in DIY scheme, but I prefer it to talk back to upsteam before.

Friedrich

freswa commented on 2026-03-02 11:22 (UTC)

@ruizlenato sure, feel free to submit a patch at https://github.com/freswa/aur

ruizlenato commented on 2026-03-02 02:42 (UTC)

Can aarch64 be added to the supported architectures in the PKGBUILD?

boudekerk commented on 2025-07-08 12:12 (UTC) (edited on 2025-08-07 18:54 (UTC) by boudekerk)

@freswa Can aarch64 be added to the supported architectures in the PKGBUILD? I can confirm it builds and works fine.

$ git diff
diff --git a/PKGBUILD b/PKGBUILD
index a8bcf2f..cdb8261 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,7 +9,7 @@ pkgname=redis
 pkgver=8.0.2
 pkgrel=1
 pkgdesc='An in-memory database that persists on disk'
-arch=('x86_64')
+arch=('x86_64' 'aarch64')
 url='https://redis.io/'
 license=('AGPL-3.0-only')
 depends=('jemalloc' 'grep' 'shadow' 'systemd-libs')

catwell commented on 2025-05-13 14:41 (UTC)

This package does not build because since the license changed in 8.0 the file COPYING no longer exists (it is LICENSE.txt).

Moreover the license field is invalid, Redis has not been BSD in a long time. Starting with 8.0 it should probably be marked AGPL.