[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 02:19:52 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:          
--------------------+-------------------------------------------------------
Changes (by atagar):

  * status:  new => assigned


Comment:

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

 The purpose of that line isn't to fix your issue. Go back to the first
 page (the one with the logs) and it should have that message. If...

 a. It has the configuration file contents that you expect then, as
 mentioned on irc, the python process is silently failing to write anywhere
 on your filesystem (which is very, very weird). That would be an issue
 with your environment. Arm expects to be able to, at least, know when it
 fails to write files. You can try this to confirm...

 atagar at fenrir:~$ python
 >>> myFile = open("/tmp/foobar", "w")
 >>> myFile.write("hello world\n")
 >>> myFile.close()

 atagar at fenrir:~$ cat /tmp/foobar
 hello world

 b. Arm logs "attempting to save the following..." without anything after
 it. In that case something's odd on arm's part and I'll work through
 further debugging steps with you.

 Cheers! -Damian

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/3614#comment:2>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list