Bug 1292198 - tor-0.2.7.6-3.fc23 fails to start: /run/tor not available because /usr/lib/tmpfiles.d/tor.conf is wrong
Summary: tor-0.2.7.6-3.fc23 fails to start: /run/tor not available because /usr/lib/tm...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: tor
Version: 23
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Nobody's working on this, feel free to take it
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-12-16 17:12 UTC by Christian Stadelmann
Modified: 2020-11-05 09:37 UTC (History)
3 users (show)

Fixed In Version: tor-0.2.7.6-4.fc22 tor-0.2.7.6-4.fc23 tor-0.2.7.6-4.el7
Clone Of:
Environment:
Last Closed: 2015-12-28 23:52:37 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.