Re: Builds of leafnode2 for OpenSUSE on OBS
"Carlos E. R." <[email protected]> Mon, 26 Mar 2018 03:51:50 +0200
| Newsgroups | gmane.network.leafnode |
|---|---|
| Message-ID | <[email protected]> |
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@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@minas-tirith:~>
This does run:
cer@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))
signature.asc
(application/pgp-signature, 213 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iF4EAREIAAYFAlq4Uj4ACgkQja8UbcUWM1z3NAD/UuntO4mWUqDZk8nSos40cz+O ye0wOFBjHyUDeSu7qNIA/iUd1RgsmOPgpQzyN99/txZDCCwNG+XV2FSU6Np3jJZ4 =zDBb -----END PGP SIGNATURE-----