On Monday 10 November 2014 04:15 AM, James Valleroy wrote:
> I don't think it's necessary to create the folder for the hidden service.
> Tor should do that when it starts up (but in your case it did not start
> successfully).
> 
> I think we just need to add some guard code in case we can't open the
> torrc or hidden service folder. (This doesn't solve the Tor configuration
> problem but it should allow Plinth to keep working.)
> 

I agree with James' approach.  Tor simply need to run at least once
before we start showing Hidden service information.  If hidden service
information is not available we need to show that state appropriately to
the user.

I have just merged a pull request made upstream by James along these
lines[1].  I have tested the changes and things seem to work okay.  I
have stopped tor, ensured hidden services are enabled and remove the
hidden service information directory and tried to view status in Plinth.
 This time we are handling the case properly.  Please check that this is
okay.

Links:

1) https://github.com/freedombox/Plinth/pull/21

-- 
Sunil

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to