View Issue Details

IDProjectCategoryView StatusLast Update
0002801GNUnetutil librarypublic2013-03-05 04:56
ReporterMatthias Wachs Assigned ToChristian Grothoff Due Date
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionunable to reproduce 
Product VersionGit master 
Target VersionGit masterFixed in VersionGit master 
Summary0002801: GNUnet fails to start without error message when gnunet.conf is missing
Descriptionmwachs@fulcrum:~/gnunet/gnunet-debug$ rm ~/.gnunet/gnunet.conf
mwachs@fulcrum:~/gnunet/gnunet-debug$ gnunet-arm -s
Feb 18 09:44:12-704557 gnunet-arm-1994 WARNING Skipping file `/home/mwachs/gnunet/gnb-head/share/gnunet/config.d/transport.conf~'
Feb 18 09:44:12-705498 util-1994 WARNING Error while determining the file size of /home/mwachs/.gnunet/gnunet.conf
Service `arm' has been started.
mwachs@fulcrum:~/gnunet/gnunet-debug$ Feb 18 09:44:12-707929 arm-1995 WARNING Skipping file `/home/mwachs/gnunet/gnb-head/share/gnunet/config.d/transport.conf~'
Feb 18 09:44:12-708861 util-1995 WARNING Error while determining the file size of /home/mwachs/gnunet/gnunet-debug/$DEFAULTCONFIG/

mwachs@fulcrum:~/gnunet/gnunet-debug$ ps ax | grep gnun
 1998 pts/4 S+ 0:00 grep gnun
TagsNo tags attached.

Activities

Matthias Wachs

2013-02-18 08:45

reporter   ~0006885

No error msg printed with level ERROR

Christian Grothoff

2013-03-02 21:25

manager   ~0006906

That's intentionally; GNUnet should be able to run without a configuration file, in which case 'all defaults' should be used.

Now, the error message

Feb 18 09:44:12-708861 util-1995 WARNING Error while determining the file size of /home/mwachs/gnunet/gnunet-debug/$DEFAULTCONFIG/

with this $DEFAULTCONFIG in it, that's what shouldn't happen. I don't get this, do you still get this if you run with an unmodified default installation, or is this something due to specifics in your setup?

Matthias Wachs

2013-03-04 16:37

reporter   ~0006928

Cannot reproduce anymore, with log level INFO i just get
Mar 04 17:34:05-744454 arm-12276 ERROR Could not access configuration file `/home/mwachs/.gnunet/gnunet.conf'

Which according to your statement above should not be an error but an INFO ...
But I cannot reproduce the original message

I tested with missing ~/.gnunet/gnunet.conf and missing ~/.gnunet/ directory

Issue History

Date ModifiedUsernameFieldChange
2013-02-18 08:45Matthias WachsNew Issue
2013-02-18 08:45Matthias WachsNote Added: 0006885
2013-03-02 21:25Christian GrothoffNote Added: 0006906
2013-03-02 21:25Christian GrothoffAssigned To => Christian Grothoff
2013-03-02 21:25Christian GrothoffStatusnew => feedback
2013-03-04 16:37Matthias WachsNote Added: 0006928
2013-03-04 16:37Matthias WachsStatusfeedback => assigned
2013-03-05 04:56Christian GrothoffStatusassigned => resolved
2013-03-05 04:56Christian GrothoffFixed in Version => Git master
2013-03-05 04:56Christian GrothoffResolutionopen => fixed
2013-03-05 04:56Christian GrothoffStatusresolved => closed
2013-03-05 04:56Christian GrothoffResolutionfixed => unable to reproduce
2013-03-05 04:56Christian GrothoffProduct Version => Git master
2013-03-05 04:56Christian GrothoffTarget Version => Git master