]> git.ipfire.org Git - thirdparty/pdns.git/commit
Ensure socket-dir matches runtimedir on old systemd 9798/head
authorPieter Lexis <pieter.lexis@powerdns.com>
Thu, 1 Oct 2020 18:36:51 +0000 (20:36 +0200)
committerPeter van Dijk <peter.van.dijk@powerdns.com>
Wed, 2 Dec 2020 10:24:35 +0000 (11:24 +0100)
commit4b374afd12067845d2841fe56b8190a85355789e
tree429fbd4706fcea47caffef2c969ad6306394d665
parenta30056014fb253976c91a4009b2725c0be09a2f9
Ensure socket-dir matches runtimedir on old systemd

This is mostly a hack for systemd version <240 so using virtual hosting
on Ubuntu Bionic and EL7 does not lead to surprises.

This Commit explicitly adds the `--socket-dir` to the invocation of the
unit. Any users who want to use their own runtimedirs should use a
drop-in unit overriding ExecStart. I believe this does not validate the
principle of least surprise for those using the PowerDNS provided
packages and virtual hosting.

Fixes #9485

(cherry picked from commit 7bbaae110abb53f43d0bf60c81efe3bb8630a925)
m4/systemd.m4
pdns/Makefile.am
pdns/recursordist/Makefile.am