summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2013-February/022751.html
diff options
context:
space:
mode:
Diffstat (limited to 'zarb-ml/mageia-dev/2013-February/022751.html')
-rw-r--r--zarb-ml/mageia-dev/2013-February/022751.html181
1 files changed, 181 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/2013-February/022751.html b/zarb-ml/mageia-dev/2013-February/022751.html
new file mode 100644
index 000000000..4f6ef4d13
--- /dev/null
+++ b/zarb-ml/mageia-dev/2013-February/022751.html
@@ -0,0 +1,181 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<HTML>
+ <HEAD>
+ <TITLE> [Mageia-dev] Why ntpdate still there?
+ </TITLE>
+ <LINK REL="Index" HREF="index.html" >
+ <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Why%20ntpdate%20still%20there%3F&In-Reply-To=%3C51190676.8010506%40colin.guthr.ie%3E">
+ <META NAME="robots" CONTENT="index,nofollow">
+ <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
+ <LINK REL="Previous" HREF="022746.html">
+ <LINK REL="Next" HREF="023059.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[Mageia-dev] Why ntpdate still there?</H1>
+ <B>Colin Guthrie</B>
+ <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Why%20ntpdate%20still%20there%3F&In-Reply-To=%3C51190676.8010506%40colin.guthr.ie%3E"
+ TITLE="[Mageia-dev] Why ntpdate still there?">mageia at colin.guthr.ie
+ </A><BR>
+ <I>Mon Feb 11 15:55:50 CET 2013</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="022746.html">[Mageia-dev] Why ntpdate still there?
+</A></li>
+ <LI>Next message: <A HREF="023059.html">[Mageia-dev] Why ntpdate still there?
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#22751">[ date ]</a>
+ <a href="thread.html#22751">[ thread ]</a>
+ <a href="subject.html#22751">[ subject ]</a>
+ <a href="author.html#22751">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>'Twas brillig, and Pierre Jarillon at 11/02/13 14:23 did gyre and gimble:
+&gt;<i> Le lundi 11 f&#233;vrier 2013 13:18:23, Colin Guthrie a &#233;crit :
+</I>&gt;&gt;<i> So ntpdate as a service is just a one-shot thing, it happens once at
+</I>&gt;&gt;<i> boot to ensure the clocks are properly set and then ntpd takes over for
+</I>&gt;&gt;<i> the rest of the time that machine stays up.
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> As far as I'm aware, there is nothing integrated into crontab regarding
+</I>&gt;&gt;<i> ntpdate, but please feel free to correct me on that one.
+</I>&gt;<i>
+</I>&gt;<i> Yes, this was the old system. I am not an expert in ntp, but I have read
+</I>&gt;<i> carefully <A HREF="http://ntp.org">http://ntp.org</A> few years ago and I return on it now and then.
+</I>&gt;<i> I can miss something... I am not the truth!
+</I>&gt;<i>
+</I>&gt;<i> On the web site <A HREF="http://www.ntp.org/">http://www.ntp.org/</A> -&gt;Implementation Documentation
+</I>&gt;<i> <A HREF="http://www.eecis.udel.edu/~mills/ntp/html/ntpdate.html">http://www.eecis.udel.edu/~mills/ntp/html/ntpdate.html</A> said:
+</I>&gt;<i> Disclaimer: The functionality of this program is now available in the ntpd
+</I>&gt;<i> program. See the -q command line option in the ntpd - Network Time Protocol
+</I>&gt;<i> (NTP) daemon page. After a suitable period of mourning, the ntpdate program is
+</I>&gt;<i> to be retired from this distribution
+</I>&gt;<i>
+</I>&gt;<i> And <A HREF="http://www.eecis.udel.edu/~mills/ntp/html/ntpd.html">http://www.eecis.udel.edu/~mills/ntp/html/ntpd.html</A> and the man tell us:
+</I>&gt;<i>
+</I>&gt;<i> -q
+</I>&gt;<i> Exit the ntpd just after the first time the clock is set. This behavior mimics
+</I>&gt;<i> that of the ntpdate program, which is to be retired. The -g and -x options can
+</I>&gt;<i> be used with this option. Note: The kernel time discipline is disabled with
+</I>&gt;<i> this option.
+</I>&gt;<i> -g
+</I>&gt;<i> Normally, ntpd exits with a message to the system log if the offset exceeds the
+</I>&gt;<i> panic threshold, which is 1000 s by default. This option allows the time to be
+</I>&gt;<i> set to any value without restriction; however, this can happen only once. If
+</I>&gt;<i> the threshold is exceeded after that, ntpd will exit with a message to the
+</I>&gt;<i> system log. This option can be used with the -q and -x options. See the tinker
+</I>&gt;<i> command for other options.
+</I>&gt;<i>
+</I>&gt;<i> The same options are set in the man of ntp.
+</I>&gt;<i>
+</I>&gt;<i> IMO, ntpdate should be replaced with: ntpd -gq
+</I>
+Yup that would be fine.
+
+&gt;<i> I don't understand why ntpdate is listed as an active daemon in drakxservices.
+</I>
+This is simply because of the fact that drakxservices doesn't really
+grok the kind of granularity you want here.
+
+See the direct output from e.g. &quot;systemctl status ntpdate.service&quot; vs.
+&quot;systemctl status ntpd.service&quot; (hint: compare &quot;active (exited)&quot; vs
+&quot;active (running)&quot;)
+
+For the former, it's a &quot;oneshot&quot; and as it has been run and it ran
+successfully, it's is thus considered &quot;active&quot;.
+
+Really we should teach drakxservices to present that properly: e.g. show
+it as &quot;Completed&quot; or something, rather than &quot;Active&quot;
+
+&gt;<i> In /etc/sysconfig/ntpd :
+</I>&gt;<i> - Mageia 1 : OPTIONS=&quot;-u ntp:ntp -p /var/run/ntpd.pid&quot;
+</I>&gt;<i> - Mageia 2 : OPTIONS=&quot;-g&quot;
+</I>&gt;<i> - Mageia 3 : OPTIONS=&quot;-g&quot;
+</I>&gt;<i>
+</I>&gt;<i> Then it seems that ntpdate is no longer useful since Mageia 2.
+</I>
+Yes indeed. It seems the -g option passed there makes the separate
+ntpdate service obsolete. It basically gives ntpd a one-chance option to
+do a big jump, which is basically what we were achieving with that
+double unit setup.
+
+I'll kill off the ntpdate stuff.
+
+Many thanks for poking into this :)
+
+Col
+
+
+
+--
+
+Colin Guthrie
+colin(at)mageia.org
+<A HREF="http://colin.guthr.ie/">http://colin.guthr.ie/</A>
+
+Day Job:
+ Tribalogic Limited <A HREF="http://www.tribalogic.net/">http://www.tribalogic.net/</A>
+Open Source:
+ Mageia Contributor <A HREF="http://www.mageia.org/">http://www.mageia.org/</A>
+ PulseAudio Hacker <A HREF="http://www.pulseaudio.org/">http://www.pulseaudio.org/</A>
+ Trac Hacker <A HREF="http://trac.edgewall.org/">http://trac.edgewall.org/</A>
+</PRE>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="022746.html">[Mageia-dev] Why ntpdate still there?
+</A></li>
+ <LI>Next message: <A HREF="023059.html">[Mageia-dev] Why ntpdate still there?
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#22751">[ date ]</a>
+ <a href="thread.html#22751">[ thread ]</a>
+ <a href="subject.html#22751">[ subject ]</a>
+ <a href="author.html#22751">[ author ]</a>
+ </LI>
+ </UL>
+
+<hr>
+<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev
+mailing list</a><br>
+</body></html>