1

Unable to chroot tor

view story
linux-howto

https://bbs.archlinux.org – It's been over a month; I hope necrobumping is appropriate in this case, since I experienced the same exact "problem" a couple of days ago and have the solution.The solution is as follows:# chroot --userspec=tor:tor /opt/torchroot /usr/bin/torOr to use systemd, put this into /etc/systemd/system/torchroot.service:[Unit] Description=torchroot After=network.target [Service] User=root Type=simple ExecStart=/usr/bin/sh -c "chroot --userspec=tor:tor /opt/torchroot /usr/bin/tor -f /etc/tor/torrc" KillSignal=SIGINT LimitNOFILE=8192 [Install] WantedBy=multi-user.targetAnd the (HowTos)