From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1LUhzp-0007q0-8y for garchives@archives.gentoo.org; Wed, 04 Feb 2009 13:40:53 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 53DF0E04FC; Wed, 4 Feb 2009 13:40:52 +0000 (UTC) Received: from static.21.48.46.78.clients.your-server.de (static.21.48.46.78.clients.your-server.de [78.46.48.21]) by pigeon.gentoo.org (Postfix) with ESMTP id 2851CE04FC for ; Wed, 4 Feb 2009 13:40:52 +0000 (UTC) Received: by static.21.48.46.78.clients.your-server.de (Postfix, from userid 1007) id 395971737DC; Wed, 4 Feb 2009 14:40:54 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.2.1 (2007-05-02) on 0815-web.localdomain X-Spam-Level: X-Spam-Status: No, score=-102.8 required=5.0 tests=AWL,BAYES_00,NO_RECEIVED, NO_RELAYS,USER_IN_WHITELIST autolearn=ham version=3.2.1 Message-ID: <49899AE0.1080901@j-schmitz.net> Date: Wed, 04 Feb 2009 14:40:48 +0100 From: Justin User-Agent: Thunderbird 2.0.0.19 (X11/20090203) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] /etc/init.d/: ntpd or ntp-client? References: <43F46B7E-4EA3-471C-9C64-9A516B32FFE8@stellar.eclipse.co.uk> In-Reply-To: <43F46B7E-4EA3-471C-9C64-9A516B32FFE8@stellar.eclipse.co.uk> X-Enigmail-Version: 0.95.7 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigBAD2D506CE3A38B21947DB6E" X-Archives-Salt: 9609fd38-7c25-4639-b75e-f7fc938e649f X-Archives-Hash: 73d7686b55df12460200161b39023409 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigBAD2D506CE3A38B21947DB6E Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Stroller schrieb: > Hi there, >=20 > I just logged into one of my machines that has recently been powered > down for a few days - not a terribly common occurrence with my servers = - > to find a date of January 30th showing. >=20 > I used to run ntp-client, but AIUI adding this to the default runlevel > only sets the clock once at boot up. Of course the problem with that is= > that the computer's clock can become inaccurate if the spring tension i= s > weak, as is obviously the case in my older PCs. >=20 > So a while back I changed /etc/runlevels/default so that ntpd is starte= d > instead. >=20 > I understood that ntpd was not only a server for my LAN (a facility I > don't use) but that it would also periodically check the time with > upstream servers & keep the machine's clock in constant sync. >=20 > So when I found the clock to be a week out of date I checked that ntpd > appeared to be running (it was) and restarted it. The date remained the= > same. Stopping ntpd & starting ntp-client corrected the date immediatel= y. >=20 > Before I do any investigation, can someone tell me if my understanding > so far is correct? Is ntpd supposed to keep the machine's clock in > constant sync, or is it only (say) a server to offer the date to > clients? (depending upon the clock being set correctly by other means) = I > thought I had configured ntpd with upstream servers separately from > ntp-client. >=20 > Stroller. >=20 pkg_postinst() { ewarn "You can find an example /etc/ntp.conf in /usr/share/ntp/" ewarn "Review /etc/ntp.conf to setup server info." ewarn "Review /etc/conf.d/ntpd to setup init.d info." echo elog "The way ntp sets and maintains your system time has changed." elog "Now you can use /etc/init.d/ntp-client to set your time at" elog "boot while you can use /etc/init.d/ntpd to maintain your time" elog "while your machine runs" --------------enigBAD2D506CE3A38B21947DB6E Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAkmJmuAACgkQgAnW8HDreRZ4ngCgwMfS/mzw3cQ0BfJVCWQ8qIdh QbwAn3K7bthr5S94H5+W+awfU1lKmCA5 =Gzv1 -----END PGP SIGNATURE----- --------------enigBAD2D506CE3A38B21947DB6E--