Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 631286 - net-vpn/tor USE=web should add 'Tor2webMode 1' to the minimal torrc
Summary: net-vpn/tor USE=web should add 'Tor2webMode 1' to the minimal torrc
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Anthony Basile
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-18 00:28 UTC by Matt Traudt
Modified: 2018-06-14 11:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Traudt 2017-09-18 00:28:13 UTC
Otherwise Tor can't start.

With the 'web' USE flag enabled ...

$ sudo tor -f /etc/tor/torrc --verify-config
Sep 18 02:09:19.284 [notice] Tor 0.3.0.10 (git-c33db290a9d8d0f9) running on Linux with Libevent 2.1.8-stable, OpenSSL 1.0.2l and Zlib 1.2.11.
Sep 18 02:09:19.284 [notice] Tor can't help you if you use it wrong! Learn how to be safe at https://www.torproject.org/download/download#warning
Sep 18 02:09:19.284 [notice] Read configuration file "/etc/tor/torrc".
Sep 18 02:09:19.287 [warn] This copy of Tor was compiled or configured to run in a non-anonymous mode. It will provide NO ANONYMITY.
Sep 18 02:09:19.287 [err] This copy of Tor was compiled to run in 'tor2web mode'. It can only be run with the Tor2webMode torrc option enabled.
Sep 18 02:09:19.287 [err] set_options(): Bug: Acting on config options left us in a broken state. Dying. (on Tor 0.3.0.10 c33db290a9d8d0f9)
Comment 1 Anthony Basile gentoo-dev 2017-12-17 12:09:49 UTC
I understand the issue, but we usually expect the user to properly configure options in service config files.  So I try to avoid editing them unless its something like moving pid file or data file locations around to conform to Gentoo's preferred locations for those items.  But turning features on or off, I'm not so sure.  Let's leave this bug open for now and think about it.