Mailinglist Archive: opensuse-bugs (4856 mails)

< Previous Next >
[Bug 650879] New: Missing newline makes /etc/cron.d/novell.ntp-synchronize not work
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Wed, 3 Nov 2010 04:09:47 +0000
  • Message-id: <bug-650879-21960@xxxxxxxxxxxxxxxxxxxxxxxx/>

https://bugzilla.novell.com/show_bug.cgi?id=650879

https://bugzilla.novell.com/show_bug.cgi?id=650879#c0


Summary: Missing newline makes
/etc/cron.d/novell.ntp-synchronize not work
Classification: openSUSE
Product: openSUSE 11.3
Version: Final
Platform: i586
OS/Version: openSUSE 11.3
Status: NEW
Severity: Normal
Priority: P5 - None
Component: YaST2
AssignedTo: bnc-team-screening@xxxxxxxxxxxxxxxxxxxxxx
ReportedBy: dcobra@xxxxxxxxxxxxx
QAContact: jsrain@xxxxxxxxxx
Found By: ---
Blocker: ---


User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.10)
Gecko/20100914 SUSE/3.6.10-0.3.1 Firefox/3.6.10

After selecting "Synchronize without Daemon" on the YaST2 "Advanced NTP
Configuration", I noticed my notebook's clock was not being correctly
synchronized. The problem turned out to be a missing newline at the end of

-*/5 * * * * root /etc/init.d/ntp ntptimeset &>/dev/null

in /etc/cron.d/novell.ntp-synchronize. I presume this file is created by YaST2,
since "rpm -f" says it is not owned by any package.

Adding the newline fixed the problem and the clock is now properly synchronized
every five minutes.


Reproducible: Always

Steps to Reproduce:
1. Select "Synchronize without Daemon" on the YaST2 "Advanced NTP
Configuration".

Actual Results:
The clock is not synchronized.

Expected Results:
The clock should be synchronized by cron every so many minutes (five, by
default).

Besides selecting "Synchronize without Daemon", my only other action was to add
NTP server br.pool.ntp.org, though that probably has nothing to do with the
missing newline.

--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >
Follow Ups