https://bugzilla.novell.com/show_bug.cgi?id=365515
User vuntz@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=365515#c1
Vincent Untz changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |vuntz@novell.com
--- Comment #1 from Vincent Untz 2008-03-01 17:32:55 MST ---
Also, from the init script:
NTP_KEYS=$(awk '/^keys/ { print $2 }' $NTP_CONF)
if test -z "$NTP_KEYS"; then
echo -n "NTP key file does not exist"
rc_status -s
exit 5
fi
NTP_KEYID=$(awk '/^requestkey[[:blank:]]/ { print $2 }' $NTP_CONF)
if test -z "$NTP_KEYS"; then
echo -n "NTP key id not defined"
rc_status -s
exit 5
fi
NTP_PASSWD=$(awk '$0 ~ key { print $3 }'
key="^[[:blank:]]*$NTP_KEYID[[:blank:]]" $NTP_KEYS)
if test -z "$NTP_KEYS"; then
echo -n "No password for requestkey set"
return 1
fi
The last two tests should not look at the length of $NTP_KEYS, I guess.
Another problem is that if ntp.conf is updated with dhcp
(DHCLIENT_MODIFY_NTP_CONF option in /etc/sysconfig/network/dhcp), there's no
keys option defined in the updated ntp.conf and so ntp fails to start...
--
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.