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 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org