Your message dated Tue, 13 Jan 2015 11:19:01 +0000
with message-id <[email protected]>
and subject line Bug#768666: fixed in plinth 0.4.4-1
has caused the Debian Bug report #768666,
regarding plinth: Fail to enable hidden services on freshly created FreedomBox
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
768666: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=768666
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: plinth
Version: 0.4.1-1

When trying to configure a tor hidden service on the fresly configured
Freedombox based on unstable, plinth gave this exception:

[2014-11-08 22:31:58,204] plinth.actions ERROR    Error executing command - 
['sudo', '-n', '/usr/share/plinth/actions/tor', 'get-hs'], , Traceback (most 
recent call last):
  File "/usr/share/plinth/actions/tor", line 194, in <module>
    main()
  File "/usr/share/plinth/actions/tor", line 190, in main
    subcommand_method(arguments)
  File "/usr/share/plinth/actions/tor", line 90, in subcommand_get_hs
    print(get_hidden_service())
  File "/usr/share/plinth/actions/tor", line 178, in get_hidden_service
    with open(os.path.join(hs_dir, 'hostname'), 'r') as conf_file:
FileNotFoundError: [Errno 2] No such file or directory: 
'/var/lib/tor/hidden_service/hostname'

I was running plinth manually because it did not seem to work properly
when running from the boot system.

I tried running

  mkdir /var/lib/tor/hidden_service
  chown debian-tor:debian-tor /var/lib/tor/hidden_service
  service tor restart

but this did not work becuase this change was done to /etc/tor/torrc,
and the 10.0.2.16 IP address were not available on the Freedombox
machine.  Only the 192.168.122.102 address were active at the time.

diff --git a/tor/torrc b/tor/torrc
index 7af855e..0ff6f55 100644
--- a/tor/torrc
+++ b/tor/torrc
@@ -14,3 +14,9 @@ AutomapHostsOnResolve 1
 TransPort 127.0.0.1:9040
 DNSPort 127.0.0.1:53
 
+SocksPort 10.0.2.16:9050
+TransPort 10.0.2.16:9040
+DNSPort 10.0.2.16:53
+SocksPort 192.168.122.102:9050
+TransPort 192.168.122.102:9040
+DNSPort 192.168.122.102:53

After removing the lines with 10.0.2.16 and restarting, plinth was back
to showing the tor status web page again.

-- 
Happy hacking
Petter Reinholdtsen

--- End Message ---
--- Begin Message ---
Source: plinth
Source-Version: 0.4.4-1

We believe that the bug you reported is fixed in the latest version of
plinth, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Bdale Garbee <[email protected]> (supplier of updated plinth package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Tue, 13 Jan 2015 22:25:07 +1300
Source: plinth
Binary: plinth
Architecture: source all
Version: 0.4.4-1
Distribution: unstable
Urgency: low
Maintainer: Tzafrir Cohen <[email protected]>
Changed-By: Bdale Garbee <[email protected]>
Description:
 plinth     - web front end for administering every aspect of a Freedom Box
Closes: 737456 741919 755619 765916 768666 769328
Changes:
 plinth (0.4.4-1) unstable; urgency=low
 .
   [ Sunil Mohan Adapa ]
   * New upstream version 0.4.4.  Closes: #769328, #755619, #765916,
     #768666, #737456, #741919.
   * Update dependencies as per upstream changes.
   * Require Django 1.7 reflecting upstream changes.
   * Remove patches that have been upstreamed.
   * Update standards version to 3.9.6.
   * Properly remove obsolete module configuration.
   * Remove upstream install documentation.
Checksums-Sha1:
 77b0d68a3ad097a40a97ea1db9de91a1a855f6e6 2232 plinth_0.4.4-1.dsc
 12dfdf68f93578cff3a22430e295cad76f87aef1 1803540 plinth_0.4.4.orig.tar.gz
 fdee6408f88469ecda09628a0d064b3606269cb8 5528 plinth_0.4.4-1.debian.tar.xz
 39c259906642cf38a5bd6a80bcc8b055524470c7 1759476 plinth_0.4.4-1_all.deb
Checksums-Sha256:
 a7d7af62c2f927366c45a79b6e605f7814199c7d068657ff110fdc3cac93c9b6 2232 
plinth_0.4.4-1.dsc
 9c97b2f95dc13c76c864bbcce927ddcc92426e345302fce35968ee2470c1fae0 1803540 
plinth_0.4.4.orig.tar.gz
 73b9947eb34bbbbfdac3d57ba0552416869e9a916100d7ee41265cacdf6ed780 5528 
plinth_0.4.4-1.debian.tar.xz
 ad9b82e957cae4da58af824a8a163774945f412083481e9b1e1f3e276787bdf6 1759476 
plinth_0.4.4-1_all.deb
Files:
 7e2dced6aee0474d279c85be9ef0c8de 2232 python optional plinth_0.4.4-1.dsc
 ee5b45f67ab68fb17c6c35ae6f13a2dc 1803540 python optional 
plinth_0.4.4.orig.tar.gz
 1df59244b2f74995ec5862faa711dfe0 5528 python optional 
plinth_0.4.4-1.debian.tar.xz
 04fa08d200e229d285a9fe792b957082 1759476 python optional plinth_0.4.4-1_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIVAwUBVLT8FzqTYZbAldlBAQpFXxAAtOuc2+OXKiJTATn2YZ7JKqDov5eiQqNU
yufRDr+9F+Io51UDdJ+Eg1+xnI/IVs9e6+8YjaEt/wXxhhOUqK4e+tIBBtjjmu6C
C1Zl/i0OKeUoUovtvYk3FqFUi+ijmYvYJU0n/iNhzIMARC0RrO5fYrAQXS+C+H39
8PILQUxltNyIb8THxk9kCawlswd/RLn2FLNfpcObe8FgW30UQu7RNoGGVOG+cqkp
JyJ1LMauhTEGmZEcGP1e+0zLD+VNvjVXh6BgnefmuLD80drGMJFaG6VyEwVryEMZ
vC0LiYYeiTwGG4D5hgBIeOSUBSpGmhHxKXdl0COGQfZTT06mV2u8oHD6xiRI1jy7
eAYs6x48eO0ECAClSHyuVsreEd3NqQkuYjil3mauz2i5LtwEuvs9yOS0CAoeHCZq
5ttCgrUCZk5j7KLzt561gvdPqqBdjiZGTuc5mwOFFYyN2JeL1ZabOUhqjRTbQR8U
ZkHMKbV7gxdCu4sI+cjZ6hV1h6w1SVetQmvR9FC0IRNvl07pTblIwWx3fk3gZjj7
duXejkI47a576Cc9URRkEFdZ8cJ2/LvWsfp5ZCaxYIDEmtCjbXYTvp1st7FpUvXW
7gPB34tkpMjQhaJxjqPEXL1R8CL4LsTTYLhjidDsb1CvEPgA7UbAgcICSegUIsIS
csiBGxi1kqg=
=xaQo
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to