Bug 33239 - control bind-chroot не работает в случае использования systemd
Summary: control bind-chroot не работает в случае использования 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:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-14 09:37 MSK by Anton Farygin
Modified: 2017-04-13 05:30 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 Anton Farygin 2017-03-14 09:37:12 MSK
control bind-chroot не оказывает никакого влияния на поведение bind при запуске с systemd. 
Это поведение не позволяет использовать bind совместно с samba.
Comment 1 Andrew Chemyakyn 2017-03-14 09:44:32 MSK
В /lib/systebd/system/bind.service нужно исправить

ExecStartPre=/usr/sbin/named-checkconf -z /etc/named.conf

на

ExecStartPre=/usr/sbin/named-checkconf -z $CHROOT /etc/named.conf
Comment 2 Repository Robot 2017-04-13 05:30:44 MSK
bind-9.10.4.P8-alt1 -> sisyphus:

* Wed Apr 12 2017 Dmitry V. Levin <ldv@altlinux> 9.10.4.P8-alt1
- 9.10.4-P6 -> 9.10.4-P8 (fixes: CVE-2017-3136, CVE-2017-3137, CVE-2017-3138).
- bind.service: pass $CHROOT to named-checkconf (closes: #33239).
- bind.init: check named configuration on startup.