Tor issue on Aurora
Having hard time setting up tor on Aurora-DX. Anybody had same or has idea, what is wrong? Tor is installed by using fedora package torbrowser-launcher. That one together with tor and torsocks package is installed without any issues, but the service cannot start:
Active: failed (Result: exit-code)
Invocation:
Process: 28738 ExecStartPre=/usr/bin/tor --runasdaemon 0 --defaults-torrc /usr/share/tor/defaults-torrc -f /etc/tor/torrc --verify-config (code=exited, status=226/NAMESPACE)
When I run the command manually as sudo, it works.
Apr 02 14:13:42.188 [notice] Tor 0.4.8.14 running on Linux with Libevent 2.1.12-stable, OpenSSL 3.2.4, Zlib 1.3.1.zlib-ng, Liblzma 5.6.2, Libzstd 1.5.7 and Glibc 2.40 as libc.
Apr 02 14:13:42.188 [notice] Tor can't help you if you use it wrong! Learn how to be safe at https://support.torproject.org/faq/staying-anonymous/
Apr 02 14:13:42.188 [notice] Read configuration file "/usr/share/tor/defaults-torrc".
Apr 02 14:13:42.188 [notice] Read configuration file "/etc/tor/torrc".
Apr 02 14:13:42.189 [warn] Unable to make /var/lib/tor group-readable: No such file or directory
Apr 02 14:13:42.189 [warn] Unable to make /var/lib/tor group-readable: No such file or directory
Configuration was valid
It is configured to use /var/lib/tor, which does not exist. I tried to create that one manually ad assigning it to toranon user and group, but no luck there.
When I spin up VM on clean Aurora and install it there, it works without issues. The tor on host PC is build via Blue Build, could it be related?
Will be happy for any tips, thanks a lot.
Am I totally anonymous if I use Tor? | Tor Project | Support
Defend yourself against tracking and surveillance. Circumvent censorship. | Am I totally anonymous if I use Tor?
2 Replies
there seems to be a verified Tor Browser Launcher on flathub
have you tried that? does it have issues?
otherwise, from the logs you posted and from my limited knowledge about how Tor installs, i'm not really sure what the problem could be here
Thanks a lot. As mentioned, when I install it exactly the same way, but from live (running) OS, it works normally without issues. But when done at the build time, it seems it is not installed correctly (e.g. the missing folder /var/lib/tor). The flatpak version could work, because it is installed after boot, no at the build time. I wanted the official fedora one, since it is supposed to work much better with SElinux etc. It seems currently the best way is to install Tor manually after first boot.
The issue is as well, that if that is the case and the problem is caused because it it installed at the build time, what else is affected and what other software can not working when installed this way.