Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 685296

Summary: net-vpn/tor uses /var/run instead of /run
Product: Gentoo Linux Reporter: Bertrand Jacquin <bertrand>
Component: Current packagesAssignee: Anthony Basile <blueness>
Status: RESOLVED FIXED    
Severity: normal CC: bertrand
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 830306    

Description Bertrand Jacquin 2019-05-07 23:42:48 UTC
Hi,

=net-vpn/tor-0.3.5.8 default configuration refers /var/run in its default configuration:


$ cat /etc/tor/torrc
#
# Minimal torrc so tor will work out of the box
#
User tor
PIDFile /var/run/tor/tor.pid
Log notice syslog
DataDirectory /var/lib/tor/data
Comment 1 Bertrand Jacquin 2019-05-08 00:01:42 UTC
/etc/init.d/tor:pidfile=/var/run/tor/tor.pid
/etc/init.d/tor:        checkpath -d -m 0755 -o tor:tor /var/run/tor
Comment 2 Larry the Git Cow gentoo-dev 2019-12-08 17:04:14 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3086f72684b219b707f99f9e4bcd85f08f20a977

commit 3086f72684b219b707f99f9e4bcd85f08f20a977
Author:     Anthony G. Basile <blueness@gentoo.org>
AuthorDate: 2019-12-08 17:03:52 +0000
Commit:     Anthony G. Basile <blueness@gentoo.org>
CommitDate: 2019-12-08 17:03:52 +0000

    net-vpn/tor: user /run instead of /var/run, bug #685296
    
    Closes: https://bugs.gentoo.org/685296
    Package-Manager: Portage-2.3.79, Repoman-2.3.16
    Signed-off-by: Anthony G. Basile <blueness@gentoo.org>

 net-vpn/tor/files/tor-0.2.7.4-torrc.sample.patch |  2 +-
 net-vpn/tor/files/tor.initd-r9                   | 37 ++++++++++++++++++++++++
 net-vpn/tor/files/torrc-r2                       |  7 +++++
 net-vpn/tor/tor-0.4.1.6-r1.ebuild                |  4 +--
 net-vpn/tor/tor-0.4.2.4_rc-r1.ebuild             |  4 +--
 5 files changed, 49 insertions(+), 5 deletions(-)