Thread View: news.software.nntp
2 messages
2 total messages
Started by James Youngman
Mon, 10 Mar 1997 00:00
Bug report (INN 1.5.1) : expireover / news.daily problem
Author: James Youngman
Date: Mon, 10 Mar 1997 00:00
Date: Mon, 10 Mar 1997 00:00
62 lines
2394 bytes
2394 bytes
Executive Summary:-
news.daily gives the -a argument to expireover, plus a list of expired
files. This is a usage error for expireover.
I run "news.daily delayrm expireover" and so news.daily runs
expireover with the -a flag as well as a file list, and this is a usage error
for expireover:-
[expire/expireover.c]
1177 ac -= optind;
1178 av += optind;
1179 if ((ReadSpool && ac) || (AddEntries && !ReadSpool))
1180 Usage();
The -a option sets AddEntries and ReadSpool. The -z option sets SortedInput
(which appears not to be germane).
However, INN 1.5.1's news.daily file does this:-
[ news.daily ]
50 EXPIREOVERFLAGS="-a"
57 for I
58 do
59 case "X$I" in
79 Xexpireoverflags=*)
80 EXPIREOVERFLAGS=`expr "${I}" : 'expireoverflags=\(.*\)'`
81 ;;
124 esac
125 done
147 test -n "${RMFILE}" && {
148 EXPIREFLAGS="${EXPIREFLAGS} -z${RMFILE}"
149 EXPIREOVERFLAGS="${EXPIREOVERFLAGS} -z ${RMFILE}.$$"
150 }
151 test -z "${EXPIREOVERFLAGS}" && EXPIREOVERFLAGS=-s
EXPIREOVERFLAGS starts out as "-a", but if delayrm is specified, line 149 is
executed, and so expireover gets called like this:-
+ true
+ eval expireover -a -z /var/log/news/expire.rm.1732
++ expireover -a -z /var/log/news/expire.rm.1732
Usage: expireover [flags] [file...]
+ set +x
For the time being I'll set expireoverflags="" on the news.daily command line;
it looks to me like that's a viable workaround.
--
James Youngman VG Gas Analysis Systems The trouble with the rat-race
Before sending advertising material, read is, even if you win, you're
http://www.law.cornell.edu/uscode/47/227.html still a rat.
Re: Bug report (INN 1.5.1) : expireover / news.daily problem
Author: Per Hedeland
Date: Mon, 10 Mar 1997 00:00
Date: Mon, 10 Mar 1997 00:00
21 lines
1248 bytes
1248 bytes
In article <5g0vpc$9o9$1@halon.vggas.com> JYoungman@vggas.com (James
Youngman) writes:
>However, INN 1.5.1's news.daily file does this:-
>
>[ news.daily ]
> 50 EXPIREOVERFLAGS="-a"
Does not - in the distributed version, that line is
50 EXPIREOVERFLAGS=
- presumably someone changed it at your site. (Btw, it's a good idea to
check for such things, especially when you think that you have found a
bug, the symptoms of which could hardly have gone unnoticed at any of
the hundreds or thousands of sites using the software in question.:-)
--Per Hedeland
per@erix.ericsson.se
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