View Issue Details

IDProjectCategoryView StatusLast Update
0001567GNUnetutil librarypublic2010-07-02 09:56
ReporterMatthias Wachs Assigned To 
PriorityhighSeverityblockReproducibilityunable to reproduce
Status closedResolutionfixed 
Summary0001567: gnunet-arm not shutting down
DescriptionAfter starting gnunet-arm with:

/home/gnunet/gnbuild/bin/gnunet-arm -c /root/.gnunet/gnunet.conf -s
Service `arm' is now running.

Trying to shutdown gnunet-arm with:
/home/gnunet/gnbuild/bin/gnunet-arm -c /root/.gnunet/gnunet.conf -e

gnunet-arm is not shutting down, output on Nate's system:

select() error: Interrupted system call
Jun 17 15:58:27 transport-29198 WARNING Failed to transmit message to `PEERINFO' service.
Service `arm' is not running.

Output on a fresh installed debian squeeze with default conf.:

test:~# /home/gnunet/gnbuild/bin/gnunet-arm -c /root/.gnunet/gnunet.conf -e
Jun 17 11:57:05 core-2304 ERROR When trying to read hostkey file `/root/.gnunet/.hostkey' I found 0 bytes but I need at least 16.
Jun 17 11:57:05 core-2304 ERROR This may be ok if someone is currently generating a hostkey.
Jun 17 11:57:05 transport-2303 ERROR When trying to read hostkey file `/root/.gnunet/.hostkey' I found 0 bytes but I need at least 16.
Jun 17 11:57:05 transport-2303 ERROR This may be ok if someone is currently generating a hostkey.

This messages are repeated every 20 sec. forever (at least 10 minutes)
TagsNo tags attached.

Relationships

has duplicate 0001551 closedChristian Grothoff Hostkey generation can't be stopped nicely s/nicely/quickly/ 
related to 0001561 closedChristian Grothoff gnunet-service-XXX sometimes fails to terminate 

Activities

Matthias Wachs

2010-06-17 16:12

manager   ~0004032

"top" shows no cpu usage -> no hostkey generation in progress
system is fast machine, key generation should be finished in < 1s

Christian Grothoff

2010-06-18 00:13

manager   ~0004033

Most likely the issue is an empty hostkey file from a previous (aborted) run in /tmp or so. So I'd dare call this a duplicate of 0001551 (if aborted hostkey generation had happened nicely, we'd not have the stale 0-byte file and thus not the trouble).

Matthias Wachs

2010-06-18 08:45

manager   ~0004035

directly after reboot:
/tmp directory is clean

$SERVICEHOME is /root/.gnunet/

No data from previous run in /root/.gnunet/
Existing data in /root/.gnunet/:

- data/
- data/credit/
- data/hosts/
- statistics.data

Issue History

Date Modified Username Field Change
2010-06-17 16:08 Matthias Wachs New Issue
2010-06-17 16:08 Matthias Wachs Status new => assigned
2010-06-17 16:08 Matthias Wachs Assigned To => safey
2010-06-17 16:12 Matthias Wachs Note Added: 0004032
2010-06-18 00:13 Christian Grothoff Note Added: 0004033
2010-06-18 00:13 Christian Grothoff Relationship added has duplicate 0001551
2010-06-18 00:14 Christian Grothoff Assigned To safey =>
2010-06-18 00:14 Christian Grothoff Status assigned => confirmed
2010-06-18 08:45 Matthias Wachs Note Added: 0004035
2010-06-18 08:55 Christian Grothoff Category ARM service => util library
2010-06-28 12:43 Christian Grothoff Relationship added related to 0001561
2010-07-02 09:36 Matthias Wachs Reproducibility always => unable to reproduce
2010-07-02 09:36 Matthias Wachs Resolution open => fixed
2010-07-02 09:56 Christian Grothoff Status confirmed => closed