[23511] in Source-Commits
/svn/athena r23155 - in trunk/debathena/config/reactivate/debian: . PostSession PreSession
daemon@ATHENA.MIT.EDU (ghudson@MIT.EDU)
Fri Aug 22 17:02:40 2008
Date: Fri, 22 Aug 2008 17:02:08 -0400 (EDT)
From: ghudson@MIT.EDU
Message-Id: <200808222102.RAA18055@drugstore.mit.edu>
To: source-commits@MIT.EDU
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Author: ghudson
Date: 2008-08-22 17:02:06 -0400 (Fri, 22 Aug 2008)
New Revision: 23155
Added:
trunk/debathena/config/reactivate/debian/PostSession/
trunk/debathena/config/reactivate/debian/PostSession/Default.debathena
trunk/debathena/config/reactivate/debian/PreSession/
trunk/debathena/config/reactivate/debian/PreSession/Default.debathena
trunk/debathena/config/reactivate/debian/Xsession.debathena
trunk/debathena/config/reactivate/debian/athena-login-snapshot
Removed:
trunk/debathena/config/reactivate/debian/Default.debathena
Modified:
trunk/debathena/config/reactivate/debian/changelog
trunk/debathena/config/reactivate/debian/control
trunk/debathena/config/reactivate/debian/control.in
trunk/debathena/config/reactivate/debian/debathena-reactivate.install
trunk/debathena/config/reactivate/debian/rules
Log:
In reactivate:
* Rewrite to use login chroots.
Deleted: trunk/debathena/config/reactivate/debian/Default.debathena
Copied: trunk/debathena/config/reactivate/debian/PostSession/Default.debathena (from rev 23143, trunk/debathena/config/reactivate/debian/Default.debathena)
Added: trunk/debathena/config/reactivate/debian/PreSession/Default.debathena
Property changes on: trunk/debathena/config/reactivate/debian/PreSession/Default.debathena
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/debathena/config/reactivate/debian/Xsession.debathena
Property changes on: trunk/debathena/config/reactivate/debian/Xsession.debathena
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/debathena/config/reactivate/debian/athena-login-snapshot
Property changes on: trunk/debathena/config/reactivate/debian/athena-login-snapshot
___________________________________________________________________
Name: svn:executable
+ *
Modified: trunk/debathena/config/reactivate/debian/changelog
===================================================================
--- trunk/debathena/config/reactivate/debian/changelog 2008-08-21 21:38:00 UTC (rev 23154)
+++ trunk/debathena/config/reactivate/debian/changelog 2008-08-22 21:02:06 UTC (rev 23155)
@@ -1,3 +1,9 @@
+debathena-reactivate (1.2) unstable; urgency=low
+
+ * Rewrite to use login chroots.
+
+ -- Greg Hudson <ghudson@mit.edu> Fri, 22 Aug 2008 15:30:57 -0400
+
debathena-reactivate (1.1) unstable; urgency=low
* Initial release.
Modified: trunk/debathena/config/reactivate/debian/control
===================================================================
--- trunk/debathena/config/reactivate/debian/control 2008-08-21 21:38:00 UTC (rev 23154)
+++ trunk/debathena/config/reactivate/debian/control 2008-08-22 21:02:06 UTC (rev 23155)
@@ -7,8 +7,16 @@
Package: debathena-reactivate
Architecture: all
-Depends: ${misc:Depends}
+Depends: schroot, lvm2, psmisc, gdm, ${misc:Depends}
Provides: ${diverted-files}
Conflicts: ${diverted-files}
-Description: Performs post-logout tasks for Athena cluster machines
- This package runs tasks after logout for Athena cluster machines.
+Description: Causes gdm logins to run in an ephemeral snapshot of the root
+ This package causes each gdm login to run in a temporary copy of the
+ root, so that any system modifications performed within the chroot
+ are erased after logout.
+ .
+ This package is very much tailored to Athena cluster machines. To
+ use it, the machine MUST be installed so that the root partition is a
+ logical volume inside a volume group with at least 21GB of free
+ space. This script will, in certain exceptional conditions, reboot
+ the machine in order to be able to unmount the login snapshot.
Modified: trunk/debathena/config/reactivate/debian/control.in
===================================================================
--- trunk/debathena/config/reactivate/debian/control.in 2008-08-21 21:38:00 UTC (rev 23154)
+++ trunk/debathena/config/reactivate/debian/control.in 2008-08-22 21:02:06 UTC (rev 23155)
@@ -7,8 +7,16 @@
Package: debathena-reactivate
Architecture: all
-Depends: ${misc:Depends}
+Depends: schroot, lvm2, psmisc, gdm, ${misc:Depends}
Provides: ${diverted-files}
Conflicts: ${diverted-files}
-Description: Performs post-logout tasks for Athena cluster machines
- This package runs tasks after logout for Athena cluster machines.
+Description: Causes gdm logins to run in an ephemeral snapshot of the root
+ This package causes each gdm login to run in a temporary copy of the
+ root, so that any system modifications performed within the chroot
+ are erased after logout.
+ .
+ This package is very much tailored to Athena cluster machines. To
+ use it, the machine MUST be installed so that the root partition is a
+ logical volume inside a volume group with at least 21GB of free
+ space. This script will, in certain exceptional conditions, reboot
+ the machine in order to be able to unmount the login snapshot.
Modified: trunk/debathena/config/reactivate/debian/debathena-reactivate.install
===================================================================
--- trunk/debathena/config/reactivate/debian/debathena-reactivate.install 2008-08-21 21:38:00 UTC (rev 23154)
+++ trunk/debathena/config/reactivate/debian/debathena-reactivate.install 2008-08-22 21:02:06 UTC (rev 23155)
@@ -1,2 +1,4 @@
-debian/athena-reactivate usr/sbin
-debian/Default.debathena etc/gdm/PostSession
+debian/athena-login-snapshot usr/sbin
+debian/Xsession.debathena etc/gdm
+debian/PreSession/Default.debathena etc/gdm/PreSession
+debian/PostSession/Default.debathena etc/gdm/PostSession
Modified: trunk/debathena/config/reactivate/debian/rules
===================================================================
--- trunk/debathena/config/reactivate/debian/rules 2008-08-21 21:38:00 UTC (rev 23154)
+++ trunk/debathena/config/reactivate/debian/rules 2008-08-22 21:02:06 UTC (rev 23155)
@@ -3,6 +3,8 @@
DEB_AUTO_UPDATE_DEBIAN_CONTROL = 1
DEB_DIVERT_EXTENSION = .debathena
DEB_DIVERT_FILES_debathena-reactivate += \
+ /etc/gdm/Xsession.debathena \
+ /etc/gdm/PreSession/Default.debathena \
/etc/gdm/PostSession/Default.debathena
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/rules/config-package.mk