bind ver. bump

This commit is contained in:
Rmys
2023-01-26 18:01:57 +03:00
parent 52adbc3e03
commit fc2900c2cf
17 changed files with 1140 additions and 552 deletions
+3 -2
View File
@@ -16,8 +16,9 @@ directories = ("/var/named", \
def postInstall(fromVersion, fromRelease, toVersion, toRelease):
if not os.path.exists("/etc/bind/rndc.key"):
os.system("/usr/sbin/rndc-confgen -r /dev/urandom -a -u named")
os.system("/usr/sbin/rndc-confgen -t /dev/urandom -a -u named")
# os.system("/usr/sbin/rndc-confgen -r /dev/urandom -a -u named")
# Ownerships
for d in directories:
os.system("chown %s:%s %s" % (UID, GID, d))
os.system("chown %s:%s %s" % (UID, GID, d))