Bug 1292198

Summary: tor-0.2.7.6-3.fc23 fails to start: /run/tor not available because /usr/lib/tmpfiles.d/tor.conf is wrong
Product: [Fedora] Fedora Reporter: Christian Stadelmann <fedora>
Component: torAssignee: Nobody's working on this, feel free to take it <nobody>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 23CC: lmacken, pwouters, s
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: tor-0.2.7.6-4.fc22 tor-0.2.7.6-4.fc23 tor-0.2.7.6-4.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-12-28 23:52:37 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Christian Stadelmann 2015-12-16 17:12:50 UTC
Description of problem:
Every time I boot with tor-0.2.7.6-3 installed, tor doesn't work because this update introduces settings in /etc/tor/torrc which require /run/tor to be present when starting tor. /run/tor should be created by systemd's systemd-tmpfiles following configuration in /usr/lib/tmpfiles.d/tor.conf. This file contains just a single line:

d /run/tor 0700 tor tor

With this, systemd-tmpfiles should create a directory /run/tor owned by tor:tor. The tor package in fedora names the tor daemon user toranon:toranon.

Suggested solution:
Change file /usr/lib/tmpfiles.d/tor.conf to

d /run/tor 0700 toranon toranon


Version-Release number of selected component (if applicable):
tor-0.2.7.6-3.fc23

How reproducible:
at each boot – configuration issue

Additional info:
This issue is why I gave negative carma on https://bodhi.fedoraproject.org/updates/tor-0.2.7.6-3.fc23#comment-365240

Comment 1 Fedora Update System 2015-12-16 18:08:09 UTC
tor-0.2.7.6-4.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2015-bfda6099e2

Comment 2 Fedora Update System 2015-12-16 18:27:56 UTC
tor-0.2.7.6-4.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2015-8185ed15cf

Comment 3 Fedora Update System 2015-12-16 18:28:16 UTC
tor-0.2.7.6-4.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2015-b870fb3c4e

Comment 4 Fedora Update System 2015-12-17 10:27:53 UTC
tor-0.2.7.6-4.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
$ su -c 'dnf --enablerepo=updates-testing update tor'
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-8185ed15cf

Comment 5 Fedora Update System 2015-12-17 10:28:08 UTC
tor-0.2.7.6-4.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
$ su -c 'dnf --enablerepo=updates-testing update tor'
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-bfda6099e2

Comment 6 Fedora Update System 2015-12-17 12:52:15 UTC
tor-0.2.7.6-4.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
$ su -c 'yum --enablerepo=epel-testing update tor'
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2015-b870fb3c4e

Comment 7 Fedora Update System 2015-12-28 23:52:28 UTC
tor-0.2.7.6-4.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2016-01-02 22:22:01 UTC
tor-0.2.7.6-4.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2016-01-03 01:28:20 UTC
tor-0.2.7.6-4.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.