https://bugzilla.novell.com/show_bug.cgi?id=423463 Summary: 2 bugs found in ntpd init script Product: openSUSE 11.0 Version: Final Platform: x86-64 OS/Version: openSUSE 11.0 Status: NEW Severity: Normal Priority: P5 - None Component: Booting AssignedTo: jsrain@novell.com ReportedBy: jnelson-suse@jamponi.net QAContact: jsrain@novell.com Found By: --- I found 2 bugs in the ntpd init script, both in the ntptimeset section: 1. /etc/ntp.conf used instead of $NTP_CONF (where $NTP_CONF is used everywhere else) 2. broken use of if <condition> && success || failure: if the NTPD_BIND invocation returned non-zero (such as if ntpd is running, there is a failure to bind, etc...) the 'echo "no server configured"' command is executed. Correct (or, at least, more correct): ntptimeset) if grep -v 127.127.1.0 $NTP_CONF | grep ^server >/dev/null; then $NTPD_BIN $NTPD_OPTIONS -c $NTP_CONF -q else echo "no server configured" fi ;; -- 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.