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

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



#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs