[26143] in Source-Commits
Re: /svn/athena r25418 - trunk/debathena/config/reactivate/debian
daemon@ATHENA.MIT.EDU (Jonathan Reed)
Sun Oct 16 23:45:05 2011
In-Reply-To: <201110170311.p9H3Bcpb024787@drugstore.mit.edu>
Mime-Version: 1.0 (iPad Mail 8H7)
Content-Type: text/plain;
charset=us-ascii
Message-Id: <ADCD67B3-E54D-4197-BD51-DA3CBE99AE31@mit.edu>
Cc: "source-commits@mit.edu" <source-commits@mit.edu>
From: Jonathan Reed <jdreed@MIT.EDU>
Date: Sun, 16 Oct 2011 23:47:30 -0400
To: Benjamin Kaduk <kaduk@mit.edu>
Content-Transfer-Encoding: 8bit
Don't we no longer expose the log via athinfo?
Sent from my mobile device
On Oct 16, 2011, at 11:11 PM, Benjamin Kaduk <kaduk@MIT.EDU> wrote:
> 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
>