Thread View: news.software.readers
11 messages
11 total messages
Started by andrew
Fri, 25 Jan 2008 03:46
[Leafnode] & [slrn] page: Comments?
Author: andrew
Date: Fri, 25 Jan 2008 03:46
Date: Fri, 25 Jan 2008 03:46
21 lines
1763 bytes
1763 bytes
Hi,
I am aware of the arrogance of writing up software that I have used
for less than a week but I have published an Ubuntu 'Howto' for
installing Leafnode-2 to work with slrn:
http://ubuntuforums.org/showthread.php?t=676837
My decision to write this up /now/ rather than when I had gained a
little more experience with Leafnode was that I wished to commit the
information on /installing/ while it was still fresh in my mind.
So could I have any comments, criticisms and most importantly
corrections from some Leafnode users?
Thanks for your trouble,
Andrew
--
http://www.andrews-corner.org
Re: [Leafnode] & [slrn] page: Comments?
Author: Peter J Ross
Date: Fri, 25 Jan 2008 11:03
Date: Fri, 25 Jan 2008 11:03
40 lines
2756 bytes
2756 bytes
In news.software.readers on Fri, 25 Jan 2008 14:46:31 +1100, andrew <andrew@ilium.invalid> wrote: > Hi, > > I am aware of the arrogance of writing up software that I have used > for less than a week but I have published an Ubuntu 'Howto' for > installing Leafnode-2 to work with slrn: > > http://ubuntuforums.org/showthread.php?t=676837 > > My decision to write this up /now/ rather than when I had gained a > little more experience with Leafnode was that I wished to commit the > information on /installing/ while it was still fresh in my mind. > > So could I have any comments, criticisms and most importantly > corrections from some Leafnode users? A few thoughts: 1. Why not install to /usr/local/ ? Apart from the usual considerations, it would help newbies who go on to read the documentation if as few defaults as possible were changed. 2. Why specify slrn? Leafnode works with any newsreader, and can compensate for some of their weaknesses. 3. Why use verbose options when running fetchnews and texpire from cron? 4. Why are your logs globally writable? And why not configure logging with /etc/syslog.conf (and /etc/logrotate.conf)? 5. An hour is a long time to wait between fetchnews runs. I suggest at least running fetchnews with the -P option more often. Apart from these small points, the page seems very clear and useful. -- PJR :-)
Re: [Leafnode] & [slrn] page: Comments?
Author: Mike Yetto
Date: Fri, 25 Jan 2008 13:10
Date: Fri, 25 Jan 2008 13:10
28 lines
2501 bytes
2501 bytes
Bada bing andrew <andrew@ilium.invalid> bada bang: > Hi, > > I am aware of the arrogance of writing up software that I have used > for less than a week but I have published an Ubuntu 'Howto' for > installing Leafnode-2 to work with slrn: > > http://ubuntuforums.org/showthread.php?t=676837 > > My decision to write this up /now/ rather than when I had gained a > little more experience with Leafnode was that I wished to commit the > information on /installing/ while it was still fresh in my mind. > > So could I have any comments, criticisms and most importantly > corrections from some Leafnode users? > > Thanks for your trouble, > My first thought: if it doesn't work perfectly I'll have even _more_ tweaking to do. So it seems I've been roped into watching your next story arc. Mike "what writer's strike?" Yetto -- Pluralitas non est ponenda sine necessitas. - William of Ockham
Re: [Leafnode] & [slrn] page: Comments?
Author: andrew
Date: Fri, 25 Jan 2008 23:34
Date: Fri, 25 Jan 2008 23:34
31 lines
2220 bytes
2220 bytes
On 2008-01-25, Mike Yetto <myetto1@nycap.invalid> wrote:
> Bada bing andrew <andrew@ilium.invalid> bada bang:
>> I am aware of the arrogance of writing up software that I have used
>> for less than a week but I have published an Ubuntu 'Howto' for
>> installing Leafnode-2 to work with slrn:
>>
>> http://ubuntuforums.org/showthread.php?t=676837
[...]
> My first thought: if it doesn't work perfectly I'll have even
> _more_ tweaking to do.
Unfortunately I think Leafnode is another invitation to a few sessions
of all-night tweaking, particularly if you decide to start filtering
with it. For myself I have vowed to set and forget, but I have
back-slid on this sort of thing before.
Installation /should/ be right, I have installed it several times
following these instructions on my Ubuntu partition, using a fairly
fresh installation.
The repository version is fairly alarming: a script sets up
/everything/ ready to go. Some clever people out there in Debian land.
Andrew
--
http://www.andrews-corner.org
Re: [Leafnode] & [slrn] page: Comments?
Author: andrew
Date: Sat, 26 Jan 2008 00:05
Date: Sat, 26 Jan 2008 00:05
68 lines
3848 bytes
3848 bytes
On 2008-01-25, Peter J Ross <pjr@example.invalid> wrote: > In news.software.readers on Fri, 25 Jan 2008 14:46:31 +1100, andrew ><andrew@ilium.invalid> wrote: >> I am aware of the arrogance of writing up software that I have used >> for less than a week but I have published an Ubuntu 'Howto' for >> installing Leafnode-2 to work with slrn: >> >> http://ubuntuforums.org/showthread.php?t=676837 Thanks again PJR for your careful analysis which I have saved offline to work through. I have a sense of déjà vu here, it was not so long ago that you were giving me some comments on my first slrn page :-) > A few thoughts: > > 1. Why not install to /usr/local/ ? Apart from the usual > considerations, it would help newbies who go on to read the > documentation if as few defaults as possible were changed. Oops! This is a slight residual effect from the slackbuild script I also wrote and submitted to slackbuilds.org. For this /usr/local/ is considered bad™. Incidentally a slackbuild script would have to be the control freaks fantasy. My script is temporarily here if you are interested: http://www.andrews-corner.org/leafnode.SlackBuild With any luck it will be accepted. But I will change the Ubuntu version to /usr/local/ as you suggest. > 2. Why specify slrn? Leafnode works with any newsreader, and can > compensate for some of their weaknesses. I suspect I will include a note this effect but the slrn reference was in self-protection. I have published a few guides on the forums and I believe it means I have to /support/ the guides and I am not prepared to troubleshoot Leafnode + other newsreaders. But a carefully worded note to this effect would not be out of place. > 3. Why use verbose options when running fetchnews and texpire from > cron? Simply to supply more information in the logs. Runnng without verbose simply tells you 'it ran'. > 4. Why are your logs globally writable? And why not configure logging > with /etc/syslog.conf (and /etc/logrotate.conf)? This definitely needs addressing. I almost feel that I should direct the output to /dev/null rather than generating yet another log but this needs a little thought. Permissions are wrong though and I will correct this. > 5. An hour is a long time to wait between fetchnews runs. I suggest at > least running fetchnews with the -P option more often. Hmmmm.... not sure about this. I think I will make a small note about tailoring checking time with posting / reading habits. Is the -P option a default? > Apart from these small points, the page seems very clear and useful. Thanks again PJR, Andrew -- http://www.andrews-corner.org
Re: [Leafnode] & [slrn] page: Comments?
Author: Rockinghorse Winner
Date: Sat, 26 Jan 2008 02:12
Date: Sat, 26 Jan 2008 02:12
32 lines
2052 bytes
2052 bytes
In news.software.readers, andrew had the audacity to say that:
> Hi,
>
> I am aware of the arrogance of writing up software that I have used
> for less than a week but I have published an Ubuntu 'Howto' for
> installing Leafnode-2 to work with slrn:
>
> http://ubuntuforums.org/showthread.php?t=676837
>
> My decision to write this up /now/ rather than when I had gained a
> little more experience with Leafnode was that I wished to commit the
> information on /installing/ while it was still fresh in my mind.
>
> So could I have any comments, criticisms and most importantly
> corrections from some Leafnode users?
>
> Thanks for your trouble,
>
> Andrew
>
Thank's for your hard work, friend. Will have a look at it later.
*R* *H*
--
AWAKE! FEAR! FIRE! FOES! AWAKE!
FEAR! FIRE! FOES!
AWAKE! AWAKE!
-- J. R. R. Tolkien
Re: [Leafnode] & [slrn] page: Comments?
Author: andrew
Date: Sat, 26 Jan 2008 02:19
Date: Sat, 26 Jan 2008 02:19
19 lines
1848 bytes
1848 bytes
On 2008-01-26, Rockinghorse Winner <rockinghorse@deadtime.com> wrote:
> In news.software.readers, andrew had the audacity to say that:
>> I am aware of the arrogance of writing up software that I have used
>> for less than a week but I have published an Ubuntu 'Howto' for
>> installing Leafnode-2 to work with slrn:
>>
>> http://ubuntuforums.org/showthread.php?t=676837
[...]
> Thank's for your hard work, friend. Will have a look at it later.
Thanks for that.There are some additions and editing still to go with
this page but you should find it sound overall.
Andrew
--
http://www.andrews-corner.org
Re: [Leafnode] & [slrn] page: Comments?
Author: Peter J Ross
Date: Sun, 27 Jan 2008 12:08
Date: Sun, 27 Jan 2008 12:08
101 lines
5007 bytes
5007 bytes
In news.software.readers on Sat, 26 Jan 2008 11:05:06 +1100, andrew <andrew@ilium.invalid> wrote: > On 2008-01-25, Peter J Ross <pjr@example.invalid> wrote: >> In news.software.readers on Fri, 25 Jan 2008 14:46:31 +1100, andrew >><andrew@ilium.invalid> wrote: >>> I am aware of the arrogance of writing up software that I have used >>> for less than a week but I have published an Ubuntu 'Howto' for >>> installing Leafnode-2 to work with slrn: >>> >>> http://ubuntuforums.org/showthread.php?t=676837 > > Thanks again PJR for your careful analysis which I have saved offline > to work through. I have a sense of déjà vu here, it was not so long > ago that you were giving me some comments on my first slrn page :-) I think you've now exhausted the list of software I know enough about to make informed comments. >> A few thoughts: <...> >> 3. Why use verbose options when running fetchnews and texpire from >> cron? > > Simply to supply more information in the logs. Runnng without verbose > simply tells you 'it ran'. > >> 4. Why are your logs globally writable? And why not configure logging >> with /etc/syslog.conf (and /etc/logrotate.conf)? > > This definitely needs addressing. I almost feel that I should direct > the output to /dev/null rather than generating yet another log but > this needs a little thought. Permissions are wrong though and I will > correct this. The problem is that you're not distinguishing error messages from ordinary information, which makes the error messages more difficult to find. I have this in syslog.conf, as suggested by the Leafnode 2 docs: #v+ news.crit /var/log/news/news.crit news.err /var/log/news/news.err news.notice -/var/log/news/news.notice news.info /var/log/news/news.info #v- news.info contains all the details of each run of fetchnews and texpire, while news.err is written to only when something goes wrong. Also, I think your way of redirecting output may prevent cron mailing you about errors, but IIRC Ubuntu doesn't install a mail server by default, so it probably makes no difference. >> 5. An hour is a long time to wait between fetchnews runs. I suggest at >> least running fetchnews with the -P option more often. > > Hmmmm.... not sure about this. I think I will make a small note about > tailoring checking time with posting / reading habits. Is the -P > option a default? "-P" does nothing but post any articles that are in the queue. Posting articles promptly is a good idea; otherwise not only does the OP have to wait longer for an answer but your answer may be duplicated by somebody else who hasn't seen it yet. Something like this should work in crontab: #v+ 15 * * * * /usr/local/sbin/fetchnews 0,5,10,20,25,30,35,40,45,50,55 * * * * /usr/local/sbin/fetchnews -P #v- Better still would be a script to monitor the queue for articles and run fetchnews -P if any are found, but I haven't found or devised one so far. Of course, the more often you run fetchnews the more difficult it becomes to be sure that texpire will run. A wrapper script like this should help: #v+ #!/bin/bash LOCKFILE=/var/spool/news/leaf.node/lock.file while [ -f $LOCKFILE ]; do sleep 10 done /usr/local/sbin/texpire #v- Make the script executable by "news" and run it from news's crontab instead of texpire. (A more robust script would give up after a while and generate an error message, but I already get a notification from fetchnews if the lockfile persists too long, so I'm not bothered.) -- PJR :-)
Re: [Leafnode] & [slrn] page: Comments?
Author: andrew
Date: Sun, 27 Jan 2008 22:12
Date: Sun, 27 Jan 2008 22:12
61 lines
3598 bytes
3598 bytes
On 2008-01-27, Peter J Ross <pjr@example.invalid> wrote:
> In news.software.readers on Sat, 26 Jan 2008 11:05:06 +1100, andrew
><andrew@ilium.invalid> wrote:
[...]
> I think you've now exhausted the list of software I know enough about
> to make informed comments.
I suspect that you both underestimate your own knowledge and overestimate
mine :-)
> The problem is that you're not distinguishing error messages from ordinary
> information, which makes the error messages more difficult to find.
>
> I have this in syslog.conf, as suggested by the Leafnode 2 docs:
>
> #v+
> news.crit /var/log/news/news.crit
> news.err /var/log/news/news.err
> news.notice -/var/log/news/news.notice
> news.info /var/log/news/news.info
> #v-
>
> news.info contains all the details of each run of fetchnews and
> texpire, while news.err is written to only when something goes wrong.
Now I see what you mean! In my defence I am pulling 12 hout night
shifts at the moment and my brain is a little fogged. I have set it up
this way on my Slackware partition and it runs well. However my
Leafnode 2 docs only speak of a 'news.info' log, this is the README file
I am referring to, are you reading this in another location?
> Also, I think your way of redirecting output may prevent cron mailing
> you about errors, but IIRC Ubuntu doesn't install a mail server by
> default, so it probably makes no difference.
Many of the cron jobs in slackware report to /dev/null, a note from PV
above the defaults for root says:
# If you don't want the output of a cron job mailed to you, you have to direct
# any output to /dev/null. We'll do this here since these jobs should run
# properly on a newly installed system, but if they don't the average newbie
# might get quite perplexed about getting strange mail every 5 minutes. :^)
So if the news logging from syslog.conf runs independently of the cron
job (ie it logs itself) I might alter the syntax for cron and send it
to /dev/null, although I am not sure if this is a politically correct
thing to do. Still a little experimenting to do.
Thanks also for your thoughts on the cron settings which I am
ruminating upon.
Thanks again PJR,
Andrew
--
http://www.andrews-corner.org
Re: [Leafnode] & [slrn] page: Comments?
Author: andrew
Date: Sun, 27 Jan 2008 22:44
Date: Sun, 27 Jan 2008 22:44
32 lines
2560 bytes
2560 bytes
On 2008-01-27, andrew <andrew@ilium.invalid> wrote:
[...]
>> Also, I think your way of redirecting output may prevent cron mailing
>> you about errors, but IIRC Ubuntu doesn't install a mail server by
>> default, so it probably makes no difference.
>
> Many of the cron jobs in slackware report to /dev/null, a note from PV
> above the defaults for root says:
>
> # If you don't want the output of a cron job mailed to you, you have to direct
> # any output to /dev/null. We'll do this here since these jobs should run
> # properly on a newly installed system, but if they don't the average newbie
> # might get quite perplexed about getting strange mail every 5 minutes. :^)
>
> So if the news logging from syslog.conf runs independently of the cron
> job (ie it logs itself) I might alter the syntax for cron and send it
> to /dev/null, although I am not sure if this is a politically correct
> thing to do. Still a little experimenting to do.
Actually I guess the best solution would be:
15 * * * * /some/command 1> /dev/null
which should send confirmation to /dev/null but errors will be dealt
with as per system defaults.
Andrew
--
http://www.andrews-corner.org
Re: [Leafnode] & [slrn] page: Comments?
Author: Peter J Ross
Date: Mon, 28 Jan 2008 09:46
Date: Mon, 28 Jan 2008 09:46
64 lines
3902 bytes
3902 bytes
In news.software.readers on Mon, 28 Jan 2008 09:12:49 +1100, andrew <andrew@ilium.invalid> wrote: > On 2008-01-27, Peter J Ross <pjr@example.invalid> wrote: > >> The problem is that you're not distinguishing error messages from ordinary >> information, which makes the error messages more difficult to find. >> >> I have this in syslog.conf, as suggested by the Leafnode 2 docs: >> >> #v+ >> news.crit /var/log/news/news.crit >> news.err /var/log/news/news.err >> news.notice -/var/log/news/news.notice >> news.info /var/log/news/news.info Correction: news.info -/var/log/news/news.info I thought something looked odd when I pasted it. Adding the hyphen prevents logging to /var/log/messages. >> #v- >> >> news.info contains all the details of each run of fetchnews and >> texpire, while news.err is written to only when something goes wrong. > > Now I see what you mean! In my defence I am pulling 12 hout night > shifts at the moment and my brain is a little fogged. I have set it up > this way on my Slackware partition and it runs well. However my > Leafnode 2 docs only speak of a 'news.info' log, this is the README file > I am referring to, are you reading this in another location? You're right. The other three lines are Debian defaults, but they're useful if you don't have them. >> Also, I think your way of redirecting output may prevent cron mailing >> you about errors, but IIRC Ubuntu doesn't install a mail server by >> default, so it probably makes no difference. > > Many of the cron jobs in slackware report to /dev/null, a note from PV > above the defaults for root says: > > # If you don't want the output of a cron job mailed to you, you have to direct > # any output to /dev/null. We'll do this here since these jobs should run > # properly on a newly installed system, but if they don't the average newbie > # might get quite perplexed about getting strange mail every 5 minutes. :^) > > So if the news logging from syslog.conf runs independently of the cron > job (ie it logs itself) I might alter the syntax for cron and send it > to /dev/null, although I am not sure if this is a politically correct > thing to do. Still a little experimenting to do. If you don't want mail from cron, put MAILTO="" at the top of the crontab file. If you redirect mail to /dev/null, I suggest at least logging news.err and news.crit. -- PJR :-)
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads