Description of problem: /etc/rc.d/init.d/snmptrapd does not honor options set in /etc/snmp/snmptrapd.options More specifically, after selectively reading the contents of the /etc/snmp/snmptrapd.options file (if present), /etc/rc.d/init.d/snmptrapd goes on to hard-code a list or options for snmptrapd. This lies in questions that do this: if [ -e /etc/snmp/snmptrapd.options ]; then . /etc/snmp/snmptrapd.options else OPTIONS="-Lsd -p /var/run/snmptrapd.pid" fi OPTIONS="-Lsd -p /var/run/snmptrapd.pid" Version-Release number of selected component (if applicable): net-snmp-5.1.2-11.EL4.6 How reproducible: Steps to Reproduce: 1. Attempt to set any options in /etc/snmp/snmptrapd.options (for example '-d') 2. Restart snmptrapd: 'service snmptrapd restart' 3. Observe via 'ps' or otherwise that the added options are not in use. Actual results: options set in /etc/snmp/snmptrapd.options are ignored Expected results: options set in /etc/snmp/snmptrapd.options are honored Additional info:
Typo in my description, sorry. The phrase 'This lies in questions' should have been 'The lines in question'.
This is already fixed in rawhide, I'm adding it on proposed list for next update
*** Bug 198532 has been marked as a duplicate of this bug. ***
This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux maintenance release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Update release for currently deployed products. This request is not yet committed for inclusion in an Update release.
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 the 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-2007-0183.html