Your message dated Thu, 31 Jul 2014 15:42:53 +0000 with message-id <[email protected]> and subject line Bug#756621: fixed in redis 2:2.8.13-2 has caused the Debian Bug report #756621, regarding [redis-server] systemd service running as root to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 756621: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=756621 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: redis-server Version: 2:2.8.13-1 Severity: normal Tags: patch --- Please enter the report below this line. --- Dear Maintainer The systemd service for the redis-server package does not set the user/group parameters and is therefore started as root. The attached patch makes the systemd service behave the same way as the sysv init script. Additionally permissions on existing files are fixed in the postinst script. Kind regards, Philipp --- System information. --- Architecture: amd64 Kernel: Linux 3.14-1-amd64 Debian Release: jessie/sid 500 unstable ftp.ch.debian.org 1 experimental ftp.ch.debian.org --- Package information. --- Depends (Version) | Installed ======================================-+-=============== init-system-helpers (>= 1.18~) | 1.20 libc6 (>= 2.14) | 2.19-7 libjemalloc1 (>= 2.1.1) | 3.6.0-2 redis-tools (= 2:2.8.13-1) | 2:2.8.13-1 adduser | 3.113+nmu3 Package's Recommends field is empty. Package's Suggests field is empty.diff -uNr orig/redis-server.postinst debian/redis-server.postinst --- orig/redis-server.postinst 2014-07-31 13:51:46.612965384 +0200 +++ debian/redis-server.postinst 2014-07-31 13:51:59.673209418 +0200 @@ -17,7 +17,7 @@ for DIR in /var/lib/redis /var/log/redis do mkdir -p ${DIR} - chown ${USER}:${GROUP} ${DIR} + chown -R ${USER}:${GROUP} ${DIR} done ;; diff -uNr orig/redis-server.service debian/redis-server.service --- orig/redis-server.service 2014-07-31 13:48:28.865255072 +0200 +++ debian/redis-server.service 2014-07-31 13:48:49.909651316 +0200 @@ -7,6 +7,8 @@ ExecStart=/usr/bin/redis-server /etc/redis/redis.conf ExecStop=/usr/bin/redis-cli shutdown Restart=always +User=redis +Group=redis [Install] WantedBy=multi-user.target
--- End Message ---
--- Begin Message ---Source: redis Source-Version: 2:2.8.13-2 We believe that the bug you reported is fixed in the latest version of redis, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Chris Lamb <[email protected]> (supplier of updated redis package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Format: 1.8 Date: Thu, 31 Jul 2014 14:49:48 +0100 Source: redis Binary: redis-server redis-tools Architecture: source amd64 Version: 2:2.8.13-2 Distribution: unstable Urgency: low Maintainer: Chris Lamb <[email protected]> Changed-By: Chris Lamb <[email protected]> Description: redis-server - Persistent key-value database with network interface redis-tools - Persistent key-value database with network interface (client) Closes: 756621 Changes: redis (2:2.8.13-2) unstable; urgency=low . * Under systemd, run under redis:redis. (Closes: #756621) Checksums-Sha1: 04d75b154d7abfd349f87b28be9d7e378b9b8476 1245 redis_2.8.13-2.dsc 7170458020ce1545f5102710f51eb4d701cba645 23225 redis_2.8.13-2.debian.tar.gz bf99b98d4fea0f384ffea3c8d03e95f63c785e55 346290 redis-server_2.8.13-2_amd64.deb ed89843d27760abe20574385c803f5dbee68738a 111318 redis-tools_2.8.13-2_amd64.deb Checksums-Sha256: 442588a74229f67ebd8f475b7878fa7b79dc31fa44c3b6deda0412fcb5aaed5c 1245 redis_2.8.13-2.dsc 77f0685bb221687ab1d69c4a9bee3efd1807f12fed425692561959332cea71c8 23225 redis_2.8.13-2.debian.tar.gz bb193aa5caf77bef97af967f4b1a2a3b5c474117dfb90c8c0f04e95c72544bde 346290 redis-server_2.8.13-2_amd64.deb 3225fe730162280929a53e83c8ece60547017ce074ab441ffcab156db086ea73 111318 redis-tools_2.8.13-2_amd64.deb Files: 7f40bb0e614340bd3e92c1d65535ce72 1245 database optional redis_2.8.13-2.dsc f677b7d903ce70d09743f73294caf568 23225 database optional redis_2.8.13-2.debian.tar.gz 188aec3236202cd1e5d9b11a972eb63d 346290 database optional redis-server_2.8.13-2_amd64.deb f53ad2d0b5b33c4683372dd7d7440dfe 111318 database optional redis-tools_2.8.13-2_amd64.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.14 (GNU/Linux) iEYEARECAAYFAlPaS+YACgkQ5/8uW2NPmiDFwgCdGirFG5qUkehdXahMe519aaOp xTEAoJSIyjNI/cEPGkeoHzwDGcM4JbqA =CF/H -----END PGP SIGNATURE-----
--- End Message ---

