[23915] in Source-Commits
/svn/athena r23525 - in trunk/debathena/config: cluster-login-config/debian reactivate/debian
daemon@ATHENA.MIT.EDU (Evan Broder)
Wed Mar 4 22:16:00 2009
Date: Wed, 4 Mar 2009 22:14:56 -0500
From: Evan Broder <broder@MIT.EDU>
Message-Id: <200903050314.n253EuGI011707@drugstore.mit.edu>
To: source-commits@mit.edu
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Author: broder
Date: 2009-03-04 22:14:55 -0500 (Wed, 04 Mar 2009)
New Revision: 23525
Modified:
trunk/debathena/config/cluster-login-config/debian/changelog
trunk/debathena/config/cluster-login-config/debian/debathena-cluster-login-config.postinst
trunk/debathena/config/reactivate/debian/Xsession.debathena
trunk/debathena/config/reactivate/debian/changelog
Log:
In cluster-login-config:
* Allow users to sudo to anyone, primarily so they can sudo to
themselves for debathena-reactivate.
In reactivate:
* Work around an schroot bug that causes you to get dropped from all of
your groups.
Modified: trunk/debathena/config/cluster-login-config/debian/changelog
===================================================================
--- trunk/debathena/config/cluster-login-config/debian/changelog 2009-03-04 21:51:31 UTC (rev 23524)
+++ trunk/debathena/config/cluster-login-config/debian/changelog 2009-03-05 03:14:55 UTC (rev 23525)
@@ -1,3 +1,10 @@
+debathena-cluster-login-config (1.7) unstable; urgency=low
+
+ * Allow users to sudo to anyone, primarily so they can sudo to
+ themselves for debathena-reactivate.
+
+ -- Evan Broder <broder@mit.edu> Wed, 04 Mar 2009 22:08:40 -0500
+
debathena-cluster-login-config (1.6) unstable; urgency=low
* Fix a typo in gconftool-2's --config-source option.
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-03-04 21:51:31 UTC (rev 23524)
+++ trunk/debathena/config/cluster-login-config/debian/debathena-cluster-login-config.postinst 2009-03-05 03:14:55 UTC (rev 23525)
@@ -63,7 +63,7 @@
cat >>/etc/sudoers <<EOF
### BEGIN debathena-cluster-login-config
-%admin ALL=(root) ALL
+%admin ALL=(ALL) ALL
### END debathena-cluster-login-config
EOF
Modified: trunk/debathena/config/reactivate/debian/Xsession.debathena
===================================================================
--- trunk/debathena/config/reactivate/debian/Xsession.debathena 2009-03-04 21:51:31 UTC (rev 23524)
+++ trunk/debathena/config/reactivate/debian/Xsession.debathena 2009-03-05 03:14:55 UTC (rev 23525)
@@ -1,4 +1,7 @@
#!/bin/sh
-#!/bin/bash
-exec schroot -c login -p /etc/gdm/Xsession.debathena-orig "$@"
+# We wrap the Xsession in sudo because it runs initgroups(3) /after/
+# being chrooted, which puts users back in the groups we added them to
+# in athena-login-snapshot
+
+exec schroot -c login -p -- sudo -E -u "$USER" -- /etc/gdm/Xsession.debathena-orig "$@"
Modified: trunk/debathena/config/reactivate/debian/changelog
===================================================================
--- trunk/debathena/config/reactivate/debian/changelog 2009-03-04 21:51:31 UTC (rev 23524)
+++ trunk/debathena/config/reactivate/debian/changelog 2009-03-05 03:14:55 UTC (rev 23525)
@@ -1,3 +1,10 @@
+debathena-reactivate (1.11) unstable; urgency=low
+
+ * Work around an schroot bug that causes you to get dropped from all of
+ your groups.
+
+ -- Evan Broder <broder@mit.edu> Wed, 04 Mar 2009 22:01:39 -0500
+
debathena-reactivate (1.10) unstable; urgency=low
* Ignore failure to umount /media.