[25633] in Source-Commits
Re: /svn/athena r25137 - trunk/debathena/config/athinfod-cluster-config/debian
daemon@ATHENA.MIT.EDU (Jonathan Reed)
Tue Jun 14 21:35:08 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.GSO.1.10.1106142109040.6818@multics.mit.edu>
Date: Tue, 14 Jun 2011 21:35:00 -0400
Cc: source-commits@MIT.EDU
Message-Id: <2EFFCB50-2E2F-4D62-B0F1-AC875C3F86F0@MIT.EDU>
To: Benjamin Kaduk <kaduk@MIT.EDU>
Content-Transfer-Encoding: 8bit
Noted. The omission of "-v" means that if a user sufficiently borks their debathena-workstation machine such that debathena-cluster is half-installed or something, it will show up in "machtype -vL" but not "machtype -L". If they have _also_ installed debathena-larvnet, then the in-use query will execute on their machine. I believe we decided that if you break your machine that badly, you lose the ability to prevent the world from knowing whether or not you're logged in on console. (Also, you're probably running fingerd anyway.)
Note that the above scenario will become even less likely once we finish moving the equivs packages to real packages, when we can ship flag files that the packages install and stop relying on dpkg-query hacks in machtype.
-Jon
On Jun 14, 2011, at 9:13 PM, Benjamin Kaduk wrote:
> ACK r25132 and this.
> (I seem to recall we discussed the lack of the '-v' argument to machtype for the "in-use" query previously, and decided we didn't really care.)
>
> -Ben
>
> On Tue, 14 Jun 2011, Jonathan D Reed wrote:
>
>> Author: jdreed
>> Date: 2011-06-14 16:33:26 -0400 (Tue, 14 Jun 2011)
>> New Revision: 25137
>>
>> Modified:
>> trunk/debathena/config/athinfod-cluster-config/debian/changelog
>> trunk/debathena/config/athinfod-cluster-config/debian/transform_athinfo.defs.debathena
>> Log:
>> In athinfod-cluster-config:
>> * Read the correct files in update-schedule (Trac #910)
>> * Remove 'test -r' (Trac #909)
>>
>>
>> Modified: trunk/debathena/config/athinfod-cluster-config/debian/changelog
>> ===================================================================
>> --- trunk/debathena/config/athinfod-cluster-config/debian/changelog 2011-06-14 20:07:16 UTC (rev 25136)
>> +++ trunk/debathena/config/athinfod-cluster-config/debian/changelog 2011-06-14 20:33:26 UTC (rev 25137)
>> @@ -3,8 +3,10 @@
>> * Add support for dmesg and /var/log/messages (Trac #879)
>> * Use new cluster test and depend on relevant athinfod version (Trac
>> #906)
>> + * Read the correct files in update-schedule (Trac #910)
>> + * Remove 'test -r' (Trac #909)
>>
>> - -- Jonathan Reed <jdreed@mit.edu> Mon, 13 Jun 2011 15:23:32 -0400
>> + -- Jonathan Reed <jdreed@mit.edu> Tue, 14 Jun 2011 16:31:08 -0400
>>
>> debathena-athinfod-cluster-config (1.1) unstable; urgency=low
>>
>>
>> Modified: trunk/debathena/config/athinfod-cluster-config/debian/transform_athinfo.defs.debathena
>> ===================================================================
>> --- trunk/debathena/config/athinfod-cluster-config/debian/transform_athinfo.defs.debathena 2011-06-14 20:07:16 UTC (rev 25136)
>> +++ trunk/debathena/config/athinfod-cluster-config/debian/transform_athinfo.defs.debathena 2011-06-14 20:33:26 UTC (rev 25137)
>> @@ -4,11 +4,11 @@
>> print <<EOF;
>>
>> # Added by debathena-athinfod-cluster-config
>> -update.log /usr/lib/athinfod/is_cluster && test -r /var/log/athena-update && cat /var/log/athena-update
>> -update-status /usr/lib/athinfod/is_cluster && test -r /var/lib/athena-update-status && cat /var/lib/athena-update-status
>> -in-use machtype -L | grep -q "debathena-cluster" && (test `pgrep -c larvnet-wrapper` -gt 0 && echo "yes" || echo "no") || echo "n/a"
>> -update-schedule /usr/lib/athinfod/is_cluster && test -r /etc/cron.d/debathena-auto-update && cat /etc/cron.d/debathena-auto-update
>> -install.log /usr/lib/athinfod/is_cluster && test -r /var/log/athena-install.log && cat /var/log/athena-install.log
>> +update.log /usr/lib/athinfod/is_cluster && cat /var/log/athena-update
>> +update-status /usr/lib/athinfod/is_cluster && cat /var/lib/athena-update-status
>> +in-use /usr/lib/athinfod/is_cluster && (test `pgrep -c larvnet-wrapper` -gt 0 && echo "yes" || echo "no") || echo "n/a"
>> +update-schedule /usr/lib/athinfod/is_cluster && cat /etc/cron.d/athena-auto-update /etc/cron.d/athena-auto-upgrade
>> +install.log /usr/lib/athinfod/is_cluster && cat /var/log/athena-install.log
>> usb-hid /usr/share/debathena-athinfod-cluster-config/usb-hid.py
>> lsusb /usr/lib/athinfod/is_cluster && lsusb
>> dmesg /usr/lib/athinfod/is_cluster && dmesg
>>
>>