[26142] in Source-Commits
/svn/athena r25418 - trunk/debathena/config/reactivate/debian
daemon@ATHENA.MIT.EDU (Benjamin Kaduk)
Sun Oct 16 23:11:45 2011
Date: Sun, 16 Oct 2011 23:11:38 -0400
From: Benjamin Kaduk <kaduk@MIT.EDU>
Message-Id: <201110170311.p9H3Bcpb024787@drugstore.mit.edu>
To: source-commits@mit.edu
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Author: kaduk
Date: 2011-10-16 23:11:38 -0400 (Sun, 16 Oct 2011)
New Revision: 25418
Modified:
trunk/debathena/config/reactivate/debian/changelog
trunk/debathena/config/reactivate/debian/reactivate
Log:
In reactivate:
* Leave a reason for why we're rebooting in the athena-reactivate log.
Modified: trunk/debathena/config/reactivate/debian/changelog
===================================================================
--- trunk/debathena/config/reactivate/debian/changelog 2011-10-15 01:36:11 UTC (rev 25417)
+++ trunk/debathena/config/reactivate/debian/changelog 2011-10-17 03:11:38 UTC (rev 25418)
@@ -1,3 +1,9 @@
+debathena-reactivate (2.0.27) unstable; urgency=low
+
+ * Leave a reason for why we're rebooting in the athena-reactivate log.
+
+ -- Benjamin Kaduk <kaduk@mit.edu> Sun, 16 Ocg 2011 23:10:32 -0400
+
debathena-reactivate (2.0.26) unstable; urgency=low
* Run D-Bus-spawned services inside the schroot session, if any.
Modified: trunk/debathena/config/reactivate/debian/reactivate
===================================================================
--- trunk/debathena/config/reactivate/debian/reactivate 2011-10-15 01:36:11 UTC (rev 25417)
+++ trunk/debathena/config/reactivate/debian/reactivate 2011-10-17 03:11:38 UTC (rev 25418)
@@ -22,11 +22,13 @@
for i in /var/lib/schroot/mount/*; do
if mountpoint -q "$i"; then
touch /var/run/reboot-required
+ echo "rebooting due to active mountpoint $i"
break
fi
done
if [ -n "$USER" -a "$USER" != root ]; then
if pgrep -u "$USER"; then
+ echo "rebooting due to live user processes"
touch /var/run/reboot-required
fi
fi