View Issue Details

IDProjectCategoryView StatusLast Update
0011629GNUnetGNSpublic2026-07-25 01:13
ReporterJllx Assigned Toschanzen  
PrioritynormalSeverityblockReproducibilityalways
Status assignedResolutionopen 
Product Version0.27.0 
Summary0011629: can't bootstrap
DescriptionHi,
I'm testing gnunet on gentoo, I did build it from source, started "gnunet-arm -s" checked that services are available with "gnunet-arm -I"
so after I wanted to check if I was connected, so I done a "gnunet-gns -u gnunet.gns.alt" and it wait... wait... wait... and never timeout
so I done some wireshark capture to see if there was some firewall/NAT issue... and... nothing.... just regular ICMP some unrelated UDP trafic.

gnunet-config -s gns t
.gnunet.gns.alt = 000G0522TTKQESZ9KPRT2K0RA9ZC8YMD52D2XYVYVGPDCNPMWHH9QXXF4W
.pin.gns.alt = 000G0522TTKQESZ9KPRT2K0RA9ZC8YMD52D2XYVYVGPDCNPMWHH9QXXF4W
INTERCEPT_DNS = NO
MAX_PARALLEL_BACKGROUND_QUERIES = 1000
UNIX_MATCH_GID = YES
UNIX_MATCH_UID = NO
UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-service-gns.sock
BINARY = gnunet-service-gns
HOSTNAME = localhost
IMMEDIATE_START = YES
START_ON_DEMAND = YES

I wonder what is wrong....
TagsNo tags attached.

Activities

schanzen

2026-07-17 10:05

administrator   ~0029166

I need to investigate this, testing via GNS is probably not helpful, first it must be verified that you are actually connected and bootstrap via hostlist server(s) works. It is likely that due to recent urgent server updates the bootstrap peer is/was down for a prolonged period of time.

Jllx

2026-07-20 09:42

reporter   ~0029200

Hi, how can I help investigating?
there is no "troubleshoot" section in https://docs.gnunet.org/latest/users/start.html
if testing via GNS is not helpful what is the best way to see if the system is connected (seeing that the system is up is in the above docs)

pardon my ignorance, but I thought that gnunet rely on GNS and that without GNS, since we can't resolv hosts, there is no way to connect to the network.... are the bootstrap ip hardcoded?

schanzen

2026-07-20 10:43

administrator   ~0029201

GNUnet does not rely on GNS for bootstrapping. GNUnet needs so-called HELLO messages. A HELLO contains the Peer ID (public key) and a set of (signed) endpoints it can be reached at (e.g. TCP/IP addresses). Every installation ships with a single HELLO for our bootstrap peer. The bootstrap peer also collects known HELLOs of connecting peers and publishes them through a hostlist. Each client in its default configuration reads this hostlist and tries to connect to peers.

To check which peers are connected or your peer attempts to connect you can use the "gnunet-core" cli tool. For example "gnunet-core -m"

Jllx

2026-07-20 12:07

reporter   ~0029202

maybe that's my issue? is there a bootstrap peer file? maybe it wasn't installed?
will try the "gnunet-core -m" as soon as possible

schanzen

2026-07-20 12:11

administrator   ~0029203

The bootstrap file is downloaded via HTTP. Your problem likely was that our bootstrap peer was not running. I have restarted it the other day.

schanzen

2026-07-20 12:42

administrator   ~0029205

