Bug 28034 - bind: Необходимо обеспечить совместимость службы с systemd
Summary: bind: Необходимо обеспечить совместимость службы с systemd
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: bind (show other bugs)
Version: unstable
Hardware: all Linux
: P3 normal
Assignee: placeholder@altlinux.org
QA Contact: qa-sisyphus
URL: http://www.altlinux.org/Systemd_Statu...
Keywords:
Depends on:
Blocks: 28008
  Show dependency tree
 
Reported: 2012-11-21 15:27 MSK by Mike
Modified: 2014-11-27 15:32 MSK (History)
7 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike 2012-11-21 15:27:57 MSK
Подготовить корректный unit-файл.

Подробности по ссылке: http://www.altlinux.org/Systemd_Status_P7
Comment 1 Michael Shigorin 2014-11-12 14:05:05 MSK
Замечено, что придётся генерировать /etc/rndc.key при первом запуске:

# systemctl status bind.service
bind.service - Berkeley Internet Name Domain (DNS)
   Loaded: loaded (/lib/systemd/system/bind.service; enabled)
   Active: failed (Result: exit-code) since Ср 2014-11-12 14:00:33 MSK; 15s ago
  Process: 17069 ExecStartPre=/usr/sbin/named-checkconf -z /etc/named.conf (code=exited, status=1/FAILURE)

ноя 12 14:00:33 *** named-checkconf[17069]: /etc/rndc.key:3: bad secret 'bad base64 encoding'
ноя 12 14:00:33 *** systemd[1]: bind.service: control process exited, code=exited status=1
ноя 12 14:00:33 *** systemd[1]: Failed to start Berkeley Internet Name Domain (DNS).
ноя 12 14:00:33 *** systemd[1]: Unit bind.service entered failed state

# ls -l /etc/rndc.key
ls: невозможно получить доступ к /etc/rndc.key: Нет такого файла или каталога
# /etc/init.d/bind start
Generating RNDC key:                     [ DONE ]
Starting named service:                  [ DONE ]
# _
Comment 2 Repository Robot 2014-11-27 15:32:44 MSK
bind-9.9.6-alt1 -> sisyphus:

* Tue Nov 18 2014 Fr. Br. George <george@altlinux> 9.9.6-alt1
- Update to ftp://ftp.isc.org/isc/bind9/9.9.6/bind-9.9.6.tar.gz
- Fix old style autoheader AC_DEFINE
- Enable ratelimits (Closes: #30398)
- Provide initial rndc_keygen (Closes: #28034)

* Mon Oct 06 2014 Fr. Br. George <george@altlinux> 9.9.5-alt3
- Build with GSSAPI

* Tue Jun 17 2014 Fr. Br. George <george@altlinux> 9.9.5-alt2
- Updated to ftp://ftp.isc.org/isc/bind9/9.9.5-P1/bind-9.9.5-P1.tar.gz