[tor-bugs] #19762 [Core Tor/Tor]: Tor systemd service should have ReadWriteDirectories=/var/run/tor

2016-07-26 Thread Tor Bug Tracker & Wiki
#19762: Tor systemd service should have ReadWriteDirectories=/var/run/tor
--+-
 Reporter:  candrews  |  Owner:
 Type:  defect| Status:  new
 Priority:  Medium|  Milestone:
Component:  Core Tor/Tor  |Version:
 Severity:  Normal|   Keywords:  systemd
Actual Points:|  Parent ID:
   Points:|   Reviewer:
  Sponsor:|
--+-
 Tor writes it's pidfile to /var/run/tor/tor.pid by default.

 However,
 ​https://gitweb.torproject.org/tor.git/tree/contrib/dist/tor.service.in
 specifies that all but 2 directories are read only. Therefore, when one
 starts tor using:
 {{{
 systemctl start tor
 }}}
 using the default configuration, this error is logged in the journal:
 {{{
 Jul 26 22:42:32 irrational Tor[19048]: Unable to open
 "/var/run/tor/tor.pid" for writing: Read-only file system
 }}}
 and no pidfile is written.

 Adding:
 {{{
 ReadWriteDirectories=-/var/run/tor
 }}}
 to the [Service] section fixes the problem.

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #19762 [Core Tor/Tor]: Tor systemd service should have ReadWriteDirectories=/var/run/tor

2016-07-28 Thread Tor Bug Tracker & Wiki
#19762: Tor systemd service should have ReadWriteDirectories=/var/run/tor
--+
 Reporter:  candrews  |  Owner:
 Type:  defect| Status:  new
 Priority:  Medium|  Milestone:  Tor: 0.2.9.x-final
Component:  Core Tor/Tor  |Version:
 Severity:  Normal| Resolution:
 Keywords:  systemd   |  Actual Points:
Parent ID:| Points:
 Reviewer:|Sponsor:
--+
Changes (by nickm):

 * milestone:   => Tor: 0.2.9.x-final


--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #19762 [Core Tor/Tor]: Tor systemd service should have ReadWriteDirectories=/var/run/tor

2017-06-30 Thread Tor Bug Tracker & Wiki
#19762: Tor systemd service should have ReadWriteDirectories=/var/run/tor
-+-
 Reporter:  candrews |  Owner:
 Type:  defect   | Status:  new
 Priority:  Medium   |  Milestone:  Tor:
 |  unspecified
Component:  Core Tor/Tor |Version:
 Severity:  Normal   | Resolution:
 Keywords:  systemd tor-relay hardening  |  Actual Points:
  packaging  |
Parent ID:   | Points:
 Reviewer:   |Sponsor:
-+-
Changes (by nickm):

 * keywords:  systemd => systemd tor-relay hardening packaging


--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Re: [tor-bugs] #19762 [Core Tor/Tor]: Tor systemd service should have ReadWriteDirectories=/var/run/tor

2019-06-06 Thread Tor Bug Tracker & Wiki
#19762: Tor systemd service should have ReadWriteDirectories=/var/run/tor
-+-
 Reporter:  candrews |  Owner:  (none)
 Type:  defect   | Status:  new
 Priority:  Medium   |  Milestone:  Tor:
 |  unspecified
Component:  Core Tor/Tor |Version:
 Severity:  Normal   | Resolution:
 Keywords:  systemd tor-relay hardening  |  Actual Points:
  packaging  |
Parent ID:  #30797   | Points:
 Reviewer:   |Sponsor:
-+-
Changes (by arma):

 * parent:   => #30797


--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs