Opened 7 years ago

Closed 5 years ago

#10560 closed defect (fixed)

Tor RPM packages: TORPIDDIR none existing

Reported by: cypherpunks Owned by: erinn
Priority: Medium Milestone:
Component: Applications/Tor bundles/installation Version:
Severity: Keywords:
Cc: hiviah Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

/var/run/tor is created on installation but apparently disappears. I observed this on Fedora 19 and 20.

rpm -V tor
missing /var/run/tor

/usr/bin/tor -f /etc/tor/torrc --pidfile /var/run/tor/tor.pid --log notice file /var/log/tor/tor.log --runasdaemon 1 --datadirectory /var/lib/tor --user _tor

Tor runs fine nonetheless but restarting stoping and restarting doesn't work due to the missing pidfile.

Child Tickets

Change History (6)

comment:1 Changed 7 years ago by arma

Cc: hiviah added

Whose rpm files -- ours or fedora's?

comment:2 Changed 7 years ago by cypherpunks

Sorry for not explicitly mentioning it:
packages from tpo as documented here:
https://www.torproject.org/docs/rpms.html.en

tor version: 0.2.4.20

comment:3 Changed 7 years ago by hiviah

I think I've finally found the reason behind vanishing /var/run/tor. It only occurs after reboot, right? Turns out later Fedora has /var/run -> /run symlink and /run is a tmpfs filesystem. Thus reboot causes all data in /var/run vanish. I probably need to add recreating the dir in startup scripts.

comment:4 Changed 7 years ago by hiviah

Status: newneeds_review

I uploaded a new version 0.2.4.20-tor.2 RPMs, you should get the update soon. The startup script will recreate the directory. You may need to kill tor manually first if it's running and the /var/run/tor is already gone before starting it again via 'systemctl start tor.service' or 'service tor start'.

comment:5 Changed 7 years ago by cypherpunks

Seems to work fine now, thanks.
(Tested with FC19 and FC20).

comment:6 Changed 5 years ago by cypherpunks

Resolution: fixed
Status: needs_reviewclosed

Seems to work fine now, thanks.

Great.

Note: See TracTickets for help on using tickets.