[tor-bugs] #11946 [Tor]: `Error setting configured user: debian-tor not found` with Sandbox, running as relay

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed May 14 12:07:03 UTC 2014


#11946: `Error setting configured user: debian-tor not found` with Sandbox, running
as relay
---------------------------+--------------------------------
     Reporter:  alphawolf  |      Owner:
         Type:  defect     |     Status:  new
     Priority:  normal     |  Milestone:  Tor: 0.2.5.x-final
    Component:  Tor        |    Version:  Tor: 0.2.5.4-alpha
   Resolution:             |   Keywords:  sandbox
Actual Points:             |  Parent ID:
       Points:             |
---------------------------+--------------------------------

Comment (by nickm):

 Hm. I'm a bit surprised that we give both of these errors:
 {{{
 May 13 20:30:23.000 [warn] Error setting configured user: debian-tor not
 found
 May 13 20:30:23.000 [err] do_main_loop(): Bug: Error initializing keys;
 exiting
 }}}

 The first one could be if we have some file we're trying to read, but the
 sandbox isn't letting us read it.  But we should only be installing the
 sandbox after we setuid!

 So maybe we need to tinker with the relative ordering of RunAsDaemon,
 switch_id, and sandbox_init.

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


More information about the tor-bugs mailing list