summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2013-February/022753.html
blob: 540b26c16a240eaf5f53a8ffc0c73043e89b06a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
<!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=%3C51190D18.7090201%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="022750.html">
   <LINK REL="Next"  HREF="022738.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=%3C51190D18.7090201%40colin.guthr.ie%3E"
       TITLE="[Mageia-dev] Why ntpdate still there?">mageia at colin.guthr.ie
       </A><BR>
    <I>Mon Feb 11 16:24:08 CET 2013</I>
    <P><UL>
        <LI>Previous message: <A HREF="022750.html">[Mageia-dev] Why ntpdate still there?
</A></li>
        <LI>Next message: <A HREF="022738.html">[Mageia-dev] Freeze push: taskcoach
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#22753">[ date ]</a>
              <a href="thread.html#22753">[ thread ]</a>
              <a href="subject.html#22753">[ subject ]</a>
              <a href="author.html#22753">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>'Twas brillig, and Pierre Jarillon at 11/02/13 14:34 did gyre and gimble:
&gt;<i> Le lundi 11 f&#233;vrier 2013 13:57:52, Johnny A. Solbu a &#233;crit :
</I>&gt;&gt;<i> I have a few setups where running an ntp daemon is undesired, yet I need to
</I>&gt;&gt;<i> periodically manually set the clock. I have two laptops which is off most
</I>&gt;&gt;<i> of the time, and when I do use them I don't always have a network
</I>&gt;&gt;<i> connection. So I need to set the clock manually using ntpdate when I do
</I>&gt;&gt;<i> have a connection.
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> If it disappears I will miss it, and most likely look for a replacement, if
</I>&gt;&gt;<i> there is one.
</I>&gt;<i> 
</I>&gt;<i> According my reply to Colin, ntpd -g  does the same job than ntpdate.
</I>&gt;<i> The option -g is now used by default in /etc/sysconfig/ntpd
</I>&gt;<i> 
</I>&gt;<i> Perhaps a script &quot;ntpdate&quot; executing  `ntpd -g` could be useful?
</I>&gt;<i> 
</I>&gt;<i> I have also a question about ntp-wait : I have read its code (perl) but I 
</I>&gt;<i> don't understand what is its use.
</I>
In theory it's meant to wait until the time is stable, and holds up
time-sync.target accordingly.  Thus any other systemd unit that is
ordered &quot;After=time-sync.target&quot; will be delayed until after ntp-wait
has exited.

time-sync.target is meant to be a generic name and thus any units that
need such ordering should use it and not ntp-wait.service directly
(other ntp implementations may achieve the same result, but with
different units).

I'm not overly sure we actually have anything ordered after
time-sync.target anyway, but that's why it exists (to the best of my
understanding anyway)

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="022750.html">[Mageia-dev] Why ntpdate still there?
</A></li>
	<LI>Next message: <A HREF="022738.html">[Mageia-dev] Freeze push: taskcoach
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#22753">[ date ]</a>
              <a href="thread.html#22753">[ thread ]</a>
              <a href="subject.html#22753">[ subject ]</a>
              <a href="author.html#22753">[ 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>