leafnode: Clients (newsreaders) do not see any group?
Package: leafnode
Version: 1.9.15-3
Severity: normal
I have just installed leafnode and run fetchnews for the first time.
Although it took me far less then 60 min to download it groupinfo looks O.K,
isn't it?
[19:59:27 shaul]$ head /var/spool/news/leaf.node/groupinfo
1.aardvark 1 1 0 -x-
12hr 1 1 0 -x-
3b 1 1 0 -x-
3b.config 1 1 0 -x-
3b.misc 1 1 0 -x-
3b.tech 1 1 0 -x-
3b.test 1 1 0 -x-
3do.bad-attitude 1 1 0 -x-
43 1 1 0 -x-
5col.announce 1 1 0 -x-
[19:59:35 shaul]$ wc /var/spool/news/leaf.node/groupinfo
41017 205085 1238082 /var/spool/news/leaf.node/groupinfo
[19:59:43 shaul]$
Yet tin tells me there are no groups available. nn quits immedaiately, and
I interprating that to the same effect (or am I wrong)?
The only thing that seems to me odd is that contrary to leafnode man page
/var/spool/news/ does not contain any groups dirs.
[23:41:31 /tmp]$ ls /var/spool/news/
active.read interesting.groups message.id
failed.postings leaf.node out.going
[23:41:37 /tmp]$
- -- System Information
Debian Release: woody
Kernel Version: Linux rakefet 2.2.17 #1 Fri Jun 30 15:35:31 IDT 2000 i586
unknown
Versions of the packages leafnode depends on:
ii debconf 0.3.64 Debian configuration management system
ii libc6 2.1.3-10 GNU C Library: Shared libraries and Timezone
ii libpcre2 2.08-1 Philip Hazel's Perl Compatible Regular Expre
ii logrotate 3.2-11 Log rotation utility
ii netbase 4.01 Basic TCP/IP networking system
ii tcpd 7.6-5 Wietse Venema's TCP wrapper utilities
- --- Begin /etc/news/leafnode/debian-config (modified conffile)
VERSION=1
NETWORK=PERMANENT
- --- End /etc/news/leafnode/debian-config
- --- Begin /etc/cron.daily/leafnode (modified conffile)
#!/bin/sh
. /etc/news/leafnode/debian-config
cd /
if [ -x /usr/sbin/texpire ]; then
su news -c "/usr/sbin/texpire"
fi
if [ -x /usr/bin/touch_newsgroup -a -f /etc/news/leafnode/touch_groups ]; then
if /usr/bin/perl -MNet::NNTP < /dev/null 2>/dev/null ; then
su news -c "/usr/bin/touch_newsgroup -f /etc/news/leafnode/touch_groups"
else
cat << EOF
You have requested that touch_newsgroup be run to mark the groups
listed in /etc/news/leafnode/touch_groups as read. This requires
that both perl and the Net::NNTP module (part of libnet-perl) are
avalible, which does not appear to be the case:
EOF
/usr/bin/perl -MNet::NNTP < /dev/null
fi
fi
if [ "" != "`ls /var/spool/news/failed.postings/`" ]; then
mv /var/spool/news/failed.postings/* /var/spool/news/out.going
fi
if [ "$NETWORK" != "PPP" -a -x /usr/sbin/fetchnews ]; then
su news -c "/usr/sbin/fetchnews"
fi
- --- End /etc/cron.daily/leafnode
--
-- Shaul Karl <shaulk@israsrv.net.il>
Donate free food to the world's hungry: see http://www.thehungersite.com
Reply to: