Unable to start name

Reindl Harald h.reindl at thelounge.net
Fri Apr 9 10:26:49 UTC 2021



Am 09.04.21 um 08:07 schrieb rams:
> Apr 09 05:19:38  named[1354]: generating session key for dynamic DNS
> Apr 09 05:19:38 named[1354]: could not create /var/run/named/session.key
> Apr 09 05:19:38 named[1354]: failed to generate session key for dynamic 
> DNS: permi...ied

/var/run point to /run which is tmpfs and subfolders needs to be 
re-created at boot, normally there should be a config which ensures that 
and be part of the package

cat /usr/lib/tmpfiles.d/named.conf
d /run/named 0755 named named -

if that's missing "/etc/tmpfiles.d" is the location where you place 
manual stuff - /usr/lib is apckage area, /etc is admin-area


More information about the bind-users mailing list