Bug 773595
Summary: | bind-chroot-admin changes /etc/named.conf owhership but doesn't change it's perms | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | Greg Matthews <greg.matthews> | |
Component: | bind | Assignee: | Tomáš Hozza <thozza> | |
Status: | CLOSED CURRENTRELEASE | QA Contact: | qe-baseos-daemons | |
Severity: | high | Docs Contact: | ||
Priority: | urgent | |||
Version: | 5.7 | CC: | azelinka, cedrie+rhelbugzilla, cww, jlyle, ovasik | |
Target Milestone: | rc | Keywords: | ZStream | |
Target Release: | --- | |||
Hardware: | x86_64 | |||
OS: | Linux | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | Bug Fix | ||
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 865572 (view as bug list) | Environment: | ||
Last Closed: | 2013-09-23 11:23:05 UTC | Type: | --- | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | ||||
Bug Blocks: | 798457, 836232, 857056, 865572 |
Description
Greg Matthews
2012-01-12 11:16:43 UTC
Both /var/named/chroot/etc/named.conf and /etc/named.conf should have root:named ownership and both should have 640 permissions. Can you please check if your named.conf has correct perms? Did you modify default perms somehow? my named.conf has permissions 0600. But it was working perfectly before the package update (and I could use /etc/init.d/named restart). The update altered permissions so that it no longer started - as it also involved a restart of the named process, the daemon died during the update with no warning. I don't understand why the update changed the ownership of the file. It should not have touched what is a custom config file. correction to the above, the update changed the /ownership/ of the file not the permissions. Thanks for your feedback, now I understand why this happened. When you have bind-chroot installed, the /usr/sbin/bind-chroot-admin script is executed every time when bind is updated. This script automatically changes ownership of the /etc/named.conf to root.named but it doesn't change it's perms, which is a bug. aahh... I was not aware of this script. I agree that if it changes ownership it should also make sure perms are correct so that the daemon can start. The other minor bug that is thrown up by this, is the syslog message referring to /etc/named.conf instead of $ROOTDIR/etc/named.conf. thanks for the speedy attention - hope the fix makes it into the next release. This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux release for currently deployed products. This request is not yet committed for inclusion in a release. This request was evaluated by Red Hat Product Management for inclusion in the current release of Red Hat Enterprise Linux. Because the affected component is not scheduled to be updated in the current release, Red Hat is unfortunately unable to address this request at this time. Red Hat invites you to ask your support representative to propose this request, if appropriate and relevant, in the next release of Red Hat Enterprise Linux. still not fixed I see. This was identified in january to be a bug in the bind-chroot-admin script. New releases of this package have been come and gone and it still silently fails to restart bind. |