[tor-bugs] #3614 [arm]: When using arm to configure tor, arm wipes /etc/tor/torrc
Tor Bug Tracker & Wiki
torproject-admin at torproject.org
Wed Jul 20 14:24:55 UTC 2011
#3614: When using arm to configure tor, arm wipes /etc/tor/torrc
--------------------+-------------------------------------------------------
Reporter: runa | Owner: atagar
Type: defect | Status: assigned
Priority: normal | Milestone:
Component: arm | Version:
Keywords: | Parent:
Points: | Actualpoints:
--------------------+-------------------------------------------------------
Comment(by atagar):
Ah, think I might know what's going on. When you press 'w' to get the
confirmation dialog is it showing you a torrc that it will write or is
that blank? Getting the torrc to be written requires the "GETINFO config-
text" option which was introduced in Tor version 0.2.2.7.
The save function sees the empty output and thinks that the torrc should
be empty. This is a bug, both with 1.4.2 and the current master (though it
would only manifest in 1.4.3 when you chose "Save As..." since "Save" uses
SAVECONF). I'll add a tor version check and display an error rather than
writing a blank config.
Thanks for the catch!
-Damian
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/3614#comment:4>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list