Skip to content

Why do you break my tor (and internet connection)? #37

@IriaSomobu

Description

@IriaSomobu

Describe the bug
Imagine you are just a normal user on Manjaro.
You have tor installed from a system pacman repo, nothing fancy.
systemctl status tor shows that it works fine, and you can confirm that all's good cuz firefox that was configured to use tor proxy loads websites fine (a bit slow, but fine).

Now you install archtorify 1.30.1 via yay.
And then you launch it. Program asks to stop tor service, you do it.
You again run archtorify -t and again it complains -- now about its unability to start tor.
When you try to open archtorify repo you realize that there are no internet anymore. You try to stop archtorify, but that doesnt help -- program says its not running.
You remove archtorify (yay -R archtorify) but that doesnt help either.
Ok, fine, you reboot your PC and now you have the internet access again.

You start your handy firefox-with-tor and realize that something is wrong.
Checking tor.service logs you notice that tor is now broken and wont start (see program error message below).
All that makes you sad.
On the bright side, pacman -R tor && rm -rf /etc/tor fixes the problem.

To sum up: from the user's perspective it looks like you program has broken internet access and somehow corrupted tor service in the manner that tor stays corrupted even after deinstallation of program of yours.

I think this is a serious bug that should be fixed.

Program error message

Aug 01 16:14:38 host tor[2039]: Aug 01 16:14:38.792 [notice] Tor 0.4.8.17 running on Linux with Libevent 2.1.12-stable, OpenSSL 3.5.1, Zlib 1.3.1, Liblzma 5.8.1, Libzstd 1.5.7 and >
Aug 01 16:14:38 host tor[2039]: Aug 01 16:14:38.792 [notice] Tor can't help you if you use it wrong! Learn how to be safe at https://support.torproject.org/faq/staying-anonymous/
Aug 01 16:14:38 host tor[2039]: Aug 01 16:14:38.792 [notice] Read configuration file "/etc/tor/torrc".
Aug 01 16:14:38 host tor[2039]: Aug 01 16:14:38.793 [warn] Error setting configured uid to tor (43): Operation not permitted
Aug 01 16:14:38 host tor[2039]: Aug 01 16:14:38.793 [warn] Failed to parse/validate config: Problem with User value. See logs for details.
Aug 01 16:14:38 host tor[2039]: Aug 01 16:14:38.793 [err] Reading config failed--see warnings above.
Aug 01 16:14:38 host systemd[1]: tor.service: Control process exited, code=exited, status=1/FAILURE

Other network proxies/firewalls or DNS applications installed
Nothing, I guess?

Shell used
bash

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions