Comment # 4 on bug 1205951 from
I'll record here the changes that I had to do to get it running.

There is a documentation directory /usr/share/doc/packages/leafnode; read at
least "CHANGES-FROM-LEAFNODE-1", and README-SUSE.rst. Somethings are in NEWS.

Adapt the config file /etc/leafnode/config

Make sure it is owned by news:news

Symlink /var/spool/news to ./leafnode (doc says to rename, but it works with
old /var/spool/news; I symlink just in case).

Make sure that syslog has enabled the section for news log. Program can be very
verbose.


Run "texpire -r". Can take an hour or more in rotating rust. Disk intensive.


Run as news user fetchnews - long operation. Maybe delay to after daily.timer
run:

sudo -u news /usr/sbin/fetchnews -v





create override for leafnode-hourly.timer:

[Timer]
OnUnitActiveSec=5min


Because default is every hour.



systemctl enable --now  leafnode-hourly.service, leafnode-hourly.timer,
leafnode-daily.timer.

maybe wait for daily to run.


Make sure leafnode.socket is not enabled, because it doesn't work. Instead,
create old style "/etc/xinetd.d/leafnode", or reuse from version 1:

service nntp
{
        disable         = no
        socket_type     = stream
        protocol        = tcp
        wait            = no
        user            = news
        server          = /usr/sbin/leafnode
        bind            = 127.0.0.1
}

Then force xinet to read the file by restarting xinet service.

Run as news user fetchnews:

sudo -u news /usr/sbin/fetchnews -v



On Thunderbird, click on subscribe, then refresh to group list. Otherwise, it
claims when contacting the server that there are no groups found.



HTH.


You are receiving this mail because: