Bug 680775 - [RFE] Enhance resource agent for named
Summary: [RFE] Enhance resource agent for named
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: resource-agents
Version: 14
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Chris Feist
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-02-27 17:12 UTC by Colin.Simpson
Modified: 2012-08-16 12:46 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-08-16 12:46:52 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Colin.Simpson 2011-02-27 17:12:16 UTC
The resource agent for named could do with enhancement.

This agent is great but could benefit from a few changes. 

1/ It runs the daemon as root. This isn't desirable. There isn't much required
to change this. Passing named daemon launch line a "-u named" and chowning the
directory that holds the pid file seems to be enough (I did this with a chown
named:named `dirname $NAMED_pid_file`, after the creation routine there is
probably a cleaner way, it may even be better to chgrp and chmod g+w, haven't
checked).

2/ Even though this agent changes the listen address to match the IP address of
passed to the service. Zone Transfers etc always come from the main IP of the
node running the service. This isn't perfect as these are often secured by
source IP (on the up level boxes) (and this is a hassle if a large number of
nodes in the cluster) and it is confusing that it isn't the cluster service IP. 

The resource script should probably (even if by an option) change not just
listen-on but set "transfer-source", "query-source", "notify-source". There
maybe others.

RHEL 6 could do with these features too, I have added a bug report for that as Bug #680748.

Comment 1 Fedora End Of Life 2012-08-16 12:46:54 UTC
This message is a notice that Fedora 14 is now at end of life. Fedora 
has stopped maintaining and issuing updates for Fedora 14. It is 
Fedora's policy to close all bug reports from releases that are no 
longer maintained.  At this time, all open bugs with a Fedora 'version'
of '14' have been closed as WONTFIX.

(Please note: Our normal process is to give advanced warning of this 
occurring, but we forgot to do that. A thousand apologies.)

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, feel free to reopen 
this bug and simply change the 'version' to a later Fedora version.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we were unable to fix it before Fedora 14 reached end of life. If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora, you are encouraged to click on 
"Clone This Bug" (top right of this page) and open it against that 
version of Fedora.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping


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