Package: memcached
Version: 1.5.6-1
Severity: minor
Tags: patch

Dear Maintainer,

memcached leaves a nasty message in my systemd journal:

systemd[1]: /lib/systemd/system/memcached.service:13: PIDFile= references path 
below legacy directory /var/run/, updating /var/run/memcached/memcached.pid → 
/run/memcached/memcached.pid; please update the unit file accordingly.

This is due to the changed PIDFile= entry in the Debian patch
02_service_wrapper.patch. A trivial patch to change this up is attached.
Please consider applying it. This is valid according to
https://wiki.debian.org/ReleaseGoals/RunDirectory, and was a release
goal according to Wheezy (Debian 7.0). Thanks!

-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (990, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.18.8-x86_64-linode117 (SMP w/4 CPU cores; PREEMPT)
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/dash
Init: systemd (via /run/systemd/system)

Versions of packages memcached depends on:
ii  adduser         3.118
ii  libc6           2.28-8
ii  libevent-2.1-6  2.1.8-stable-4
ii  libsasl2-2      2.1.27+dfsg-1
ii  lsb-base        10.2019031300
ii  perl            5.28.1-4

memcached recommends no packages.

Versions of packages memcached suggests:
pn  libanyevent-perl         <none>
ii  libcache-memcached-perl  1.30-1
pn  libmemcached             <none>
ii  libterm-readkey-perl     2.38-1
ii  libyaml-perl             1.27-1

-- no debconf information
--- 02_service_wrapper.patch    2018-03-03 15:17:18.000000000 -0500
+++ 02_service_wrapper.patch.fixed      2019-03-14 12:26:01.773634020 -0400
@@ -28,7 +28,7 @@
  # Takes away the ability to create or manage any kind of namespace
  ##safer##RestrictNamespaces=true
  
-+PIDFile=/var/run/memcached/memcached.pid
++PIDFile=/run/memcached/memcached.pid
 +
 +# try to restart if errors encountered
 +Restart=always

Reply via email to