[24363] in Source-Commits

home help back first fref pref prev next nref lref last post

/svn/athena r23961 - trunk/debathena/config/cluster-login-config/debian

daemon@ATHENA.MIT.EDU (Evan Broder)
Sun Aug 9 22:51:46 2009

Date: Sun, 9 Aug 2009 22:51:35 -0400
From: Evan Broder <broder@MIT.EDU>
Message-Id: <200908100251.n7A2pZ7r001725@drugstore.mit.edu>
To: source-commits@mit.edu
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Author: broder
Date: 2009-08-09 22:51:35 -0400 (Sun, 09 Aug 2009)
New Revision: 23961

Modified:
   trunk/debathena/config/cluster-login-config/debian/changelog
   trunk/debathena/config/cluster-login-config/debian/control.in
   trunk/debathena/config/cluster-login-config/debian/debathena-cluster-login-config.postinst
Log:
In cluster-login-config:
  * Make sure DNS servers are listed in /etc/network/interfaces to fix a
    race condition between ntp and bind. (Trac: #332)


Modified: trunk/debathena/config/cluster-login-config/debian/changelog
===================================================================
--- trunk/debathena/config/cluster-login-config/debian/changelog	2009-08-09 23:28:12 UTC (rev 23960)
+++ trunk/debathena/config/cluster-login-config/debian/changelog	2009-08-10 02:51:35 UTC (rev 23961)
@@ -1,3 +1,10 @@
+debathena-cluster-login-config (1.15) unstable; urgency=low
+
+  * Make sure DNS servers are listed in /etc/network/interfaces to fix a
+    race condition between ntp and bind. (Trac: #332)
+
+ -- Evan Broder <broder@mit.edu>  Sun, 09 Aug 2009 19:36:52 -0700
+
 debathena-cluster-login-config (1.14) unstable; urgency=low
 
   * Use a persistantly running daemon to keep the ttys open instead of a

Modified: trunk/debathena/config/cluster-login-config/debian/control.in
===================================================================
--- trunk/debathena/config/cluster-login-config/debian/control.in	2009-08-09 23:28:12 UTC (rev 23960)
+++ trunk/debathena/config/cluster-login-config/debian/control.in	2009-08-10 02:51:35 UTC (rev 23961)
@@ -7,7 +7,7 @@
 
 Package: debathena-cluster-login-config
 Architecture: all
-Depends: debathena-machtype, debathena-afs-config, debathena-gdm-config, debathena-kiosk, gconf2, gnome-screensaver, kexec-tools
+Depends: debathena-machtype, debathena-afs-config, debathena-gdm-config, debathena-kiosk, gconf2, gnome-screensaver, kexec-tools, update-notifier-common
 Provides: ${diverted-files}
 Conflicts: ${diverted-files}
 Description: Login configuration for Athena cluster machines

Modified: trunk/debathena/config/cluster-login-config/debian/debathena-cluster-login-config.postinst
===================================================================
--- trunk/debathena/config/cluster-login-config/debian/debathena-cluster-login-config.postinst	2009-08-09 23:28:12 UTC (rev 23960)
+++ trunk/debathena/config/cluster-login-config/debian/debathena-cluster-login-config.postinst	2009-08-10 02:51:35 UTC (rev 23961)
@@ -37,6 +37,12 @@
         done
 	initctl start ttymsg >/dev/null 2>&1 || true
 
+	# Configure dns-nameservers if they're not there
+	if ! egrep -q '^[[:space:]]+dns-nameservers' /etc/network/interfaces; then
+	    echo '  dns-nameservers 18.70.0.160 18.71.0.151 18.72.0.3' >>/etc/network/interfaces
+	    /usr/share/update-notifier/notify-reboot-required
+	fi
+
 	# Attempt to initially set the root password.
 	/usr/sbin/athena-root-password
 


home help back first fref pref prev next nref lref last post