Package: redis-server
Version: 2:2.8.17-1~bpo70+1+b1
Severity: normal

Dear Maintainer,
When trying to install the redis-server package from wheezy-backports,
the postinst maintainer script fails because the 'redis' user already
exists, from ldap in our case.

It appears the adduser command is exiting upon discovering that the
system user 'redis' already exists, per the adduser man page [1].

Adding a call to getent before adduser should resolve things nicely:

getent passwd redis >/dev/null 2>&1 || adduser ...

[1] "If a user with the same name already exists in the system uid
range (or, if the uid is specified, if a user with that uid already
exists), adduser will exit with a warning."

Thanks for your time.

-- System Information:
Debian Release: 7.5
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages redis-server depends on:
ii  adduser              3.113+nmu3
ii  init-system-helpers  1.18~bpo70+1
ii  libc6                2.13-38+deb7u1
ii  libjemalloc1         3.0.0-3
ii  redis-tools          2:2.8.17-1~bpo70+1+b1

redis-server recommends no packages.

redis-server suggests no packages.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to