]> git.ipfire.org Git - thirdparty/pdns.git/commit
Ensure socket-dir matches runtimedir on old systemd 9799/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:25:06 +0000 (11:25 +0100)
commitba2605671e08d6d95845cc5d21983cb68d2e3c4a
treed73a8b429b5811a3ab7c6d510d48b8932df35383
parent30f0c237da92fb64f1bffebe2d094f8c39ed96d6
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