Package: redis-sentinel
Version: 4:4.0.2-5~bpo9+1
Severity: important

Dear Maintainer,

Upgrading redis-sentinel package from 4:4.0.2-2~bpo9+1 to 4:4.0.2-5~bpo9+1 fail 
because
systemd file is updated to a new location, while other config files (init.d and 
sentinel.conf)
are not.

The old package (4.0.2-2) set PID path to /var/run/redis/sentinel.pid
The new package (4.0.2-5) try to set PID path to /var/run/sentinel/sentinel.pid

This path is set in the following files:

- /etc/init.d/redis-sentinel (systemV init script)
- /etc/redis/sentinel.conf (sentinel config file)
- /lib/systemd/system/redis-sentinel.service (systemd config file)


What happens: apt-get upgrade freeze for 60 seconds, then timeout.

I fixed the problem by:

1. Killing redis-sentinel, if running
2. Updating pid path in /etc/init.d/redis-sentinel and /etc/redis/sentinel.conf
   with the new path location (var/run/sentinel)
3. running "dpkg --configure -a" to finish the apt upgrade process


-- System Information:
Debian Release: 9.2
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.33-mod-std-ipv6-64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)

Versions of packages redis-sentinel depends on:
ii  init-system-helpers  1.48
ii  lsb-base             9.20161125
ii  redis-server         4:4.0.2-5~bpo9+1

redis-sentinel recommends no packages.

redis-sentinel suggests no packages.

Reply via email to