All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH meta-networking] ntp: comment out the invalid server
@ 2013-11-29  2:37 rongqing.li
  2013-11-29 16:35 ` Joe MacDonald
  0 siblings, 1 reply; 2+ messages in thread
From: rongqing.li @ 2013-11-29  2:37 UTC (permalink / raw)
  To: openembedded-devel

From: Roy Li <rongqing.li@windriver.com>

When ntpd starts, it will create a daemon to connect this invalid server,
and fail, then ntpd will create other daemon to connect the local-only
(127.127.1.0) server.

The users should be aware that they need to configure the correct ntp
servers, a invalid server will lead to a redundant daemon, so it is better
to comment this example server to wait user to configure

Signed-off-by: Roy Li <rongqing.li@windriver.com>
---
 meta-networking/recipes-support/ntp/files/ntp.conf |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta-networking/recipes-support/ntp/files/ntp.conf b/meta-networking/recipes-support/ntp/files/ntp.conf
index a9cc838..e26b615 100644
--- a/meta-networking/recipes-support/ntp/files/ntp.conf
+++ b/meta-networking/recipes-support/ntp/files/ntp.conf
@@ -5,7 +5,9 @@ driftfile /etc/ntp.drift
 # This obtains a random server which will be close
 # (in IP terms) to the machine.  Add other servers
 # as required, or change this.
-server time.server.example.com
+# 
+# server time.server.example.com
+#
 # Using local hardware clock as fallback
 # Disable this when using ntpd -q -g -x as ntpdate or it will sync to itself
 server 127.127.1.0
-- 
1.7.10.4



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH meta-networking] ntp: comment out the invalid server
  2013-11-29  2:37 [PATCH meta-networking] ntp: comment out the invalid server rongqing.li
@ 2013-11-29 16:35 ` Joe MacDonald
  0 siblings, 0 replies; 2+ messages in thread
From: Joe MacDonald @ 2013-11-29 16:35 UTC (permalink / raw)
  To: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 1499 bytes --]

Merged, thanks.
-J.

[[oe] [PATCH meta-networking] ntp: comment out the invalid server] On 13.11.29 (Fri 10:37) rongqing.li@windriver.com wrote:

> From: Roy Li <rongqing.li@windriver.com>
> 
> When ntpd starts, it will create a daemon to connect this invalid server,
> and fail, then ntpd will create other daemon to connect the local-only
> (127.127.1.0) server.
> 
> The users should be aware that they need to configure the correct ntp
> servers, a invalid server will lead to a redundant daemon, so it is better
> to comment this example server to wait user to configure
> 
> Signed-off-by: Roy Li <rongqing.li@windriver.com>
> ---
>  meta-networking/recipes-support/ntp/files/ntp.conf |    4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/meta-networking/recipes-support/ntp/files/ntp.conf b/meta-networking/recipes-support/ntp/files/ntp.conf
> index a9cc838..e26b615 100644
> --- a/meta-networking/recipes-support/ntp/files/ntp.conf
> +++ b/meta-networking/recipes-support/ntp/files/ntp.conf
> @@ -5,7 +5,9 @@ driftfile /etc/ntp.drift
>  # This obtains a random server which will be close
>  # (in IP terms) to the machine.  Add other servers
>  # as required, or change this.
> -server time.server.example.com
> +# 
> +# server time.server.example.com
> +#
>  # Using local hardware clock as fallback
>  # Disable this when using ntpd -q -g -x as ntpdate or it will sync to itself
>  server 127.127.1.0
-- 
-Joe MacDonald.
:wq

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-11-29 16:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-29  2:37 [PATCH meta-networking] ntp: comment out the invalid server rongqing.li
2013-11-29 16:35 ` Joe MacDonald

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.