Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Trac Trac
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Service Desk
    • Milestones
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
  • Wiki
    • Wiki
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • Legacy
  • TracTrac
  • Issues
  • #3614
Closed
Open
Created Jul 19, 2011 by Runa Sandvik@runa

When using arm to configure tor, arm wipes /etc/tor/torrc

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

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking