Bug 1473233

Summary: bind/configuration: pid-file + session-keyfile doesn't work in chroot environment
Product: Red Hat Enterprise Linux 6 Reporter: Petr Sklenar <psklenar>
Component: preupgrade-assistant-el6toel7Assignee: Petr Stodulka <pstodulk>
Status: CLOSED WONTFIX QA Contact: Alois Mahdal <amahdal>
Severity: unspecified Docs Contact: Jiri Hornicek <jhornice>
Priority: unspecified    
Version: 6.10CC: pemensik
Target Milestone: rcKeywords: Extras
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Known Issue
Doc Text:
Manually created configuration might not work correctly with the *named-chroot* service after upgrading When you use the the *named-chroot* service and when you have your own manually created configuration files in the `/var/named/chroot/` directory, the service might not work properly on the target system after the upgrade to Red Hat Enterprise Linux 7. The `options` section in the used configuration files must contain the `session-keyfile` and `pid-file` directives, such as in the following example: session-keyfile "/run/named/session.key"; pid-file "/run/named/named.pid"; The *Preupgrade Assistant* modules do not check or fix the manually created files in the `/var/named/chroot/` directory. To work around this problem, manually insert the lines above to the `options` section. If you do not have your own manually created configuration files in `/var/named/chroot/`, the configuration files of *bind*, including the `/etc/named.conf` file, are used. These configuration files are checked and fixed by the *Preupgrade Assistant* modules.
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-07-01 16:44:31 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 Petr Sklenar 2017-07-20 09:34:11 UTC
Description of problem:

Bugfix for BZ#1456630  need more care

Version-Release number of selected component (if applicable):
preupgrade-assistant-el6toel7-0.6.68-1.el6

How reproducible:
always

Steps to Reproduce:
1. pid-file + session-keyfile doesn't work in chroot environment
2. set up named with chroot, all default
3. upgrade
4. start named-chroot service and see files

Actual results:
https://bugzilla.redhat.com/show_bug.cgi?id=1456630#c7

Expected results:
pid-file + session-keyfile works also with named-chroot

Additional info:

Comment 6 Petr Stodulka 2019-07-01 16:44:31 UTC
Closing this bugzilla as the component is under a maintenance mode in which the maintainers are going to fix only critical bugs. If you consider the bugzilla critical, feel free to reopen the bug with an explanation.