[leafnode-list] Re: Builds of leafnode2 for OpenSUSE on OBS

Carlos E. R. robin.listas at telefonica.net
Mon Mar 26 03:51:50 CEST 2018


On 2018-03-25 22:23, Matěj Cepl wrote:
> On 2018-03-25, 19:32 GMT, Carlos E. R. wrote:
>> As an openSUSE user, thank you! :-)
> 
> And also, would you be so kind, make a backup of /etc, 
> /var/spool/news and give my package a try? I would love to have 
> some actual feedback.

Done :-)

Installed, did tiny adjustments to config, run "texpire -r" as user "news". I see that the messages store is at /var/spool/news

I noticed that under /etc/xinet.d/ there is no new leafnode file, so I am under the assumption that it is not needed, as I see leafnode.socket with systemd. I disable the previous /etc/xinet.d/leafnode file.

minas-tirith:~ # systemctl status leafnode.socket
● leafnode.socket - NNTP server for small sites (socket)
   Loaded: loaded (/usr/lib/systemd/system/leafnode.socket; disabled; vendor preset: disabled)
   Active: inactive (dead)
   Listen: [::]:119 (Stream)
 Accepted: 0; Connected: 0
minas-tirith:~ # systemctl enable leafnode.socket
Created symlink from /etc/systemd/system/sockets.target.wants/leafnode.socket to /usr/lib/systemd/system/leafnode.socket.
minas-tirith:~ # 
minas-tirith:~ # systemctl status leafnode.socket
● leafnode.socket - NNTP server for small sites (socket)
   Loaded: loaded (/usr/lib/systemd/system/leafnode.socket; enabled; vendor preset: disabled)
   Active: inactive (dead)
   Listen: [::]:119 (Stream)
 Accepted: 0; Connected: 0
minas-tirith:~ # 

However, thunderbird gets a connection refused when attempting to read the news, so something is wrong.

IPv6 only, perhaps? Because of this:

   Listen: [::]:119 (Stream)

Thunderbird config I have not changed, it tries to access 127.0.0.1 (localhost) at 119.



cer at minas-tirith:~> telnet localhost 119
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused
Trying ::1...
telnet: connect to address ::1: Connection refused
cer at minas-tirith:~> 



This does run:


cer at minas-tirith:~> sudo -u news /usr/sbin/fetchnews -v 
...
<211 466 503513 503978 comp.os.linux.networking
mergesort(base=0x7f6377383010, nmemb=23674, size=56)
sort took 23673 comparisons, called from activutil.c:222
mergesort(base=0x7f6377383010, nmemb=23674, size=56)
sort took 23673 comparisons, called from activutil.c:309
fetchnews: 139 articles and 0 headers fetched, 0 killed, 2 posted, in 12 seconds



Is then xinet.d needed?


-- 
Cheers / Saludos,
               
		Carlos E. R.

  (from 42.3 x86_64 "Malachite" (Minas Tirith))

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 213 bytes
Desc: OpenPGP digital signature
URL: <http://krusty.dt.e-technik.tu-dortmund.de/pipermail/leafnode-list/attachments/20180326/b7fcef2b/attachment.pgp>


More information about the leafnode-list mailing list