Bug 684094 - TOR service fails to start
Summary: TOR service fails to start
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: tor
Version: 15
Hardware: i686
OS: Linux
unspecified
urgent
Target Milestone: ---
Assignee: Enrico Scholz
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-11 05:21 UTC by gombang102
Modified: 2011-10-06 18:05 UTC (History)
7 users (show)

Fixed In Version: tor-0.2.1.30-1501.fc15
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-04-24 04:09:23 UTC
Type: ---


Attachments (Terms of Use)
Relevant part from /var/log/messages (3.91 KB, application/octet-stream)
2011-03-11 05:21 UTC, gombang102
no flags Details

Description gombang102 2011-03-11 05:21:53 UTC
Created attachment 483636 [details]
Relevant part from /var/log/messages

Description of problem:

TOR service fails to start, automatically or manually. When started manually using 'service tor start' command, the system reports:" Job failed. See system logs and 'systemctl status' for details."


Version-Release number of selected component (if applicable): tor-0.2.1.29


How reproducible: Always


Steps to Reproduce:
1. Enable TOR service (e.g. 'chkconfig tor on')
2. Start TOR 
3. systemd fails to start TOR
  
Actual results:
TOR fails to start.


Expected results:

TOR starts.

Additional info:

After looking at /lib/systemd/system/tor.service file, I found that it refers to /etc/sysconfig/tor file, which doesn't exist. Perhaps this is the cause?

Comment 1 gombang102 2011-03-18 04:58:55 UTC
After thinking about it I found an easy workaround. Just create the (empty) file:

$ touch /etc/sysconfig/tor

Still waiting for this to be fixed though.

Comment 2 Michael Hampton 2011-04-21 06:06:01 UTC
Confirmed, systemd refuses to start tor if /etc/sysconfig/tor doesn't exist. And the file is not created by any of the tor packages.

This also occurs on x86_64 (and presumably all platforms).

Comment 3 Fedora Update System 2011-04-23 12:43:24 UTC
tor-0.2.1.30-1501.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/tor-0.2.1.30-1501.fc15

Comment 4 Fedora Update System 2011-04-24 04:09:18 UTC
tor-0.2.1.30-1501.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 5 Matt Kinni 2011-06-23 16:07:34 UTC
Tor definitely still doesn't start, with version tor-0.2.1.30-1501.

I tried touching the sysconfig file and even commenting it out of the systemd service file, but I still can't get the service to start with systemd.

Also, it starts perfectly fine copy and pasting the execstart command from the tor.service file so I don't know why it won't work normally.

Comment 6 Tobias Florek 2011-10-06 18:05:07 UTC
see bug 744005 for a new one :)


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