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

[tor-bugs] #24409 [Core Tor/Nyx]: nyx crashed when trying to write to the torrc



#24409: nyx crashed when trying to write to the torrc
-------------------------------+--------------------
     Reporter:  Dbryrtfbcbhgf  |      Owner:  atagar
         Type:  defect         |     Status:  new
     Priority:  Medium         |  Milestone:
    Component:  Core Tor/Nyx   |    Version:
     Severity:  Normal         |   Keywords:
Actual Points:                 |  Parent ID:
       Points:                 |   Reviewer:
      Sponsor:                 |
-------------------------------+--------------------
 nyx crashed when trying to write to the torrc. Here are the crash logs

 [WARN] Couldn't rename configuration file "/etc/tor/torrc" to
 "/etc/tor/torrc.orig.1": Read-only file system

 {{{
 Traceback (most recent call last):

   File "/usr/local/bin/nyx", line 11, in <module>

     sys.exit(main())

   File "/usr/local/lib/python3.5/dist-packages/nyx/__init__.py", line 176,
 in main

     nyx.starter.main()

   File "/usr/local/lib/python3.5/dist-packages/stem/util/conf.py", line
 289, in wrapped

     return func(*args, config = config, **kwargs)

   File "/usr/local/lib/python3.5/dist-packages/nyx/starter.py", line 118,
 in main

     nyx.curses.start(nyx.draw_loop, acs_support =
 config.get('acs_support', True), transparent_background = True, cursor =
 False)

   File "/usr/local/lib/python3.5/dist-packages/nyx/curses.py", line 217,
 in start

     curses.wrapper(_wrapper)

   File "/usr/lib/python3.5/curses/__init__.py", line 94, in wrapper

     return func(stdscr, *args, **kwds)

   File "/usr/local/lib/python3.5/dist-packages/nyx/curses.py", line 215,
 in _wrapper

     function()

   File "/usr/local/lib/python3.5/dist-packages/nyx/__init__.py", line 243,
 in draw_loop

     keybinding.handle(key)

   File "/usr/local/lib/python3.5/dist-packages/nyx/panel/__init__.py",
 line 84, in handle

     self._action()

   File "/usr/local/lib/python3.5/dist-packages/nyx/panel/config.py", line
 219, in _show_write_dialog

     controller.save_conf()

   File "/usr/local/lib/python3.5/dist-packages/stem/control.py", line
 3220, in save_conf

     raise stem.OperationFailed(response.code, response.message)

 stem.OperationFailed: Unable to write configuration to disk.
 }}}

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/24409>
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