View Issue Details

IDProjectCategoryView StatusLast Update
0004031GNUnetgnunet-setuppublic2018-06-07 00:24
Reporterell Assigned ToChristian Grothoff  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
OSDebian GNU/Linux 8.2 (jessie) 
Product VersionGit master 
Target Version0.11.0pre66Fixed in Version0.11.0pre66 
Summary0004031: I can not convince gnunet-setup to save data to /etc/gnunet.conf and need some help.
DescriptionRevision:36608
In the gnunet-account I do:

gnunet@debian-vrt:~$ gnunet-setup -c /etc/gnunet.conf

** (gnunet-setup:4856): WARNING **: Couldn't register with accessibility bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.

--> now the gnunet-setup-window pops up.
--> I can do tunings.
--> ESC

GLib-GIO-Message: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications.

And now all my tunings are lost.

GTK+ is gtk+-3.18.2
TagsNo tags attached.

Activities

Christian Grothoff

2015-10-28 13:46

manager   ~0009813

Only root can write to /etc/gnunet.conf.

You can either run gnunet-setup as root, or use "-c $HOME/gnunet.conf" and then copy the generated configuration file to /etc/gnunet.conf afterwards.

Christian Grothoff

2015-10-28 13:47

manager   ~0009814

Oh, and yes, gnunet-setup should probably check for writability of the config file on startup and refuse to run if it cannot write to the file.

ell

2015-10-28 14:10

reporter   ~0009821

Ok, repeating the same under root gives:
(I did: touch gnunet.conf)


root@debian-vrt:~# gnunet-setup -c ./gnunet.conf
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug


(gnunet-setup:8137): Gtk-CRITICAL **: gtk_widget_get_preferred_width_for_height: assertion 'height >= 0' failed

(gnunet-setup:8137): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width 5 and height -22
*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug

*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug

GLib-GIO-Message: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications.
root@debian-vrt:~#

Christian Grothoff

2015-10-28 14:12

manager   ~0009822

Yes, your config file should have been written. As for the misc. Gtk-warnings, I've seen those as well by *various* applications, so I'm not sure if we're doing something wrong (couldn't find anything) or if these are Gtk-bugs.

Christian Grothoff

2015-10-28 14:37

manager   ~0009823

Added proper warning (and refusal to start) in SVN 36615.

Issue History

Date Modified Username Field Change
2015-10-28 12:14 ell New Issue
2015-10-28 13:46 Christian Grothoff Note Added: 0009813
2015-10-28 13:47 Christian Grothoff Note Added: 0009814
2015-10-28 13:47 Christian Grothoff Assigned To => Christian Grothoff
2015-10-28 13:47 Christian Grothoff Status new => assigned
2015-10-28 13:47 Christian Grothoff Target Version => 0.11.0pre66
2015-10-28 14:10 ell Note Added: 0009821
2015-10-28 14:12 Christian Grothoff Note Added: 0009822
2015-10-28 14:37 Christian Grothoff Note Added: 0009823
2015-10-28 14:37 Christian Grothoff Status assigned => resolved
2015-10-28 14:37 Christian Grothoff Fixed in Version => 0.11.0pre66
2015-10-28 14:37 Christian Grothoff Resolution open => fixed
2018-06-07 00:24 Christian Grothoff Status resolved => closed