From 3815a8725bd33d8df7c14840ae3050eaead51e63 Mon Sep 17 00:00:00 2001 From: Otto Moerbeek Date: Mon, 16 Dec 2019 10:08:11 +0100 Subject: [PATCH] User differs on Debian vs CentOS --- pdns/recursordist/docs/upgrade.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pdns/recursordist/docs/upgrade.rst b/pdns/recursordist/docs/upgrade.rst index a4a9179e92..ffe2f7a775 100644 --- a/pdns/recursordist/docs/upgrade.rst +++ b/pdns/recursordist/docs/upgrade.rst @@ -23,7 +23,7 @@ Systemd service and permissions ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ The systemd service-file that is installed no longer uses the ``root`` user to start. It uses the user and group set with the ``--with-service-user`` and ``--with-service-group`` switches during -configuration, "pdns" by default. +configuration, "pdns" on Debian and "pdns-recursor" on CentOS by default. This could mean that PowerDNS Recursor cannot read its configuration, lua scripts, auth-zones or other data. It is recommended to recursively ``chown`` directories used by PowerDNS Recursor:: @@ -31,7 +31,7 @@ It is recommended to recursively ``chown`` directories used by PowerDNS Recursor chown -R root:pdns /etc/powerdns # For CentOS and RHEL based systems - chown -R root:pdns /etc/pdns-recursor + chown -R root:pdns-recursor /etc/pdns-recursor Packages provided on `the PowerDNS Repository `__ will ``chown`` directories created by them accordingly in the post-installation steps. -- 2.47.2