Tim Landscheidt has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/118301

Change subject: ntp: Work around Labs network error
......................................................................

ntp: Work around Labs network error

On Labs the default "interface" configuration leads to ntpd
complaining that it can't create a IPv6 socket for eth0.  To work
around that, we let ntpd listen only on IPv4.

Bug: 60166
Change-Id: Ia88671965bb447bf306e97685ae35472cae721a9
---
M modules/ntp/templates/ntp-server.erb
1 file changed, 8 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/01/118301/1

diff --git a/modules/ntp/templates/ntp-server.erb 
b/modules/ntp/templates/ntp-server.erb
index 3df250c..ba6bc56 100644
--- a/modules/ntp/templates/ntp-server.erb
+++ b/modules/ntp/templates/ntp-server.erb
@@ -62,3 +62,11 @@
 # next lines.  Please do this only if you trust everybody on the network!
 #disable auth
 #broadcastclient
+<% if @realm == "labs" then -%>
+
+# On Labs the default "interface" configuration leads to ntpd
+# complaining that it can't create a IPv6 socket for eth0
+# (cf. https://bugzilla.wikimedia.org/60166).  To work around that, we
+# let ntpd listen only on IPv4.
+interface listen ipv4
+<% end -%>

-- 
To view, visit https://gerrit.wikimedia.org/r/118301
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia88671965bb447bf306e97685ae35472cae721a9
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Tim Landscheidt <t...@tim-landscheidt.de>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to