Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am packaging an RPM for RHEL6, built from net-snmp-5.7.2.tar.gz. I see that the file /etc/rc.d/init.d/snmpd gets created and packaged but I do not see the init file for /etc/rc.d/init.d/snmptrapd. Is snmptrapd depreciated? I did I forget pass the right switch to ./configure ?


share|improve this question
To be able to answer that, we'd have to see at least the SPEC file you are using. Did you start with the respective RHEL source RPM? – vonbrand Mar 20 '13 at 9:37
Ah thanks for the hint. The spec file does set up snmpd and I found the snmptrapd init file in the dist directory. I is called snmptrapd-init.d. – Red Cricket Mar 20 '13 at 18:55
up vote 2 down vote accepted

I found the snmptrapd init file in the dist directory. It is called snmptrapd-init.d

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.