[tor-bugs] #24715 [Core Tor/Tor]: Job for tor.service failed when /var/run is tmpfs

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Feb 2 21:02:07 UTC 2018


#24715: Job for tor.service failed when /var/run is tmpfs
-------------------------------------------------+-------------------------
 Reporter:  vilhelmgray                          |          Owner:  (none)
     Type:  enhancement                          |         Status:  closed
 Priority:  Medium                               |      Milestone:  Tor:
                                                 |  0.3.3.x-final
Component:  Core Tor/Tor                         |        Version:  Tor:
                                                 |  0.3.2.6-alpha
 Severity:  Normal                               |     Resolution:  invalid
 Keywords:  tmpfs, tor.service, systemd,         |  Actual Points:
  review-group-31                                |
Parent ID:                                       |         Points:
 Reviewer:  isis                                 |        Sponsor:
-------------------------------------------------+-------------------------
Changes (by isis):

 * status:  needs_review => closed
 * resolution:   => invalid


Comment:

 Hi vilhelmgray! Thanks for the bug report and the patch.

 I'm wondering if this is in fact a Gentoo bug, since in the standard
 configuration, the `--PIDFile` option isn't given to tor through systemd.
 (My understanding is that this is because systemd has its own system for
 keeping track of PIDs, i.e. and so using `$MAINPID` is the most systemd-
 ish way to do this.)  Since Gentoo appears to have enabled `PIDFile`, they
 should probably also make sure that the place they are attempting to write
 to is actually available.  Perhaps the Gentoo packagers would be willing
 to either take your patch or otherwise remove `--PIDFile`?

 Feel free to reopen if I've misunderstood something… I'm not the most
 systemd-inclined person and my only experience is through setting up VMs
 for various services in Qubes.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/24715#comment:7>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list