Bug#779259: Fwd: Re: Bug#779259: gnunet: Bug in gnunet.postinst causes gnunet to remain unconfigured by dpkg
Transferring the last message from the reporter. Message transféré Sujet : Re: Bug#779259: gnunet: Bug in gnunet.postinst causes gnunet to remain unconfigured by dpkg Date : Mon, 30 Mar 2015 15:07:32 +0100 De : Guy Heatley Pour : Bertrand Marc On 29/03/2015 12:16, Bertrand Marc wrote: Hi Bertrand, > Could you send me your version of /etc/gnunet.conf (at the bottom of > your message, it is written if was changed) This may have changed since installation. I have certainly added the Postgres section. [dhtcache] QUOTA = 128000 [ats] WAN_QUOTA_IN = 12000 WAN_QUOTA_OUT = 12000 [hostlist] OPTIONS = -b -e SERVERS = http://v10.gnunet.org/hostlist [^] [PATHS] DEFAULTCONFIG = /etc/gnunet.conf [arm] SYSTEM_ONLY = YES USER_ONLY = NO [nat] BEHIND_NAT = YES PUNCHED_NAT = YES EXTERNAL_ADDRESS = XX.YY.ZZ.AA [datastore] DATABASE = postgres [datastore-mysql] CONFIG = /root/~/.my.cnf [path] GNUNET_HOME = /var/lib/gnunet/ GNUNET_DATA_HOME = /var/lib/gnunet/data/ GNUNET_RUNTIME_DIR = /var/run/gnunet/ > and the output of: > grep GNUNET_HOME /etc/gnunet.conf | tr -d [:blank:] > This worked fine in bash and sh, but it's worth noting I needed to add single quotes for zsh to accept this: % grep GNUNET_HOME /etc/gnunet.conf | tr -d [:blank:] zsh: no matches found: [:blank:] zsh: done grep GNUNET_HOME /etc/gnunet.conf | zsh: exit 1 tr -d [:blank:] % grep GNUNET_HOME /etc/gnunet.conf | tr -d '[:blank:]' GNUNET_HOME=/var/lib/gnunet/ Cheers!
Bug#779259: gnunet: Bug in gnunet.postinst causes gnunet to remain unconfigured by dpkg
Dear user, Thank you for submitting this bug. I will need more info to understand the issue. The line 26 is indeed about setting the value of GNUNET_HOME based on the conf file settings, in case you changed it. Could you send me your version of /etc/gnunet.conf (at the bottom of your message, it is written if was changed) and the output of: grep GNUNET_HOME /etc/gnunet.conf | tr -d [:blank:] Thank you for your help, Bertrand signature.asc Description: OpenPGP digital signature
Bug#779259: gnunet: Bug in gnunet.postinst causes gnunet to remain unconfigured by dpkg
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Package: gnunet Version: 0.10.1-2.1 Severity: important Dear Maintainer, Line 26 in /var/lib/dpkg/info/gnunet.postinst fails and leaves the package unconfigured by dpkg, on armhf. eval $(grep GNUNET_HOME /etc/gnunet.conf | tr -d [:blank:]) It appears to be setting the value of GNUNET_HOME based on the conf file settings. I couldn't see exactly what was up with this line, but I commented it out and then it configured successfully. (My setting was default anyhow) It would confuse someone not familiar with editing shell scripts. Cheers, Guy - -- System Information: Debian Release: 8.0 APT prefers testing-updates APT policy: (500, 'testing-updates'), (500, 'testing') Architecture: armhf (armv7l) Kernel: Linux 3.4.90+ (PREEMPT) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.utf8) Shell: /bin/sh linked to /bin/dash Init: sysvinit (via /sbin/init) Versions of packages gnunet depends on: ii adduser3.113+nmu3 ii debconf [debconf-2.0] 1.5.55 ii libc6 2.19-13 ii libcurl3-gnutls7.38.0-4 ii libextractor3 1:1.3-2+b1 ii libgcrypt201.6.2-4+b1 ii libglpk36 4.55-1 ii libgnutls-deb0-28 3.3.8-5 ii libidn11 1.29-1+b2 ii libltdl7 2.4.2-1.11 ii libmicrohttpd100.9.37+dfsg-1+b1 ii libmysqlclient18 5.5.42-1 ii libogg01.3.2-1 ii libopus0 1.1-2 ii libpq5 9.4.1-1 ii libpulse0 5.0-13 ii libsqlite3-0 3.8.7.1-1 ii libunistring0 0.9.3-5.2+b1 ii lsb-base 4.1+Debian13+nmu1 ii multiarch-support 2.19-13 ii netbase5.3 ii zlib1g 1:1.2.8.dfsg-2+b1 Versions of packages gnunet recommends: pn libnss3-tools ii openssl1.0.1k-1 Versions of packages gnunet suggests: pn miniupnpc ii python 2.7.8-3 pn python-zbar pn texlive - -- Configuration Files: /etc/gnunet.conf changed [not included] - -- debconf information: gnunet-server/username: gnunet gnunet-server/autostart: true gnunet-server/groupname: gnunet -BEGIN PGP SIGNATURE- Version: GnuPG v1 iEYEARECAAYFAlTudjIACgkQcVtC8LX0UeZhWACgslUvvXdT9vf6hcYjedgdFDWb s5EAni4ujn/5bwFT0TMYguShrmf+WQ7b =WJXV -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org