bug fix: pdns

This commit is contained in:
Usman Nasir
2022-09-26 23:34:49 +05:00
parent d788deb515
commit 8ca4a6d965
3 changed files with 3 additions and 3 deletions

View File

@@ -655,7 +655,7 @@ password="%s"
command = 'chmod 640 /etc/pdns/pdns.conf'
preFlightsChecks.call(command, self.distro, command, command, 1, 0, os.EX_OSERR)
else:
command = 'chown root:powerdns /etc/powerdns/pdns.conf'
command = 'chown root:pdns /etc/powerdns/pdns.conf'
preFlightsChecks.call(command, self.distro, command, command, 1, 0, os.EX_OSERR)
command = 'chmod 640 /etc/powerdns/pdns.conf'

View File

@@ -1577,7 +1577,7 @@ milter_default_action = accept
command = 'chmod 640 /etc/pdns/pdns.conf'
ProcessUtilities.executioner(command)
else:
command = 'chown root:powerdns /etc/powerdns/pdns.conf'
command = 'chown root:pdns /etc/powerdns/pdns.conf'
ProcessUtilities.executioner(command)
command = 'chmod 640 /etc/powerdns/pdns.conf'

View File

@@ -2219,7 +2219,7 @@ echo $oConfig->Save() ? 'Done' : 'Error';
command = 'chmod 640 /etc/pdns/pdns.conf'
Upgrade.executioner(command, 0)
else:
command = 'chown root:powerdns /etc/powerdns/pdns.conf'
command = 'chown root:pdns /etc/powerdns/pdns.conf'
Upgrade.executioner(command, 0)
command = 'chmod 640 /etc/powerdns/pdns.conf'