πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #89494

Re: Requiring Authentication for INN2?

#89494
From: G.K.
Date: Mon, 01 Aug 2022 20:36
62 lines
3606 bytes
On 8/1/22 14:45, Julien Γ‰LIE wrote:
> Hi G.K.,
>> Debian does not fully install the package and exits with 
>> unintelligible errors which I failed to copypasta and forgot about 
>> after tinkering with other things.
>>
>> Here is systemd output directly after install:
>>
>> $ sudo journalctl -u inn2
>>
>> Jul 20 10:55:36 dev innd[31138]: dbz: bad first line in .dir history file
>> Jul 20 10:55:36 dev innd[31138]: dbzinit: getconf failure
>> Jul 20 10:55:36 dev innd[31138]: can't dbzinit /var/lib/news/history 
>> Numerical argument out of domain
>> Jul 20 10:55:36 dev innd[31138]: dbzclose: not opened!
>> Jul 20 10:55:36 dev innd[31138]: can't dbzclose /var/lib/news/history 
>> Numerical argument out of domain
>> Jul 20 10:55:36 dev innd[31138]: SERVER can't open history 
>> /var/lib/news/history: Numerical argument out of domain
> 
> Oh, that's strange.Β  It seems that the history file already existed.
> Did you install inn before, and then inn2 without purging the installed 
> files by INN 1.7.2?

No. This is fresh install on a fresh system that for certain had no 
prior installation of INN. Something in the package install scripts is 
off, or doing operations out of order. I remember being 100% certain it 
was something in the Debian package configuration, which was reporting 
errors and failure to install the package, even though the files had 
been copied to the filesystem.

> It would explain why the inn2 package didn't install a fresh empty 
> history file in the inn2 format.

It might be touching the history file then the error halts installation 
before it is set up right. I'll set aside an hour and a half to look 
into it when I have time to install Linux on a blank box and make notes 
for every step I take. It's on my todo list.

>> I would suggest a few shell commands cobbled together to check the 
>> database, history, file permissions, etc. and other stuff that would 
>> stop the server upon a botched install, and push it to the package 
>> maintainer.
> 
> There's the inncheck program for that :-)

Yeah, but guaranteed automagic resolution on package install would be nice.

> Maybe the inn2 package should check before beginning its installation 
> that the history file is not in the 1.7.2 format?Β  (or any other check 
> showing that there is a conflict with old files from the inn package not 
> purged)

We could eventually push something like this to the maintainer. Rather 
than asking maintainer to do it, just push some code ready to roll.

> ... or remove the inn package from Debian ^^
> 

-- 

G.K.
Technical Details
Message-ID: <tc9dev$2il94$1@news.mixmin.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
References: <tbeagm$khm7$1@news.mixmin.net> <tc2pp1$2nnr0$1@news.trigofacile.com> <tc6ubo$2co57$1@news.mixmin.net> <tc9ag7$2sk1c$1@news.trigofacile.com>

Show Full Headers
Complete Article Headers
Message-ID: <tc9dev$2il94$1@news.mixmin.net>
Subject: Re: Requiring Authentication for INN2?
Date: Mon, 1 Aug 2022 15:36:54 -0500
From: "G.K." <g.k@g.k>
References: <tbeagm$khm7$1@news.mixmin.net> <tc2pp1$2nnr0$1@news.trigofacile.com> <tc6ubo$2co57$1@news.mixmin.net> <tc9ag7$2sk1c$1@news.trigofacile.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
Newsgroups: news.software.nntp
Organization: Mixmin
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 1 Aug 2022 20:35:44 -0000 (UTC)
Injection-Info: news.mixmin.net; posting-host="6f8719fb6f18e00867d3b1e38512155496f7565f"; logging-data="2708772"; mail-complaints-to="abuse@mixmin.net"
Content-Language: en-US
In-Reply-To: <tc9ag7$2sk1c$1@news.trigofacile.com>
Lines: 61