Package: webdis
Version: 0.1.4+dfsg-1+b1
Severity: important

Hello,

There seems to be a problem with the systemd unit included in the webdis
package. The provided file uses the following configuration:

  ExecStartPre=mkdir /var/run/webdis
  ExecStartPre=chown webdis: /var/run/webdis
  ExecStart=/usr/bin/webdis /etc/webdis/webdis.json

The problem is caused by the first line. When webdis is restarted, the
directory already exists, causing the command to fail, which in turns
causes systemd to abort.

Using the following line:

  ExecStartPre=mkdir -p /var/run/webdis

fixes the problem.

Best regards,
Emmanuel Benoît


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

Kernel: Linux 4.19.0-5-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages webdis depends on:
ii  adduser         3.118
ii  libb64-0d       1.2-5
ii  libc6           2.28-10
ii  libevent-2.1-6  2.1.8-stable-4
ii  libhiredis0.14  0.14.0-3
ii  libjansson4     2.12-1
ii  libmsgpackc2    3.0.1-3
ii  lsb-base        10.2019051400

webdis recommends no packages.

Versions of packages webdis suggests:
ii  redis-server  5:5.0.3-4+deb10u1

-- Configuration Files:
/etc/webdis/webdis.json changed [not included]

-- no debconf information

Reply via email to