Call for inncheck testing

Julien ÉLIE julien at trigofacile.com
Thu Jul 7 13:56:46 UTC 2011


Hi Gunter,

Thanks for your report; that's pretty useful.


> news at newsreader5:~$ perl bin/inncheck.in -pedantic
> /usr/local/news/etc/innfeed.conf:272: not a valid option name: max-reconnect-time
> /usr/local/news/etc/innfeed.conf:272: option 600 must be immediately followed by a colon
> /usr/local/news/etc/innfeed.conf:272: not a valid option name: 600
> /usr/local/news/etc/innfeed.conf:275: not a valid option name: host-queue-highwater
> /usr/local/news/etc/innfeed.conf:275: option 2000 must be immediately followed by a colon
> /usr/local/news/etc/innfeed.conf:275: not a valid option name: 2000
>
> lines:
> 272                max-reconnect-time:     600
> 275                host-queue-highwater:   2000

Are they at global scope or in a "peer { }" block?



> /usr/local/news/etc/readers.conf:231: malformed line (runaway quote / empty pair of quotes?)
> /usr/local/news/etc/readers.conf:232: not a valid set of access permission letters: '}'
> /usr/local/news/etc/readers.conf: missing closing bracket, opening bracket was on line 228, access default
>
> tail readers.conf:
> 228 access "default" {
> 229         users: "<FAIL>@netcologne.de"
> 230         newsgroups: "!*"
> 231         access: ""
> }
>
> Switched to:
>
> 228 access "default" {
> 229         users: "<FAIL>@netcologne.de"
> 230#         newsgroups: "!*"
> 231#         access: ""
> }
>
> to get rid of the error-message.

Wouldn't commenting out line 231 be enough?
The problem is that the access: keyword has an empty value.

If you want to deny everything, I suggest:
   read: "!*"
instead of using the access: keyword.

Anyway, with "!*" as the value for the newsgroups: keyword, it is fine.




Note to Florian:
same issue of inclusion with innfeed.conf.

    Configuration files can be included in other configuration files via
    the syntax:

       $INCLUDE filename

    There is a maximum nesting depth of 10.

-- 
Julien ÉLIE

« – Rendre compte ? Mais nous n'y sommes pas allés et nous n'avons
     rien vu ! Et puis Jules César a dit…
   – Je ne sais pas ce que Jules César a dit, mais ne pas y aller et
     ne pas voir, c'est le meilleur moyen de ne pas être vaincus ! »
     (Olibrius)



More information about the inn-workers mailing list