[pkg-ntp-maintainers] Bug#865631: Bug#865631: ntp: Doesn't start

Bernhard Schmidt berni at debian.org
Fri Jun 23 10:55:49 UTC 2017


Hi,

> Package: ntp
> Version: 1:4.2.8p10+dfsg-5
> Severity: normal
> 
> Dear Maintainer,
> 
> Fail to upgrade or here start after a removal.
> 
> Here is the apt-get output and then 'journalctl -xe' :
> 
> Setting up ntp (1:4.2.8p10+dfsg-5) ...
> Created symlink /etc/systemd/system/multi-user.target.wants/ntp.service → /lib/systemd/system/ntp.service.
> Job for ntp.service failed because the control process exited with error code.
> See "systemctl  status ntp.service" and "journalctl  -xe" for details.
> invoke-rc.d: initscript ntp, action "start" failed.
> ● ntp.service - Network Time Service
>    Loaded: loaded (/lib/systemd/system/ntp.service; enabled; vendor preset: enabled)
>    Active: failed (Result: exit-code) since Fri 2017-06-23 12:38:34 CEST; 62ms ago
>      Docs: man:ntpd(8)
>   Process: 16808 ExecStart=/usr/lib/ntp/ntp-systemd-wrapper (code=exited, status=226/NAMESPACE)
> 
> Jun 23 12:38:34 guillaume.marillat.net systemd[1]: Starting Network Time Service...
> Jun 23 12:38:34 guillaume.marillat.net systemd[16808]: ntp.service: Failed at step NAMESPACE spawning /usr/lib/ntp/ntp-systemd-wrapper: No such file or directory
> Jun 23 12:38:34 guillaume.marillat.net systemd[1]: ntp.service: Control process exited, code=exited status=226
> Jun 23 12:38:34 guillaume.marillat.net systemd[1]: Failed to start Network Time Service.
> Jun 23 12:38:34 guillaume.marillat.net systemd[1]: ntp.service: Unit entered failed state.
> Jun 23 12:38:34 guillaume.marillat.net systemd[1]: ntp.service: Failed with result 'exit-code'.
> dpkg: error processing package ntp (--configure):
>  subprocess installed post-installation script returned error exit status 1

Hrm, that's weird.

ntp.service: Failed at step NAMESPACE spawning
/usr/lib/ntp/ntp-systemd-wrapper: No such file or directory

ntp-systemd-wrapper is located in the same package, so it should be
there. I just tested an upgrade from Stretch to Sid and it worked just fine.

Anything out of the ordinary in your setup? Does
/usr/lib/ntp/ntp-systemd-wrapper exist after the failed installation?

Bernhard



More information about the pkg-ntp-maintainers mailing list