Bug ID 957226
Summary NTP does not start after upgrade to Leap 42.1
Classification openSUSE
Product openSUSE Distribution
Version Leap 42.1
Hardware x86-64
OS openSUSE 42.1
Status NEW
Severity Normal
Priority P5 - None
Component Network
Assignee bnc-team-screening@forge.provo.novell.com
Reporter jimoe@sohnen-moe.com
QA Contact qa-bugs@suse.de
Found By ---
Blocker ---

NTP was working as expected in v13.2. After upgrading to Leap 42.1, it does not
start using systemctl; it starts correctly from the command line.

There is some problem with awk and the </usr/sbin/start-ntpd> script. Below are
some entries from the journal. I could not see any difference between this
start-ntpd and one on another system where NTP starts correctly. The awk
version is the same on both systems: 4.1.3, API: 1.1

Nov 30 15:05:03 sma-station15l systemd[1]: Starting NTP Server Daemon...
Nov 30 15:05:03 sma-station15l start-ntpd[28620]: awk: cmd. line:1: $1 == "1
Nov 30 15:05:03 sma-station15l start-ntpd[28620]: awk: cmd. line:1:       ^
unterminated string
Nov 30 15:05:03 sma-station15l start-ntpd[28620]: awk: cmd. line:1: $1 == "1
Nov 30 15:05:03 sma-station15l start-ntpd[28620]: awk: cmd. line:1:       ^
syntax error
Nov 30 15:05:03 sma-station15l start-ntpd[28620]: awk: cmd. line:1: $1 == "1
Nov 30 15:05:03 sma-station15l start-ntpd[28620]: awk: cmd. line:1:       ^
unterminated string
Nov 30 15:05:03 sma-station15l start-ntpd[28620]: awk: cmd. line:1: $1 == "1
Nov 30 15:05:03 sma-station15l start-ntpd[28620]: awk: cmd. line:1:       ^
syntax error
Nov 30 15:05:03 sma-station15l start-ntpd[28620]: No password for controlkey
set
Nov 30 15:05:03 sma-station15l systemd[1]: Unit ntpd.service entered failed
state.

The status output after trying to start using systemctl:

$ systemctl status ntpd.service
ntpd.service - NTP Server Daemon
   Loaded: loaded (/usr/lib/systemd/system/ntpd.service; enabled)
   Active: activating (auto-restart) (Result: exit-code) since Mon 2015-11-30
15:23:12 MST; 8min ago
     Docs: man:ntpd(1)
  Process: 30148 ExecStart=/usr/sbin/start-ntpd start (code=exited,
status=1/FAILURE)
 Main PID: 1610 (code=exited, status=0/SUCCESS)

After starting from the command line:
$ ps ax |grep ntp
29839 ? Ss 0:00 /usr/sbin/ntpd -p /var/run/ntp/ntp.pid -g -u ntp:ntp -c
/etc/ntp.conf


You are receiving this mail because: