Bug 462484 - net-snmp and net-snmp-utils contain perl scripts that should be moved to net-snmp-perl
net-snmp and net-snmp-utils contain perl scripts that should be moved to net-...
Product: Fedora
Classification: Fedora
Component: net-snmp (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jan Safranek
Fedora Extras Quality Assurance
: Reopened
Depends On:
Blocks: FedoraMini/Mobility
  Show dependency treegraph
Reported: 2008-09-16 12:47 EDT by Peter Robinson
Modified: 2008-09-26 10:02 EDT (History)
0 users

See Also:
Fixed In Version: net-snmp-5.4.2-3.fc10
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-09-26 10:02:51 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Peter Robinson 2008-09-16 12:47:35 EDT
There is already an net-snmp-perl package so the perl scripts that are currently in the net-snmp and net-snmp-utils should be moved to this sub package so that the aforementioned packages don't depend on perl as well.

The perl files are:

net-snmp package:
- Standard package

net-snmp-utils package:
Comment 1 Jan Safranek 2008-09-23 06:20:26 EDT
The purpose of net-snmp-perl package is to contain NetSNMP:: perl modules + the utilities that use it. It should not contain all perl scripts, which come with net-snmp package.

I admit that distribution of some scripts among the subpackages is bad (e.g. /usr/share/snmp/snmp_perl.pl should really go to net-snmp-perl, because it references NetSNMP::agent), but some script should be in net-snmp.rpm, because they are here to help with configuration of the snmp server (like /usr/bin/snmpconf, now wrongly distributed in net-snmp-utils) and do not have other dependencies than perl itself.

All I can do is to try fix net-snmp-utils so it won't depend on perl - the perl scripts here are useful more or less only on the server side. I can't drop net-snmp.rpm dependency on perl, even the snmpd daemon itself needs to dynamically link to libperl*.so.
Comment 2 Peter Robinson 2008-09-23 07:27:21 EDT
That would be fine if the net-snmp-utils doesn't depend on the net-snmp package so you can have the utils installed which are useful on their own without having to have the full net-snmp server installed.
Comment 3 Jan Safranek 2008-09-26 06:50:46 EDT
Fixed in net-snmp-5.4.2-2.fc10, do you *really* want to fix it in F9? Such changes should IMHO not happen in stable release.
Comment 4 Peter Robinson 2008-09-26 07:03:26 EDT
I didn't mention F-9 that I'm aware of. I'm quite happy for it to be in F-10 as that's what I'm targetting it for.
Comment 5 Peter Robinson 2008-09-26 09:12:08 EDT
reopening as net-snmp-utils requires net-snmp which in turn requires perl.
Comment 6 Jan Safranek 2008-09-26 09:47:32 EDT
oops, good catch. Utils now depends on net-snmp-libs only (to get the MIBs).

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