I just tested connecting with v0.28.0 and it seems we have a regression in our handshake crypto :( I will need to track down that bug fist I guess.

Jllx

2026-07-20 13:27

reporter   ~0029206

how can I re-download the file?(automatic or manually) maybe this should be added into installation documentation

schanzen

2026-07-20 14:39

administrator   ~0029207

You do not have to redownload anything. it is downloaded on ever new start of the peer and then regularly.

I found the regression and it works again (with git master HEAD).
On gnunet-core, the server outputs something like

Mon Jul 20 14:36:51 2026: Hello sent (I) PBM3 (timeout in 0 ms)
Mon Jul 20 14:36:51 2026: Done sent (I) PBM3 (timeout in 0 ms)
Mon Jul 20 14:36:51 2026: Done sent (I) PBM3 (timeout in 299 s)
Mon Jul 20 14:36:51 2026: Connected (I) PBM3 (timeout in 299 s)
Mon Jul 20 14:36:57 2026: Connected (I) PBM3 (timeout in 299 s)
Mon Jul 20 14:37:05 2026: Connected (I) PBM3 (timeout in 299 s)

For your client, you will probably only see the last line because it will have happened too fast, otherwise it will be stuck in any state above.
But you will have to upgrade first. Also, sometimes the bootstrap peer hangs, but that is an unrelated issue :/

Jllx

2026-07-25 00:52

reporter   ~0029218

ok I updated the ebuild to build the git version
gnunet compiled fine, but I can't start the service because it now complain

 * You must create /etc/gnunetd.conf file first
 * ERROR: gnunet failed to start

searched the web, it seems that this file can only be created using gnunet-setup that is a tool provided by gnunet-gtk package.... but... latest gnunet-gtk package is 0.24.0 according to what is in https://ftp.gnu.org/gnu/gnunet/ and this source don't compile with the git head....

lot error complaining about GNUNET_CRYPTO_PublicKey not defined...

In file included from ../gnunet-gtk-9999/src/fs/gnunet-fs-gtk_main-window-connection.c:27:
../gnunet-gtk-9999/src/fs/gnunet-fs-gtk.h:136:34: error: field ‘pkey’ has incomplete type
  136 | struct GNUNET_CRYPTO_PublicKey pkey;
      | ^~~~


how can I create a /etc/gnunetd.conf by hand?

Jllx

2026-07-25 00:55

reporter   ~0029219

note : I used the git head of gnunet-gtk, not the 0.24.0

Jllx

2026-07-25 01:13

reporter   ~0029220

searching the web, it seems that /etc/gnunetd.conf is the old name of /etc/gnunet.conf

so I tried to simply symlink the files
so content of both files is

# cat /etc/gnunetd.conf
[arm]
START_SYSTEM_SERVICES = YES
START_USER_SERVICES = NO


started the service, tried gnunet-arm -I and now I have lot of fails...

# gnunet-arm -I
Services (excluding stopped services):
(started: 3 / failed: 10 / stopped: 22)
cadet (binary='gnunet-service-cadet', status=failed, exit_status=255, restart_delay='57 s')
dht (binary='gnunet-service-dht', status=failed, exit_status=255, restart_delay='57 s')
gns (binary='gnunet-service-gns', status=failed, exit_status=255, restart_delay='57 s')
hostlist (binary='gnunet-daemon-hostlist', status=started)
nse (binary='gnunet-service-nse', status=failed, exit_status=255, restart_delay='57 s')
peerstore (binary='gnunet-service-peerstore', status=failed, exit_status=255, restart_delay='57 s')
pils (binary='gnunet-service-pils', status=failed, exit_status=255, restart_delay='57 s')
rest (binary='gnunet-rest-server', status=failed, exit_status=1, restart_delay='57 s')
revocation (binary='gnunet-service-revocation', status=failed, exit_status=255, restart_delay='57 s')
rps (binary='gnunet-service-rps', status=failed, exit_status=255, restart_delay='57 s')
topology (binary='gnunet-daemon-topology', status=started)
communicator-tcp (binary='gnunet-communicator-tcp', status=started)
communicator-udp (binary='gnunet-communicator-udp', status=failed, exit_status=1, restart_delay='57 s')

gnunet-core -m doesn't output anything....

hopefully there are something in syslog

Jul 25 00:59:18 jlRyzen7-5700 gnunet-communicator-tcp[1616938]: Libgcrypt warning: missing initialization - please fix the application
Jul 25 00:59:18 jlRyzen7-5700 gnunet-communicator-udp[1616939]: Libgcrypt warning: missing initialization - please fix the application
Jul 25 01:01:26 jlRyzen7-5700 kernel: gnunet-service-[1617950]: segfault at 0 ip 00007f57b644e943 sp 00007ffd3a940898 error 4 in libc.so.6[168943,7f57b630e000+167000] likely on CPU 1 (core 0, socket 0)
Jul 25 01:01:26 jlRyzen7-5700 kernel: Code: 1f 84 00 00 00 00 00 f3 0f 1e fa c5 f9 6e c6 89 f8 25 ff 0f 00 00 c4 e2 7d 78 c0 c5 f1 ef c9 3d e0 0f 00 00 0f 87 dd 01 00 00 <c5> fe 6f 17 c5 fd 74 da c5 f5 74 d2 c5 ed eb db c5 fd d7 c3 85 c0
Jul 25 01:01:26 jlRyzen7-5700 kernel: gnunet-service-[1617971]: segfault at 0 ip 00007f8ff48dc943 sp 00007ffff5121f38 error 4 in libc.so.6[168943,7f8ff479c000+167000] likely on CPU 6 (core 3, socket 0)
Jul 25 01:01:26 jlRyzen7-5700 kernel: Code: 1f 84 00 00 00 00 00 f3 0f 1e fa c5 f9 6e c6 89 f8 25 ff 0f 00 00 c4 e2 7d 78 c0 c5 f1 ef c9 3d e0 0f 00 00 0f 87 dd 01 00 00 <c5> fe 6f 17 c5 fd 74 da c5 f5 74 d2 c5 ed eb db c5 fd d7 c3 85 c0
Jul 25 01:01:26 jlRyzen7-5700 kernel: gnunet-service-[1617981]: segfault at 0 ip 00007f83da4d4943 sp 00007ffe439ce2e8 error 4 in libc.so.6[168943,7f83da394000+167000] likely on CPU 4 (core 2, socket 0)
Jul 25 01:01:26 jlRyzen7-5700 kernel: Code: 1f 84 00 00 00 00 00 f3 0f 1e fa c5 f9 6e c6 89 f8 25 ff 0f 00 00 c4 e2 7d 78 c0 c5 f1 ef c9 3d e0 0f 00 00 0f 87 dd 01 00 00 <c5> fe 6f 17 c5 fd 74 da c5 f5 74 d2 c5 ed eb db c5 fd d7 c3 85 c0
Jul 25 01:01:26 jlRyzen7-5700 kernel: gnunet-service-[1617992]: segfault at 0 ip 00007fd18dfca943 sp 00007ffdc2ba5cc8 error 4 in libc.so.6[168943,7fd18de8a000+167000] likely on CPU 9 (core 4, socket 0)
Jul 25 01:01:26 jlRyzen7-5700 kernel: Code: 1f 84 00 00 00 00 00 f3 0f 1e fa c5 f9 6e c6 89 f8 25 ff 0f 00 00 c4 e2 7d 78 c0 c5 f1 ef c9 3d e0 0f 00 00 0f 87 dd 01 00 00 <c5> fe 6f 17 c5 fd 74 da c5 f5 74 d2 c5 ed eb db c5 fd d7 c3 85 c0
Jul 25 01:01:26 jlRyzen7-5700 kernel: gnunet-service-[1618003]: segfault at 0 ip 00007fc871e34943 sp 00007ffdc1029b18 error 4 in libc.so.6[168943,7fc871cf4000+167000] likely on CPU 12 (core 6, socket 0)
Jul 25 01:01:26 jlRyzen7-5700 kernel: Code: 1f 84 00 00 00 00 00 f3 0f 1e fa c5 f9 6e c6 89 f8 25 ff 0f 00 00 c4 e2 7d 78 c0 c5 f1 ef c9 3d e0 0f 00 00 0f 87 dd 01 00 00 <c5> fe 6f 17 c5 fd 74 da c5 f5 74 d2 c5 ed eb db c5 fd d7 c3 85 c0
Jul 25 01:01:26 jlRyzen7-5700 kernel: tun: Universal TUN/TAP device driver, 1.6
Jul 25 01:01:26 jlRyzen7-5700 kernel: gnunet-service-[1618016]: segfault at 0 ip 00007f7eadda2943 sp 00007ffd88528588 error 4 in libc.so.6[168943,7f7eadc62000+167000] likely on CPU 11 (core 5, socket 0)
Jul 25 01:01:26 jlRyzen7-5700 kernel: Code: 1f 84 00 00 00 00 00 f3 0f 1e fa c5 f9 6e c6 89 f8 25 ff 0f 00 00 c4 e2 7d 78 c0 c5 f1 ef c9 3d e0 0f 00 00 0f 87 dd 01 00 00 <c5> fe 6f 17 c5 fd 74 da c5 f5 74 d2 c5 ed eb db c5 fd d7 c3 85 c0
Jul 25 01:01:26 jlRyzen7-5700 NetworkManager[2356]: <info> [1784934086.7309] manager: (vpn-gnunet): new Tun device (/org/freedesktop/NetworkManager/Devices/4)
Jul 25 01:01:26 jlRyzen7-5700 kernel: gnunet-service-[1618032]: segfault at 0 ip 00007f35b23a6943 sp 00007ffe49390688 error 4 in libc.so.6[168943,7f35b2266000+167000] likely on CPU 2 (core 1, socket 0)
Jul 25 01:01:26 jlRyzen7-5700 kernel: Code: 1f 84 00 00 00 00 00 f3 0f 1e fa c5 f9 6e c6 89 f8 25 ff 0f 00 00 c4 e2 7d 78 c0 c5 f1 ef c9 3d e0 0f 00 00 0f 87 dd 01 00 00 <c5> fe 6f 17 c5 fd 74 da c5 f5 74 d2 c5 ed eb db c5 fd d7 c3 85 c0
Jul 25 01:01:26 jlRyzen7-5700 NetworkManager[2356]: <info> [1784934086.7937] device (vpn-gnunet): state change: unmanaged -> unavailable (reason 'connection-assumed', managed-type: 'external')
Jul 25 01:01:26 jlRyzen7-5700 NetworkManager[2356]: <info> [1784934086.7944] device (vpn-gnunet): state change: unavailable -> disconnected (reason 'connection-assumed', managed-type: 'external')
Jul 25 01:01:26 jlRyzen7-5700 NetworkManager[2356]: <info> [1784934086.7957] device (vpn-gnunet): Activation: starting connection 'vpn-gnunet' (14eac943-c38f-4c53-b9c5-f322974686ee)
Jul 25 01:01:26 jlRyzen7-5700 NetworkManager[2356]: <info> [1784934086.7959] device (vpn-gnunet): state change: disconnected -> prepare (reason 'none', managed-type: 'external')
Jul 25 01:01:26 jlRyzen7-5700 NetworkManager[2356]: <info> [1784934086.7961] device (vpn-gnunet): state change: prepare -> config (reason 'none', managed-type: 'external')
Jul 25 01:01:26 jlRyzen7-5700 NetworkManager[2356]: <info> [1784934086.7963] device (vpn-gnunet): state change: config -> ip-config (reason 'none', managed-type: 'external')
Jul 25 01:01:26 jlRyzen7-5700 NetworkManager[2356]: <info> [1784934086.7969] device (vpn-gnunet): state change: ip-config -> ip-check (reason 'none', managed-type: 'external')
Jul 25 01:01:26 jlRyzen7-5700 dbus-daemon[2285]: [system] Activating service name='org.freedesktop.nm_dispatcher' requested by ':1.1' (uid=0 pid=2356 comm="/usr/sbin/NetworkManager --pid-file /run/NetworkMa") (using servicehelper)
Jul 25 01:01:26 jlRyzen7-5700 kernel: gnunet-service-[1618047]: segfault at 0 ip 00007fe3b2b1c943 sp 00007fff1d5b6c38 error 4 in libc.so.6[168943,7fe3b29dc000+167000] likely on CPU 6 (core 3, socket 0)
Jul 25 01:01:26 jlRyzen7-5700 kernel: Code: 1f 84 00 00 00 00 00 f3 0f 1e fa c5 f9 6e c6 89 f8 25 ff 0f 00 00 c4 e2 7d 78 c0 c5 f1 ef c9 3d e0 0f 00 00 0f 87 dd 01 00 00 <c5> fe 6f 17 c5 fd 74 da c5 f5 74 d2 c5 ed eb db c5 fd d7 c3 85 c0
Jul 25 01:01:26 jlRyzen7-5700 dbus-daemon[2285]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
Jul 25 01:01:26 jlRyzen7-5700 NetworkManager[2356]: <info> [1784934086.8442] device (vpn-gnunet): state change: ip-check -> secondaries (reason 'none', managed-type: 'external')
Jul 25 01:01:26 jlRyzen7-5700 NetworkManager[2356]: <info> [1784934086.8444] device (vpn-gnunet): state change: secondaries -> activated (reason 'none', managed-type: 'external')
Jul 25 01:01:26 jlRyzen7-5700 NetworkManager[2356]: <info> [1784934086.8449] device (vpn-gnunet): Activation: successful, device activated.
Jul 25 01:01:26 jlRyzen7-5700 kernel: gnunet-service-[1618100]: segfault at 0 ip 00007f7d2d486943 sp 00007ffe4d561708 error 4 in libc.so.6[168943,7f7d2d346000+167000] likely on CPU 9 (core 4, socket 0)
Jul 25 01:01:26 jlRyzen7-5700 kernel: Code: 1f 84 00 00 00 00 00 f3 0f 1e fa c5 f9 6e c6 89 f8 25 ff 0f 00 00 c4 e2 7d 78 c0 c5 f1 ef c9 3d e0 0f 00 00 0f 87 dd 01 00 00 <c5> fe 6f 17 c5 fd 74 da c5 f5 74 d2 c5 ed eb db c5 fd d7 c3 85 c0
Jul 25 01:01:27 jlRyzen7-5700 kernel: gnunet-service-[1618135]: segfault at 0 ip 00007f87e5db3943 sp 00007ffcbf3a4088 error 4 in libc.so.6[168943,7f87e5c73000+167000] likely on CPU 8 (core 4, socket 0)
Jul 25 01:01:27 jlRyzen7-5700 kernel: Code: 1f 84 00 00 00 00 00 f3 0f 1e fa c5 f9 6e c6 89 f8 25 ff 0f 00 00 c4 e2 7d 78 c0 c5 f1 ef c9 3d e0 0f 00 00 0f 87 dd 01 00 00 <c5> fe 6f 17 c5 fd 74 da c5 f5 74 d2 c5 ed eb db c5 fd d7 c3 85 c0
Jul 25 01:01:34 jlRyzen7-5700 kernel: show_signal_msg: 3 callbacks suppressed
Jul 25 01:01:34 jlRyzen7-5700 kernel: gnunet-service-[1618254]: segfault at 0 ip 00007fb135c9d943 sp 00007ffebf511428 error 4 in libc.so.6[168943,7fb135b5d000+167000] likely on CPU 0 (core 0, socket 0)
Jul 25 01:01:34 jlRyzen7-5700 kernel: Code: 1f 84 00 00 00 00 00 f3 0f 1e fa c5 f9 6e c6 89 f8 25 ff 0f 00 00 c4 e2 7d 78 c0 c5 f1 ef c9 3d e0 0f 00 00 0f 87 dd 01 00 00 <c5> fe 6f 17 c5 fd 74 da c5 f5 74 d2 c5 ed eb db c5 fd d7 c3 85 c0
Jul 25 01:01:43 jlRyzen7-5700 kernel: gnunet-service-[1618314]: segfault at 0 ip 00007ff8f9f8d943 sp 00007fff747b4908 error 4 in libc.so.6[168943,7ff8f9e4d000+167000] likely on CPU 11 (core 5, socket 0)
Jul 25 01:01:43 jlRyzen7-5700 kernel: Code: 1f 84 00 00 00 00 00 f3 0f 1e fa c5 f9 6e c6 89 f8 25 ff 0f 00 00 c4 e2 7d 78 c0 c5 f1 ef c9 3d e0 0f 00 00 0f 87 dd 01 00 00 <c5> fe 6f 17 c5 fd 74 da c5 f5 74 d2 c5 ed eb db c5 fd d7 c3 85 c0
Jul 25 01:01:59 jlRyzen7-5700 kernel: gnunet-service-[1618461]: segfault at 0 ip 00007f23a8548943 sp 00007ffed7542298 error 4 in libc.so.6[168943,7f23a8408000+167000] likely on CPU 12 (core 6, socket 0)
Jul 25 01:01:59 jlRyzen7-5700 kernel: Code: 1f 84 00 00 00 00 00 f3 0f 1e fa c5 f9 6e c6 89 f8 25 ff 0f 00 00 c4 e2 7d 78 c0 c5 f1 ef c9 3d e0 0f 00 00 0f 87 dd 01 00 00 <c5> fe 6f 17 c5 fd 74 da c5 f5 74 d2 c5 ed eb db c5 fd d7 c3 85 c0
Jul 25 01:02:32 jlRyzen7-5700 kernel: gnunet-service-[1618692]: segfault at 0 ip 00007f487b550943 sp 00007ffe6c976548 error 4 in libc.so.6[168943,7f487b410000+167000] likely on CPU 12 (core 6, socket 0)
Jul 25 01:02:32 jlRyzen7-5700 kernel: Code: 1f 84 00 00 00 00 00 f3 0f 1e fa c5 f9 6e c6 89 f8 25 ff 0f 00 00 c4 e2 7d 78 c0 c5 f1 ef c9 3d e0 0f 00 00 0f 87 dd 01 00 00 <c5> fe 6f 17 c5 fd 74 da c5 f5 74 d2 c5 ed eb db c5 fd d7 c3 85 c0
Jul 25 01:03:37 jlRyzen7-5700 kernel: gnunet-service-[1619182]: segfault at 0 ip 00007f8aae03e943 sp 00007ffdadee7908 error 4 in libc.so.6[168943,7f8aadefe000+167000] likely on CPU 8 (core 4, socket 0)
Jul 25 01:03:37 jlRyzen7-5700 kernel: Code: 1f 84 00 00 00 00 00 f3 0f 1e fa c5 f9 6e c6 89 f8 25 ff 0f 00 00 c4 e2 7d 78 c0 c5 f1 ef c9 3d e0 0f 00 00 0f 87 dd 01 00 00 <c5> fe 6f 17 c5 fd 74 da c5 f5 74 d2 c5 ed eb db c5 fd d7 c3 85 c0
Jul 25 01:05:49 jlRyzen7-5700 kernel: gnunet-service-[1620126]: segfault at 0 ip 00007f1f7a3d7943 sp 00007fff7a248508 error 4 in libc.so.6[168943,7f1f7a297000+167000] likely on CPU 10 (core 5, socket 0)
Jul 25 01:05:49 jlRyzen7-5700 kernel: Code: 1f 84 00 00 00 00 00 f3 0f 1e fa c5 f9 6e c6 89 f8 25 ff 0f 00 00 c4 e2 7d 78 c0 c5 f1 ef c9 3d e0 0f 00 00 0f 87 dd 01 00 00 <c5> fe 6f 17 c5 fd 74 da c5 f5 74 d2 c5 ed eb db c5 fd d7 c3 85 c0

so it seems it segfault.... will try to have more info (create coredump a stack) but there is no "gnunet-service" command, so I can't find what is segfaulting

Issue History

Date Modified Username Field Change
2026-07-12 01:45 Jllx New Issue
2026-07-17 10:04 schanzen Assigned To => schanzen
2026-07-17 10:04 schanzen Status new => assigned
2026-07-17 10:05 schanzen Note Added: 0029166
2026-07-20 09:42 Jllx Note Added: 0029200
2026-07-20 10:43 schanzen Note Added: 0029201
2026-07-20 12:07 Jllx Note Added: 0029202
2026-07-20 12:11 schanzen Note Added: 0029203
2026-07-20 12:42 schanzen Note Added: 0029205
2026-07-20 13:27 Jllx Note Added: 0029206
2026-07-20 14:39 schanzen Note Added: 0029207
2026-07-25 00:52 Jllx Note Added: 0029218
2026-07-25 00:55 Jllx Note Added: 0029219
2026-07-25 01:13 Jllx Note Added: 0029220