[25573] in Source-Commits
Re: /svn/athena r25091 - trunk/debathena/config/gdm-config/debian
daemon@ATHENA.MIT.EDU (Jonathan Reed)
Tue Apr 19 13:13:01 2011
Mime-Version: 1.0 (Apple Message framework v1084)
Content-Type: text/plain; charset=us-ascii
From: Jonathan Reed <jdreed@MIT.EDU>
In-Reply-To: <alpine.DEB.2.00.1104191248550.18674@lunatique.mit.edu>
Date: Tue, 19 Apr 2011 13:12:54 -0400
Cc: source-commits@mit.edu
Message-Id: <57333875-7443-47E7-A7DB-08E043D8772C@mit.edu>
To: Geoffrey Thomas <geofft@mit.edu>
Content-Transfer-Encoding: 8bit
On Apr 19, 2011, at 12:58 PM, Geoffrey Thomas wrote:
> You should do lt-nl instead of lt, since lt considers the empty string to be version -infinity, and therefore this will trigger a reboot even if the package has never been installed before.
I fixed this, but note that "trigger a reboot" is an overstatement. All it will do is touch /var/run/reboot-required. Our auto-updater will force a reboot if nobody is logged in, but otherwise all that file will do is change the color of the power indicator applet in the panel. It will not even highly encourage a reboot on logout, because although it will tell you to restart, the default button in the dialog is still "Log Out" if you just hit enter.
> I'd also prefer if you can find a way to do this in a way that only affects cluster machines, e.g.,
All machines which had gdm-config installed are affected, because the previous nologin-monitor ran on all metapackages, and initscripts now thinks it owns /etc/nologin. The new nologin-monitor will only monitor our update file and only on cluster anyway.
Additionally, see above about not actually forcing a reboot in most cases.
-Jon