[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-bugs] #3614 [arm]: When using arm to configure tor, arm wipes /etc/tor/torrc



#3614: When using arm to configure tor, arm wipes /etc/tor/torrc
--------------------+-------------------------------------------------------
 Reporter:  runa    |          Owner:  atagar
     Type:  defect  |         Status:  new   
 Priority:  normal  |      Milestone:        
Component:  arm     |        Version:        
 Keywords:          |         Parent:        
   Points:          |   Actualpoints:        
--------------------+-------------------------------------------------------
 I am running Debian Squeeze on the DreamPlug, version 0.2.1.29 of tor from
 deb.torproject.org, and version 1.4.2.4 (released April 21, 2011) of arm
 from squeeze-backports.

 When using arm to configure tor, arm wipes /etc/tor/torrc completely. I
 have tried to write to the existing configuration file, as well as create
 a new one. In both cases, the configuration file is empty after arm
 reports that it has saved the config.

 This is what I do:
 Go to page three, select Nickname, hit enter, type 'foobar', hit enter,
 press 'w', choose "Save", and confirm that I want to save to
 /etc/tor/torrc. I then see a message from arm telling me that the config
 has been saved. The result is that /etc/tor/torrc is completely empty.

 The same thing happens if I choose "Save As..." and write
 /etc/tor/torrc.test instead. The file is created, but it is empty.

 I have tried to edit src/interface/controller.py with the following on
 line 1773:

 {{{
 log.log(log.ERR, "attempting to save the following... %s" %
 "\n".join(configLines))
 }}}

 ... but I still get an empty config file. Same result when moving the line
 above to line 1759 in controller.py

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/3614>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs