Package: openntpd
Version: 1:5.7p4-2
Severity: normal

Dear Maintainer,

The current unit files for OpenNTPd have the following issues:
- The ntpd process is not properly monitored; this may result in the main
  process exiting with an error after having forked away, and the service
  not being marked as failed by systemd.
- No reload command is provided.
- The configuration is not validated before (re)starting
  or reloading the service.


Here is a proposal for a unit file that solves those issues:

> [Service]
> EnvironmentFile=-/etc/default/openntpd
> ExecReload=/bin/kill -HUP $MAINPID
> ExecStartPre=/usr/sbin/ntpd -n $DAEMON_OPTS
> ExecStart=/usr/sbin/ntpd -d $DAEMON_OPTS
> Restart=on-failure
> RuntimeDirectory=openntpd


Best,

  nicoo

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (900, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.3.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages openntpd depends on:
ii  adduser              3.113+nmu3
ii  init-system-helpers  1.28
ii  libc6                2.21-9
ii  netbase              5.3

openntpd recommends no packages.

openntpd suggests no packages.

-- no debconf information

Reply via email to