Package: ndppd
Version: 0.2.5-4
Severity: important
Tags: patch

Dear Maintainer,

When I migrated from stretch to buster I add some issues using systemctl to 
manage ndppd.

I enabled the service using systemctl, start running properly but I had the 
following log line trying to stop it (systemctl stop ndppd)
start-stop-daemon: matching on world-writable pidfile /var/run/ndppd.pid is 
insecure

The service appears to be stopped according to systemd but it is not.

To fix this issue I deleted the /etc/init.d/ndppd script and wrote a systemd 
service file (which surely still can be improved).
Working like a charm for me with the following:

cat /etc/systemd/system/ndppd.service 

[Unit]
Description=ndppd Neighbor Discovery Protocol Proxy Daemon
Documentation=man:ndppd(1) man:ndppd.conf(5)
After=network.target

[Service]
EnvironmentFile=-/etc/default/ndppd
ExecStart=/usr/sbin/ndppd 
Restart=on-failure
Type=simple
PIDFile=/var/run/ndppd.pid

[Install]
WantedBy=multi-user.target

I think this file should be located inside /lib/systemd/system/ dir

Hope this will help (and ndppd fixed soon).
Regards,

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

Kernel: Linux 4.19.0-6-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 /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages ndppd depends on:
ii  libc6       2.28-10
ii  libgcc1     1:8.3.0-6
ii  libstdc++6  8.3.0-6
ii  lsb-base    10.2019051400

ndppd recommends no packages.

ndppd suggests no packages.

-- Configuration Files:
/etc/init.d/ndppd [Errno 2] No such file or directory: '/etc/init.d/ndppd'

-- no debconf information

Reply via email to