Bug 1473233 - bind/configuration: pid-file + session-keyfile doesn't work in chroot environment
bind/configuration: pid-file + session-keyfile doesn't work in chroot environ...
Status: ASSIGNED
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: preupgrade-assistant-el6toel7 (Show other bugs)
6.10
Unspecified Unspecified
unspecified Severity unspecified
: rc
: ---
Assigned To: pstodulk
Alois Mahdal
Jiri Hornicek
: Extras
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-07-20 05:34 EDT by Petr Sklenar
Modified: 2017-09-04 09:24 EDT (History)
3 users (show)

See Also:
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:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Petr Sklenar 2017-07-20 05:34:11 EDT
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:

Note You need to log in before you can comment on or make changes to this bug.