summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Breathitt Gray <vilhelm.gray@gmail.com>2018-02-24 19:26:52 -0500
committerAnthony G. Basile <blueness@gentoo.org>2018-02-24 19:57:29 -0500
commitc0fe6a0d4e379ce403f88e54f23d77695fe2cf05 (patch)
tree89ec229d66475cef5582f49df5071caa8734e2bf /net-vpn/tor/files
parentnet-misc/ntpsec: debug dropped in -9999 (diff)
downloadgentoo-c0fe6a0d4e379ce403f88e54f23d77695fe2cf05.tar.gz
gentoo-c0fe6a0d4e379ce403f88e54f23d77695fe2cf05.tar.bz2
gentoo-c0fe6a0d4e379ce403f88e54f23d77695fe2cf05.zip
net-vpn/tor: Fix tor.service failure when /var/run is tmpfs
Closes: https://bugs.gentoo.org/640040
Diffstat (limited to 'net-vpn/tor/files')
-rw-r--r--net-vpn/tor/files/tor-0.3.3.2-alpha-tor.service.in.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/net-vpn/tor/files/tor-0.3.3.2-alpha-tor.service.in.patch b/net-vpn/tor/files/tor-0.3.3.2-alpha-tor.service.in.patch
new file mode 100644
index 000000000000..76e88bbaba99
--- /dev/null
+++ b/net-vpn/tor/files/tor-0.3.3.2-alpha-tor.service.in.patch
@@ -0,0 +1,12 @@
+--- a/contrib/dist/tor.service.in 2017-11-11 13:40:46.000000000 -0500
++++ b/contrib/dist/tor.service.in 2018-02-24 19:06:12.307506884 -0500
+@@ -21,6 +21,9 @@
+ LimitNOFILE=32768
+
+ # Hardening
++Group=tor
++RuntimeDirectory=tor
++RuntimeDirectoryMode=0770
+ PrivateTmp=yes
+ PrivateDevices=yes
+ ProtectHome=yes