On some systems, after upgrading OpenSuSE Tumbleweed to 20160905 ntp stops working.
TL;DR
Pending the verification of snapshot 20160908 (not finished yet), if if you have updated to 20160905 or 20160907,, the bogus ntp version is, so you have to downgrade:
zypper in --oldpackage http://download.opensuse.org/tumbleweed/repo/oss/suse/x86_64/ntp-4.2.8p8-1.3.x86_64.rpm systemctl restart ntpd.service
Or wait a few hours and install snapshot 20160908.
Re: ntp problem after snapshot 20160905
Source: TUMBLEWEED ntp problem after snapshot 20160905 [WayBack]
The 20160905 snapshot then brings you something like this:
revue:/etc # cat /etc/os-release
NAME="openSUSE Tumbleweed"
# VERSION="20160905"
ID=opensuse
ID_LIKE="suse"
VERSION_ID="20160905"
PRETTY_NAME="openSUSE Tumbleweed"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:opensuse:tumbleweed:20160905"
BUG_REPORT_URL="https://bugs.opensuse.org"
HOME_URL="https://www.opensuse.org/"
revue:/etc # systemctl status ntpd.service
● ntpd.service - NTP Server Daemon
Loaded: loaded (/usr/lib/systemd/system/ntpd.service; enabled; vendor preset: disabled)
Drop-In: /run/systemd/generator/ntpd.service.d
└─50-insserv.conf-$time.conf
Active: failed (Result: start-limit) since Thu 2016-09-08 16:08:14 CEST; 17h ago
Docs: man:ntpd(1)
Main PID: 1758 (code=exited, status=0/SUCCESS)
Sep 08 16:08:13 revue systemd[1]: ntpd.service: Unit entered failed state.
Sep 08 16:08:13 revue systemd[1]: ntpd.service: Failed with result 'resources'.
Sep 08 16:08:14 revue systemd[1]: ntpd.service: Service hold-off time over, scheduling restart.
Sep 08 16:08:14 revue systemd[1]: Stopped NTP Server Daemon.
Sep 08 16:08:14 revue systemd[1]: ntpd.service: Start request repeated too quickly.
Sep 08 16:08:14 revue systemd[1]: Failed to start NTP Server Daemon.
Sep 08 16:08:14 revue systemd[1]: ntpd.service: Unit entered failed state.
Sep 08 16:08:14 revue systemd[1]: ntpd.service: Failed with result 'start-limit'.
The snapshot 20160908 fixes it, but verification has not finished yet, so a zypper dist-upgrade
will give you snapshot 20160907 which still has the bogus ntp, so you have to downgrade ntp:
revue:/etc # cat /etc/os-release
NAME="openSUSE Tumbleweed"
# VERSION="20160907"
ID=opensuse
ID_LIKE="suse"
VERSION_ID="20160907"
PRETTY_NAME="openSUSE Tumbleweed"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:opensuse:tumbleweed:20160907"
BUG_REPORT_URL="https://bugs.opensuse.org"
HOME_URL="https://www.opensuse.org/"
revue:/etc # systemctl status ntpd.service
● ntpd.service - NTP Server Daemon
Loaded: loaded (/usr/lib/systemd/system/ntpd.service; enabled; vendor preset: disabled)
Drop-In: /run/systemd/generator/ntpd.service.d
└─50-insserv.conf-$time.conf
Active: failed (Result: start-limit) since Fri 2016-09-09 10:14:55 CEST; 1min 8s ago
Docs: man:ntpd(1)
Process: 2841 ExecStart=/usr/sbin/start-ntpd start (code=exited, status=0/SUCCESS)
Sep 09 10:14:54 revue systemd[1]: ntpd.service: Unit entered failed state.
Sep 09 10:14:54 revue systemd[1]: ntpd.service: Failed with result 'resources'.
Sep 09 10:14:55 revue systemd[1]: ntpd.service: Service hold-off time over, scheduling restart.
Sep 09 10:14:55 revue systemd[1]: Stopped NTP Server Daemon.
Sep 09 10:14:55 revue systemd[1]: ntpd.service: Start request repeated too quickly.
Sep 09 10:14:55 revue systemd[1]: Failed to start NTP Server Daemon.
Sep 09 10:14:55 revue systemd[1]: ntpd.service: Unit entered failed state.
Sep 09 10:14:55 revue systemd[1]: ntpd.service: Failed with result 'start-limit'.
revue:/etc # zypper in --oldpackage http://download.opensuse.org/tumbleweed/repo/oss/suse/x86_64/ntp-4.2.8p8-1.3.x86_64.rpm
Loading repository data...
Reading installed packages...
Resolving package dependencies...
The following package is going to be downgraded:
ntp
1 package to downgrade.
Overall download size: 763.6 KiB. Already cached: 0 B. No additional space will be used or freed after the operation.
Continue? [y/n/? shows all options] (y):
Retrieving package ntp-4.2.8p8-1.3.x86_64 (1/1), 763.6 KiB ( 2.3 MiB unpacked)
Checking for file conflicts: .............................................................................................................................[done]
(1/1) Installing: ntp-4.2.8p8-1.3.x86_64 .................................................................................................................[done]
Additional rpm output:
Updating /etc/sysconfig/ntp ...
revue:/etc # systemctl status ntpd.service
● ntpd.service - NTP Server Daemon
Loaded: loaded (/usr/lib/systemd/system/ntpd.service; enabled; vendor preset: disabled)
Drop-In: /run/systemd/generator/ntpd.service.d
└─50-insserv.conf-$time.conf
Active: failed (Result: start-limit) since Fri 2016-09-09 10:14:55 CEST; 5min ago
Docs: man:ntpd(1)
Sep 09 10:14:54 revue systemd[1]: ntpd.service: Unit entered failed state.
Sep 09 10:14:54 revue systemd[1]: ntpd.service: Failed with result 'resources'.
Sep 09 10:14:55 revue systemd[1]: ntpd.service: Service hold-off time over, scheduling restart.
Sep 09 10:14:55 revue systemd[1]: Stopped NTP Server Daemon.
Sep 09 10:14:55 revue systemd[1]: ntpd.service: Start request repeated too quickly.
Sep 09 10:14:55 revue systemd[1]: Failed to start NTP Server Daemon.
Sep 09 10:14:55 revue systemd[1]: ntpd.service: Unit entered failed state.
Sep 09 10:14:55 revue systemd[1]: ntpd.service: Failed with result 'start-limit'.
revue:/etc # systemctl restart ntpd.service
revue:/etc # systemctl status ntpd.service
● ntpd.service - NTP Server Daemon
Loaded: loaded (/usr/lib/systemd/system/ntpd.service; enabled; vendor preset: disabled)
Drop-In: /run/systemd/generator/ntpd.service.d
└─50-insserv.conf-$time.conf
Active: active (running) since Fri 2016-09-09 10:20:44 CEST; 1s ago
Docs: man:ntpd(1)
Process: 4903 ExecStart=/usr/sbin/start-ntpd start (code=exited, status=0/SUCCESS)
Main PID: 4915 (ntpd)
Tasks: 2 (limit: 512)
CGroup: /system.slice/ntpd.service
├─4915 /usr/sbin/ntpd -p /var/run/ntp/ntpd.pid -g -u ntp:ntp -i /var/lib/ntp -c /etc/ntp.conf
└─4916 ntpd: asynchronous dns resolver
Sep 09 10:20:44 revue systemd[1]: Starting NTP Server Daemon...
Sep 09 10:20:44 revue ntpd[4914]: ntpd 4.2.8p8@1.3265-o Sat Aug 13 17:26:43 UTC 2016 (1): Starting
Sep 09 10:20:44 revue ntpd[4914]: Command line: /usr/sbin/ntpd -p /var/run/ntp/ntpd.pid -g -u ntp:ntp -i /var/lib/ntp -c /etc/ntp.conf
Sep 09 10:20:44 revue ntpd[4915]: proto: precision = 0.093 usec (-23)
Sep 09 10:20:44 revue ntpd[4915]: switching logging to file /var/log/ntp
Sep 09 10:20:44 revue systemd[1]: Started NTP Server Daemon.
Sep 09 10:20:44 revue start-ntpd[4903]: Starting network time protocol daemon (NTPD)
–jeroen
Filed under: *nix, Linux, openSuSE, Power User, SuSE Linux, Tumbleweed
