FS#58030 - [gnunet] Incorrect Hostlist Issue

Attached to Project: Community Packages
Opened by vindicator (vindicator) - Thursday, 29 March 2018, 21:56 GMT
Last edited by Andreas Radke (AndyRTR) - Wednesday, 16 June 2021, 12:39 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Felix Yan (felixonmars)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Correct: http://v10.gnunet.org:58080/ : /usr/share/gnunet/config.d/hostlist.conf
Incorrect: http://v9.gnunet.org:58080/ : /etc/gnunetd.conf : extra package item "defaults.conf"

Additional info:
* package version(s)
Name : gnunet
Version : 0.10.1-12

* config and/or log files etc.
/etc/gnunetd.conf
*****
[hostlist]
# port for hostlist http server
HTTPPORT = 8080
HOME = $SERVICEHOME
HOSTLISTFILE = $SERVICEHOME/hostlist/learned.data
CONFIG = $DEFAULTCONFIG
BINARY = gnunet-daemon-hostlist
# consider having "-e" as default as well once implemented
OPTIONS = -b
---->>>>SERVERS = http://v9.gnunet.org:58080/
# proxy for downloading hostlists
HTTP-PROXY =
*****

Steps to reproduce:
$ pacman -S gnunet
$ systemctl start gnunet
$ systemctl status gnunet
*****
● gnunet.service - A framework for secure peer-to-peer networking
Loaded: loaded (/usr/lib/systemd/system/gnunet.service; disabled; vendor preset: disabled)
Active: inactive (dead)

Mar 29 16:46:20 computername systemd[1]: Starting A framework for secure peer-to-peer networking...
Mar 29 16:46:23 computername systemd[1]: Started A framework for secure peer-to-peer networking.
*****
$ /usr/bin/gnunet-arm -s -c /etc/gnunetd.conf
*****
Mar 29 16:49:17-565761 hostlist-5471 WARNING Download of hostlist from `http://v9.gnunet.org:58080/' failed: `Couldn't resolve host name'
*****
$ /usr/bin/gnunet-arm -e -c /etc/gnunetd.conf

Even then, I don't think you'll be able to run the service...
$ sudo /usr/bin/gnunet-arm -s -c /etc/gnunetd.conf
*****
Mar 29 16:53:44-192719 gnunet-arm-5934 WARNING `rmdir' failed on file `/tmp' at network.c:520 with error: Device or resource busy
*****
It should probably run unprivileged.
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Wednesday, 16 June 2021, 12:39 GMT
Reason for closing:  Won't fix
Additional comments about closing:  gnunet has been dropped to AUR
Comment by vindicator (vindicator) - Saturday, 02 March 2019, 21:35 GMT
The issue STILL exists in 0.11.0.
But in the case of 0.11.0, it looks like it ought to be "v11" instead of "v9".

Just out of curiosity, I grepped through the source for "*.gnunet.org:*" and even EVERYTHING in the gnunet source points to the non-existent v9 hostname. So even THEY can't get this right.

Loading...