Bug 174800

Summary: php-snmp spams error_log/stderr
Product: [Fedora] Fedora Reporter: Joe Orton <jorton>
Component: phpAssignee: Joe Orton <jorton>
Status: CLOSED RAWHIDE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 5.1.1-5 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-12-08 11:35:09 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Joe Orton 2005-12-02 11:53:54 UTC
Description of problem:
With php-snmp installed the error_log (or stderr) is getting spammed at startup.

No log handling enabled - turning on stderr logging
Cannot find module (IP-MIB): At line 0 in (none)
Cannot find module (IF-MIB): At line 0 in (none)
Cannot find module (TCP-MIB): At line 0 in (none)
Cannot find module (UDP-MIB): At line 0 in (none)
Cannot find module (HOST-RESOURCES-MIB): At line 0 in (none)
Cannot find module (SNMPv2-MIB): At line 0 in (none)

Comment 1 Joe Orton 2005-12-07 13:30:24 UTC
This happens iff net-snmp-libs is installed but not net-snmp.  If net-snmp-libs
will not work correctly without net-snmp installed the former should require the
latter?  Or should I just make php-snmp require net-snmp explicitly?

Comment 2 Radek Vokál 2005-12-08 07:40:52 UTC
I guess net-snmp-libs should be required for build and net-snmp package in
requires so the MIBs can be used. 

Comment 3 Joe Orton 2005-12-08 08:52:16 UTC
So I should change the PHP requires, Radek, that's what you're saying?

Comment 4 Radek Vokál 2005-12-08 08:57:52 UTC
Yep, I think
Requires: 	net-snmp
BuildRequires: 	net-snmp-libs

 

Comment 5 Joe Orton 2005-12-08 11:35:09 UTC
OK thanks a lot.