You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by zw...@apache.org on 2020/02/11 23:46:56 UTC
[trafficserver] branch 9.0.x updated: Fix localstatedir and
runtimedir for Debian layout
This is an automated email from the ASF dual-hosted git repository.
zwoop pushed a commit to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/9.0.x by this push:
new af492ee Fix localstatedir and runtimedir for Debian layout
af492ee is described below
commit af492ee9283b20c58906ebbf79f039cd55b896fe
Author: Valentin Gutierrez <vg...@wikimedia.org>
AuthorDate: Fri Jan 24 10:54:28 2020 +0000
Fix localstatedir and runtimedir for Debian layout
Starting with Debian Buster, trafficserver would get a warning on start
from systemd if the pidfile is on /var/run instead of /run:
```
traffic-cache-atsupload-buster systemd[1]: /lib/systemd/system/trafficserver.service:8: PIDFile= references path below legacy directory /var/run/, updating /var/run/trafficserver/manager.lock → /run/trafficserver/manager.lock; please update the unit file accordingly.
```
while debian "fixed" (https://salsa.debian.org/debian/trafficserver/commit/bee57ba9249b6bdb6cd3e33729f4a2a7f0b10ec1)
the issue merely changing their PIDFile path from /var/run to /run
(it's currently symlinked), TS should also write into /run instead of
/var/run.
(cherry picked from commit f78c723a6e54accad8b3c82a58900314bcdd5cf9)
---
config.layout | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/config.layout b/config.layout
index 3918300..da63e89 100644
--- a/config.layout
+++ b/config.layout
@@ -192,8 +192,8 @@
docdir: ${prefix}/share/doc+
installbuilddir: ${prefix}/share/trafficserver/build
includedir: ${prefix}/include
- localstatedir: /var/run
- runtimedir: /var/run+
+ localstatedir: /run
+ runtimedir: /run+
logdir: /var/log+
cachedir: /var/cache+
</Layout>