|
Bugzilla – Full Text Bug Listing |
| Summary: | ntp init script broken | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE 11.0 | Reporter: | Ludwig Nussel <lnussel> |
| Component: | Network | Assignee: | Andreas Schneider <anschneider> |
| Status: | RESOLVED FIXED | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Normal | ||
| Priority: | P5 - None | CC: | samba-maintainers, vuntz |
| Version: | Alpha 2 | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | Other | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Bug Depends on: | |||
| Bug Blocks: | 359502, 361548 | ||
|
Description
Ludwig Nussel
2008-02-28 09:54:46 UTC
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...
Fixed with the next factory update. |