Bug 34192 - Ошибка работы сервиса Bind
Summary: Ошибка работы сервиса Bind
Status: CLOSED FIXED
Alias: None
Product: Альт Сервер
Classification: Distributions
Component: Ошибки работы (show other bugs)
Version: 8.0
Hardware: all Linux
: P3 normal
Assignee: Mikhail Efremov
QA Contact: qa-p8@altlinux.org
URL:
Keywords:
Depends on: 34212
Blocks:
  Show dependency tree
 
Reported: 2017-11-14 16:49 MSK by Sergey Novikov
Modified: 2017-11-24 14:08 MSK (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Novikov 2017-11-14 16:49:15 MSK
Исходные данные: Server 8.2 beta2 (офисный сервер)

Ошибка:
Установка FreeIPA-сервера заканчивается ошибкой:
   [12/12]: disable chroot for bind
Done configuring DNS (named).
Restarting named
ipa         : ERROR    Named service failed to start (Command '/sbin/systemctl restart bind.service' returned non-zero exit status 1)

ipa.ipapython.install.cli.install_tool(Server): ERROR    Command '/sbin/systemctl restart ipa.service' returned non-zero exit status 1
ipa.ipapython.install.cli.install_tool(Server): ERROR    The ipa-server-install command failed. See /var/log/ipaserver-install.log for more information

systemctl status bind.service
● bind.service - Berkeley Internet Name Domain (DNS)
   Loaded: loaded (/lib/systemd/system/bind.service; disabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Вт 2017-11-14 16:04:09 MSK; 15s ago
  Process: 6284 ExecStartPre=/usr/sbin/named-checkconf $CHROOT -z /etc/named.conf (code=exited, status=1/FAILURE)
  Process: 6280 ExecStartPre=/etc/init.d/bind rndc_keygen (code=exited, status=0/SUCCESS)
 Main PID: 727 (code=exited, status=0/SUCCESS)

ноя 14 16:04:09 ipadc.ipabtest.ipablocal systemd[1]: Starting Berkeley Internet Name Domain (DNS)...
ноя 14 16:04:09 ipadc.ipabtest.ipablocal named-checkconf[6284]: /etc/bind/local.conf:8: open: /etc/ddns-key.conf: 

cat /etc/bind/local.conf 
// Add other zones here
include "/etc/ddns-key.conf";
include "/etc/localdomain-transfer-key.conf";
include "/etc/ddns.conf";

Предположительно эти строки добавляет пакет alterator-dhcp
Comment 1 Mikhail Efremov 2017-11-24 14:08:03 MSK
Исправлено в 8.2_beta3.