[24001] in Source-Commits
/svn/athena r23610 - trunk/debathena/config/cluster-login-config/debian
daemon@ATHENA.MIT.EDU (Evan Broder)
Fri Mar 13 18:43:13 2009
X-Barracuda-Envelope-From: broder@mit.edu
Date: Fri, 13 Mar 2009 18:43:03 -0400
From: Evan Broder <broder@MIT.EDU>
Message-Id: <200903132243.n2DMh3mv026776@drugstore.mit.edu>
To: source-commits@mit.edu
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Author: broder
Date: 2009-03-13 18:43:03 -0400 (Fri, 13 Mar 2009)
New Revision: 23610
Added:
trunk/debathena/config/cluster-login-config/debian/transform_kexec.debathena
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/rules
Log:
In cluster-login-config:
* Install and configure kexec-tools to work around Jira ATN-52.
Modified: trunk/debathena/config/cluster-login-config/debian/changelog
===================================================================
--- trunk/debathena/config/cluster-login-config/debian/changelog 2009-03-13 00:53:41 UTC (rev 23609)
+++ trunk/debathena/config/cluster-login-config/debian/changelog 2009-03-13 22:43:03 UTC (rev 23610)
@@ -1,3 +1,9 @@
+debathena-cluster-login-config (1.9) unstable; urgency=low
+
+ * Install and configure kexec-tools to work around Jira ATN-52.
+
+ -- Evan Broder <broder@mit.edu> Fri, 13 Mar 2009 17:49:41 -0400
+
debathena-cluster-login-config (1.8) unstable; urgency=low
* Unset /desktop/gnome/lockdown/disable_user_switching, so that
Modified: trunk/debathena/config/cluster-login-config/debian/control.in
===================================================================
--- trunk/debathena/config/cluster-login-config/debian/control.in 2009-03-13 00:53:41 UTC (rev 23609)
+++ trunk/debathena/config/cluster-login-config/debian/control.in 2009-03-13 22:43:03 UTC (rev 23610)
@@ -2,17 +2,18 @@
Section: debathena-config/net
Priority: extra
Maintainer: Debathena Project <debathena@mit.edu>
-Build-Depends: @cdbs@, system-services, debathena-gdm-config
+Build-Depends: @cdbs@, system-services, debathena-gdm-config, kexec-tools
Standards-Version: 3.7.2
Package: debathena-cluster-login-config
Architecture: all
-Depends: debathena-machtype, debathena-afs-config, debathena-gdm-config, gconf2, gnome-screensaver
+Depends: debathena-machtype, debathena-afs-config, debathena-gdm-config, gconf2, gnome-screensaver, kexec-tools
Provides: ${diverted-files}
Conflicts: ${diverted-files}
Description: Login configuration for Athena cluster machines
This package sets up a login policy for Athena cluster machines by
disabling console logins, disabling sshd, disabling user switching,
disabling the halt/reboot/suspend commands in gdm and at logout,
- setting the root password, and configuring the screensaver to allow
- logouts afer a certain time period.
+ setting the root password, configuring the screensaver to allow
+ logouts afer a certain time period, and enabling kexec-tools for
+ faster reboots.
Modified: trunk/debathena/config/cluster-login-config/debian/rules
===================================================================
--- trunk/debathena/config/cluster-login-config/debian/rules 2009-03-13 00:53:41 UTC (rev 23609)
+++ trunk/debathena/config/cluster-login-config/debian/rules 2009-03-13 22:43:03 UTC (rev 23610)
@@ -7,7 +7,8 @@
GDM_CONFFILE = /etc/gdm/gdm.conf.debathena.debathena
endif
DEB_TRANSFORM_FILES_debathena-cluster-login-config += \
- ${GDM_CONFFILE}
+ ${GDM_CONFFILE} \
+ /etc/default/kexec.debathena
DEB_REMOVE_FILES_debathena-cluster-login-config += \
/etc/event.d/tty1 \
Added: trunk/debathena/config/cluster-login-config/debian/transform_kexec.debathena
===================================================================
--- trunk/debathena/config/cluster-login-config/debian/transform_kexec.debathena 2009-03-13 00:53:41 UTC (rev 23609)
+++ trunk/debathena/config/cluster-login-config/debian/transform_kexec.debathena 2009-03-13 22:43:03 UTC (rev 23610)
@@ -0,0 +1,7 @@
+#!/usr/bin/perl -0p
+my $kexec_version = `dpkg-query -W -f '\${Version}' kexec-tools`;
+# In 20080324-1, LOAD_KEXEC was changed from being 0/1 to being
+# false/true
+system("dpkg", "--compare-versions", "$kexec_version", "lt", "20080324-1");
+my $set_to = $? ? "true" : "1";
+s/^(LOAD_KEXEC=).*$/$1$set_to/m or die;
Property changes on: trunk/debathena/config/cluster-login-config/debian/transform_kexec.debathena
___________________________________________________________________
Name: svn:executable
+ *