Fedora Account System
Red Hat Associate
Red Hat Customer
Hi, there are use cases where one might want to run more than one tor instance. Systemd has elegant multi-instance support: http://0pointer.de/blog/projects/instances.html /lib/systemd/system/tor@.service: --------- [Unit] Description = Anonymizing overlay network for TCP After = syslog.target network.target nss-lookup.target [Service] Type = simple ExecStartPre = /usr/bin/tor -f /etc/tor/enabled/%i.torrc --verify-config ExecStart = /usr/bin/tor -f /etc/tor/enabled/%i.torrc --runasdaemon 0 ExecReload = /bin/kill -HUP ${MAINPID} KillSignal = SIGINT TimeoutSec = 30 Restart = on-failure LimitNOFILE = 32768 [Install] WantedBy = multi-user.target --------- systemctl tor start will use the config file: /etc/tor/enabled/foobar.torrc Works fine with the current SELinux policy (tor_t) as well when setting the appropriate context (tor_unit_file_t). example: I make use of this service file in an ansible role: https://github.com/nusenu/ansible-relayor It is the responsibility of the user to choose appropriate settings (separate datadir, logfiles, ...).
THanks for the bug report! Definitely sounds like a good idea. I'll take a look at this soon. There are some security updates that need to be pushed to stable repos first.
tor-0.2.6.8-1.fc22 has been submitted as an update for Fedora 22. https://admin.fedoraproject.org/updates/tor-0.2.6.8-1.fc22
tor-0.2.6.8-1.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/tor-0.2.6.8-1.fc21
tor-0.2.6.8-1.el7 has been submitted as an update for Fedora EPEL 7. https://admin.fedoraproject.org/updates/tor-0.2.6.8-1.el7
Package tor-0.2.6.8-1.fc22: * should fix your issue, * was pushed to the Fedora 22 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing tor-0.2.6.8-1.fc22' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2015-8680/tor-0.2.6.8-1.fc22 then log in and leave karma (feedback).
tor-0.2.6.8-1.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.
tor-0.2.6.8-1.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.
tor-0.2.6.8-1.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report.