From da384090f752ab9eb46dc60728be8bfa11e8cb37 Mon Sep 17 00:00:00 2001 From: intrigeri Date: Fri, 19 Sep 2014 16:04:59 +0000 Subject: [PATCH 1/2] systemd unit file: set up /var/run/tor as writable for the Tor service. For some strange reason, this was not needed with systemd v208. But it's needed with systemd v215 on current Debian sid, and entirely makes sense. --- contrib/dist/tor.service.in | 1 + 1 file changed, 1 insertion(+) diff --git a/contrib/dist/tor.service.in b/contrib/dist/tor.service.in index 20ceecf0ca..57409a7b0a 100644 --- a/contrib/dist/tor.service.in +++ b/contrib/dist/tor.service.in @@ -22,6 +22,7 @@ InaccessibleDirectories = /home ReadOnlyDirectories = / ReadWriteDirectories = @LOCALSTATEDIR@/lib/tor ReadWriteDirectories = @LOCALSTATEDIR@/log/tor +ReadWriteDirectories = @LOCALSTATEDIR@/run/tor NoNewPrivileges = yes [Install] From 2f47ab247af79203ba08dec718306c416db41372 Mon Sep 17 00:00:00 2001 From: intrigeri Date: Fri, 19 Sep 2014 16:07:31 +0000 Subject: [PATCH 2/2] Add changes file for #13196. Note that this will likely need to be folded with the changes file for #12751, as this change is a mere fixup on top of the changes introduced for #12751. --- changes/bug13196-systemd-writable-run-directory | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 changes/bug13196-systemd-writable-run-directory diff --git a/changes/bug13196-systemd-writable-run-directory b/changes/bug13196-systemd-writable-run-directory new file mode 100644 index 0000000000..737c354984 --- /dev/null +++ b/changes/bug13196-systemd-writable-run-directory @@ -0,0 +1,3 @@ + o Distribution: + - systemd unit file: set up /var/run/tor as writable for the Tor service. + Patch by intrigeri; resolves ticket 13196.