Bug 1134475

Summary: dependency in perl package
Product: [Fedora] Fedora Reporter: Robert Story <rs>
Component: net-snmpAssignee: Jan Safranek <jsafrane>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 19CC: jsafrane, thozza
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: net-snmp-5.7.2-23.fc21 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-09-09 22:10:47 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Robert Story 2014-08-27 14:33:43 UTC
Description of problem:
the net-snmp-cert tool in the net-snmp-perl package depends on net-snmp-config (see error below).

Version-Release number of selected component (if applicable):


How reproducible:
every time

Steps to Reproduce:
1. install net-snmp-perl (without net-snmp-devel)
2. run a command from net-snmp DTLS tutorial wiki page:
net-snmp-cert  -t tutorial-joecool import \
      http://www.net-snmp.org/tutorial/tutorial-5/certificates/tutorial-joecool.crt \
      http://www.net-snmp.org/tutorial/tutorial-5/certificates/tutorial-joecool.key

Actual results:
net-snmp-config not found: please install at /usr/bin/net-snmp-cert line 1417.

Expected results:
No error

Additional info:
I am an upstream developer on the net-snmp project, and we'd really like for the net-snmp-config script to be in the base net-snmp package. Our config script does more than simply spit out devel flags. It is also useful for other tools and when debugging user issues.

Comment 1 Jan Safranek 2014-08-28 09:11:01 UTC
All that net-snmp-cert needs from net-snmp-config is 'net-snmp-config --snmpconfpath', can't it be in net-snmp-cert?

I don't want to have net-snmp-perl dependent on -devel package.

What about having net-snmp-cert.in and ./configure adding there list of config directories in the same way as it creates net-snmp-config from net-snmp-config.in?

Comment 2 Jan Safranek 2014-09-01 11:02:14 UTC
I hardcode the paths to net-snmp-perl for the time being + I will patch upstream like I suggested above when 5.7.x is un-frozen.

Comment 3 Fedora Update System 2014-09-01 11:10:51 UTC
net-snmp-5.7.2-15.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/net-snmp-5.7.2-15.fc19

Comment 4 Fedora Update System 2014-09-01 11:10:59 UTC
net-snmp-5.7.2-18.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/net-snmp-5.7.2-18.fc20

Comment 5 Fedora Update System 2014-09-01 11:11:08 UTC
net-snmp-5.7.2-23.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/net-snmp-5.7.2-23.fc21

Comment 6 Fedora Update System 2014-09-01 19:45:10 UTC
Package net-snmp-5.7.2-23.fc21:
* should fix your issue,
* was pushed to the Fedora 21 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing net-snmp-5.7.2-23.fc21'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-9982/net-snmp-5.7.2-23.fc21
then log in and leave karma (feedback).

Comment 7 Fedora Update System 2014-09-09 22:10:47 UTC
net-snmp-5.7.2-18.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2014-09-10 13:27:27 UTC
net-snmp-5.7.2-15.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2014-09-23 05:00:40 UTC
net-snmp-5.7.2-23.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.