Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 12276 - /etc/init.d/ntpd should be able to parse peer as well as server
Summary: /etc/init.d/ntpd should be able to parse peer as well as server
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Donny Davies (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-12-16 19:47 UTC by Matthew Swank
Modified: 2003-02-04 19:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthew Swank 2002-12-16 19:47:03 UTC
Package: net-misc/ntp-4.1.1b-r1

Currently, if you do not have a server line in the /etc/ntp.conf file, the
startup script gives you a warning, and does not run ntpdate.  However, it is
possible to run ntpd (and provide a host for ntpdate), by specifying a peer
instead of/as well as a server.  The startup script should look for both (e.g
NTPDATEPEERS=`grep '^peer[[:space:]]*' /etc/ntp.conf | awk '{print $2}'`)
Comment 1 SpanKY gentoo-dev 2002-12-17 00:03:43 UTC
done ...
i guess ill just hope noone uses the broadcast or manycastclient options

http://cvs.gentoo.org/cgi-bin/viewcvs.cgi/gentoo-x86/net-misc/ntp/files/ntpd.rc.diff?r1=1.1&r2=1.2