RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 625846 - Can't add extra arguments to dhcrelay daemon
Summary: Can't add extra arguments to dhcrelay daemon
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: dhcp
Version: 6.1
Hardware: All
OS: Linux
low
low
Target Milestone: rc
: ---
Assignee: Jiri Popelka
QA Contact: Release Test Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-08-20 15:31 UTC by Jiri Popelka
Modified: 2011-05-19 14:04 UTC (History)
6 users (show)

Fixed In Version: dhcp-4.1.1-13.P1.el6
Doc Type: Bug Fix
Doc Text:
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.
Clone Of:
Environment:
Last Closed: 2011-05-19 14:04:57 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2011:0697 0 normal SHIPPED_LIVE dhcp bug fix and enhancement update 2011-05-18 18:10:16 UTC

Description Jiri Popelka 2010-08-20 15:31:46 UTC
+++ This bug was initially created as a clone of Bug #624965 +++

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):
dhcp-3.0.5-23.el5_5.1

How reproducible:
Always

Steps to Reproduce:
1. Try to add -a somewhere to /etc/sysconfig/dhcrelay, but you fail to do so.
  
Actual results:
dhcrelay agent running without -a

Expected results:
dhcrelay agent running with -a

Additional info:
As a workaround, we add '-a' sneakely to variable DHCPSERVERS in /etc/sysconfig/dhcrelay, for instance
  DHCPSERVERS="-a 10.120.3.250"

Other initscripts use a configurable variables for this situation: DHCPDARGS (dhcpd), SYSLOGD_OPTIONS (syslog), EXTRAOPTIONS (xinetd). That is my suggestion to fix this bug.

--- Additional comment from jpopelka on 2010-08-20 14:04:42 CEST ---

Variable EXTRAOPTIONS (for options other than -i) sounds good to me.

Comment 1 Jiri Popelka 2010-08-20 15:35:32 UTC
http://pkgs.fedoraproject.org/gitweb/?p=dhcp.git;a=commitdiff;h=1eb7b33d5572d8c8dc3230ae3204f674bee3ca42

Low priority because there's a workaround in 'sneakily' misusing the DHCPSERVERS variable.

Version-Release number of selected component (if applicable):
dhcp-4.1.1-11.P1.el6

Comment 5 Tomas Capek 2011-05-10 14:22:54 UTC
    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.
    
    New Contents:
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.

Comment 6 errata-xmlrpc 2011-05-19 14:04:57 UTC
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.

http://rhn.redhat.com/errata/RHBA-2011-0697.html


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