Home Messages Index
[Date Prev][Date Next][Thread Prev][Thread Next]
Author IndexDate IndexThread Index

Re: COLA Stats: Saturday the 9th of June, 2007.

__/ [ William Poaster ] on Saturday 09 June 2007 15:46 \__

> It was on, or about,  Sat, 09 Jun 2007 15:17:01 +0100, that as I was
> halfway through a large jam doughnut, [H]omer wrote:
> 
>> Verily I say unto thee, that Linonut spake thusly:
>> 
>>> If you're going to filter the trolls
>> 
>> The absence of the Trolls' stats is an error.
>> 
>> I recently upgraded the server (sky) that hosts the leafnode spool, and
>> it turns out that Fedora 7 uses a new default setting in an essential
>> file.
>> 
>> My leafnode server usually filters all the Trolls, but for the stats I
>> have a helper script which re-fetches those Troll posts from the past
>> week, using a less aggressive filter:
>> 
>> ###### part of cola-stats
>> rm -f /etc/leafnode/config
>> cp /etc/leafnode/config.stats /etc/leafnode/config sudo -u news rsync
>> --delete -aHz /var/spool/news/ /shared/news/ sudo -u news
>> /usr/sbin/fetchnews -q -w -x 6000 ######
>> 
>> 6000 is just an arbitrarily large number to ensure sufficient coverage
>> (it's rsync'ed back to it's previous state after the stats have been
>> compiled).
>> 
>> I just logged in to the server and read the local root mail:
>> 
>> ######
>> From: root@sky (Cron Daemon)
>> Subject: Cron <root@sky> /usr/local/bin/cola-stats Date: Sat,  9 Jun
>> 2007 07:30:03 +0100 (BST)
>> 
>> sudo: sorry, you must have a tty to run sudo ######
>> 
>> The new default setting in /etc/sudoers is the following:
>> 
>> ######
>> Defaults    requiretty
>> ######
>> 
>> I've commented that out, and the script should work again.
>> 
>>> you should still be nice to them and provide a "Toplist of Trolls".
>> 
>> Bah! Just allowing them to appear at *all* is more of a concession than
>> I'm happy with, I'm not going to waste any *more* time and effort on
>> them.
> 
> I was going to suggest putting them under a separate header...

They are already put there. The header says "#COLA twit list". Order is
arbitrary.
 
-- 
                ~~ Enjoying summertime

Roy S. Schestowitz      |    #ff0000 Hot Chilli Peppers
http://Schestowitz.com  |    RHAT Linux     |     PGP-Key: 0x74572E8E
  7:20pm  up 42 days  3:42,  10 users,  load average: 0.15, 0.37, 0.49
      http://iuron.com - Open Source knowledge engine project

[Date Prev][Date Next][Thread Prev][Thread Next]
Author IndexDate IndexThread Index