Bug 1277820
Summary: | bind doesn't start to due wrong systemd startup script | |||
---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Gerhard Wiesinger <redhat> | |
Component: | bind | Assignee: | Tomáš Hozza <thozza> | |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | |
Severity: | urgent | Docs Contact: | ||
Priority: | unspecified | |||
Version: | 23 | CC: | psimerda, thozza, vonsch | |
Target Milestone: | --- | Keywords: | Reopened | |
Target Release: | --- | |||
Hardware: | All | |||
OS: | Linux | |||
Whiteboard: | ||||
Fixed In Version: | bind-9.10.3-2.fc23 | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1278082 (view as bug list) | Environment: | ||
Last Closed: | 2015-11-08 06:50:38 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: |
Description
Gerhard Wiesinger
2015-11-04 07:08:20 UTC
When using bind-chroot package, everything is prepared in a way so that you don't have to think about the chroot directory. This means that all zone files and configuration is bind-mounted automatically (by named-chroot-setup.service) into the chroot environment. This happens ONLY if the files and directories are NOT present inside the chroot environment before the bind-mount happens. This means that you should keep the configuration in the standard places (/etc/named.conf, /var/named/*, etc.) and then just start the named-chroot.service. If you copy the configuration into the chroot directory, then you'll have to modify the service files yourself. I'm not going to change the service files, since everything works when used in a way I described. For more information, please refer to the "Running BIND in a chroot environment" section of https://docs.fedoraproject.org/en-US/Fedora/22/html/Networking_Guide/sec-bind-namedconf.html OK, config was from a system before the automatismus was implemented and it had to be done manually. Worked well with FC22. Moved to standard bind config. Works well now. Thnx. BTW: Doesn't it look like a bug then in FC22, because that changed from FC22 to FC23 /usr/lib/systemd/system/named-chroot.service ExecStartPre=/usr/sbin/named-checkconf -t /var/named/chroot -z /etc/named.conf (In reply to Gerhard Wiesinger from comment #3) > BTW: Doesn't it look like a bug then in FC22, because that changed from FC22 > to FC23 > /usr/lib/systemd/system/named-chroot.service > ExecStartPre=/usr/sbin/named-checkconf -t /var/named/chroot -z > /etc/named.conf Good catch. Will fix it soon... bind-9.10.3-2.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2015-aad2c8ec85 bind-9.10.3-2.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with $ su -c 'dnf --enablerepo=updates-testing update bind' You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-aad2c8ec85 bind-9.10.3-2.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report. |