Ребята почему так?
Поставил bind9 (BIND 9.9.5-3ubuntu0.5-Ubuntu (Extended Support Version). Запускается в chroot - named -c named.conf -u bind -g -t /etc/bind
Срёт в логи:
Could not open 'pid/named.pid'.
Please check file and directory permissions or reconfigure the filename.
could not open file 'pid/named.pid': No such file or directory
unlink 'pid/named.pid': failed generating session key for dynamic DNS
Could not open '/var/run/named/session.key'.
Please check file and directory permissions or reconfigure the filename.
could not open file '/var/run/named/session.key': No such file or directory
could not create /var/run/named/session.key
failed to generate session key for dynamic DNS: permission denied
Права проверил уже на несколько раз:
/etc/bind/var/
└── [drwxrwxr-x bind bind ] run
└── [drwxrwxr-x bind bind ] named
/etc/bind/
└── [drwxrwxr-x bind bind ] pid
В конфиге так: (только важное)
options {
directory "/";
pid-file "pid/named.pid";
};
Bind запускается и работает, то бесят ошибки в логе.