Description of problem:
In our network, we have to use the -a option for the dhcrelay daemon. Currently, I see no 'clean' way to achieve this: only the variables INTERFACES and DHCPSERVERS can be changed.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Try to add -a somewhere to /etc/sysconfig/dhcrelay, but you fail to do so.
dhcrelay agent running without -a
dhcrelay agent running with -a
As a workaround, we add '-a' sneakely to variable DHCPSERVERS in /etc/sysconfig/dhcrelay, for instance
Other initscripts use a configurable variables for this situation: DHCPDARGS (dhcpd), SYSLOGD_OPTIONS (syslog), EXTRAOPTIONS (xinetd). That is my suggestion to fix this bug.
Variable EXTRAOPTIONS (for other options than -i) sounds good to me.
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.
This request was erroneously denied for the current release of
Red Hat Enterprise Linux. The error has been fixed and this
request has been re-proposed for the current release.
in dhcp-3.0.5-29 there is
DHCRELAYARGS variable in /etc/sysconfig/dhcrelay. When adding arguments to it they are passed to the dhcrelay daemon.
Technical note added. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
Previously, it was impossible to configure the dhcrelay service to run the dhcrelay daemon with additional arguments. With this update, a DHCRELAYARGS variable is available for the /etc/sysconfig/dhcrelay configuration file, which allows additional arguments to be passed to the dhcrelay daemon properly.
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.