[tor-bugs] #13904 [Stem]: Tests fail on Gentoo

Tor Bug Tracker & Wiki blackhole at torproject.org
Sat Dec 13 21:00:51 UTC 2014


#13904: Tests fail on Gentoo
------------------------+---------------------
     Reporter:  toralf  |      Owner:  atagar
         Type:  defect  |     Status:  closed
     Priority:  normal  |  Milestone:
    Component:  Stem    |    Version:
   Resolution:  fixed   |   Keywords:  testing
Actual Points:          |  Parent ID:
       Points:          |
------------------------+---------------------

Comment (by atagar):

 Ok. How would you care to proceed? As I see it we have three options...

 1. Have system_resolvers() report that no resolvers are available on
 Gentoo. Advantage is that tests pass, but disadvantage is that it's wrong
 if you're running as root or without grsec.

 2. Have system_resolvers() treat Gentoo like any other Linux distro as we
 did earlier. Tests will fail if run under grsecurity.

 3. Change our check to be 'if running under grsecurity and we're not
 root'. This is the best solution but requires us to have a good method for
 checking 'are we running with grsecurity?'.

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


More information about the tor-bugs mailing list