Bugzilla – Bug 901751
Not functional YAST2 -> NTP -> Synchronize without daemon
Last modified: 2015-06-22 13:30:34 UTC
Not functional YAST2 -> NTP -> Synchronize without daemon. Clean installation openSUSE 13.2 20141007 factory DVD iso with /home from old openSUSE 12.3 (but IMHO, YAST2 settings are not in /home, so I think old /home is not the case)
(It is major issue for me because I have problem with broken notebook which erase time after every plug in electricity and I must start manual NTP synchronization.)
Please attach YaST log-files, see
Created attachment 611913 [details]
I was having the same issue in openSUSE 13.2 64-bit. Inserting the following line at the beginning of the generated /etc/cron.d/novell.ntp-synchronize file resolved the issue for me (I now see NTP traffic in Wireshark):
I just noticed the same here when I was wondering why my system clock always is wrong and doesn't get synchronized. After removing the "&>/dev/null" from /etc/cron.d/novell.ntp-synchronize I get EMails from cron every 5 minutes with the content:
From firstname.lastname@example.org Sun Mar 8 10:35:01 2015
From: "(Cron Daemon)" <email@example.com>
Subject: Cron <root@linux-lf90> /usr/sbin/start-ntpd ntptimeset
Content-Type: text/plain; charset=UTF-8
Date: Sun, 8 Mar 2015 10:35:01 +0100 (CET)
Time could not be synchronized
Adding PATH=/sbin:/usr/sbin:/bin:/usr/bin to /etc/cron.d/novell.ntp-synchronize as mentioned in comment#3 fixes it.
Another (probably better) fix would be to explicitely call /usr/sbin/sntp in line#237 in /usr/sbin/start-ntp, which it already does in function add_runtime_server() (line#141).
So this should either be fixed in yast2-ntp-client (which writes /etc/cron.d/novell.ntp-synchronize in line 885ff in /usr/share/YaST2/modules/NtpClient.rb), or in ntp's /usr/sbin/start-ntp script.
CC'ing the ntp maintainer.
I submitted a fixed ntp package to the devel project:
Can we please do an update for 13.2?
As soon as it's accepted in the devel-project, we can start an update for 13.2 too.
Thank in advance.
(In reply to Benjamin Brunner from comment #6)
> As soon as it's accepted in the devel-project, we can start an update for
> 13.2 too.
It has been accepted, so here's the Maintenance Request:
Update released for openSUSE 13.2. Resolved fixed.
openSUSE-RU-2015:0521-1: An update that has one recommended fix can now be installed.
Category: recommended (moderate)
Bug References: 901751
openSUSE 13.2 (src): ntp-4.2.6p5-25.9.1
*** Bug 915699 has been marked as a duplicate of this bug. ***