[php-maint] Bug#568550: Bug#568550: php5-snmp: Possible missing dependency on snmp

Raphael Geissert geissert at debian.org
Sat Feb 6 05:05:12 UTC 2010


forcemerge 568550 558356
reassign 568550 libsnmp15 5.4.2.1~dfsg-3
retitle 568550 libsnmp15 produces a lot of error messages
affects 568550 php5-snmp
thanks

Hi,

On 5 February 2010 12:10, David Herbert <david at deadbattery.co.uk> wrote:
> Package: php5-snmp
> Version: 5.2.12.dfsg.1-2
> Severity: important
>
>
> With php5-snmp installed php or any script relying on it produce very verbose
> error messages. Eg:
>
> $ php --version
> No log handling enabled - turning on stderr logging
> Cannot find module (SNMPv2-TC): At line 10 in /usr/share/mibs/netsnmp/UCD-DLMOD-MIB
> Cannot find module (SNMPv2-SMI): At line 34 in /usr/share/mibs/netsnmp/UCD-SNMP-MIB
> Cannot find module (SNMPv2-TC): At line 37 in /usr/share/mibs/netsnmp/UCD-SNMP-MIB
[a zillion messages, refer to the original message to read them]
> Cannot adopt OID in UCD-SNMP-MIB: laIndex ::= { laEntry 1 }
> PHP 5.2.12-2 with Suhosin-Patch 0.9.7 (cli) (built: Jan 11 2010 17:30:06)
> Copyright (c) 1997-2009 The PHP Group
> Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies
>    with Suhosin v0.9.29, Copyright (c) 2007, by SektionEins GmbH
>
>
> Installing the snmp package seems to fix this, with snmp installed:
>
> $ php --version
> PHP 5.2.12-2 with Suhosin-Patch 0.9.7 (cli) (built: Jan 11 2010 17:30:06)
> Copyright (c) 1997-2009 The PHP Group
> Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies
>    with Suhosin v0.9.29, Copyright (c) 2007, by SektionEins GmbH
>
>
> I don't know anything about these packages, I discovered this after
> installing serverstats which pulls in php5-snmp as a dependancy and
> then sent me an email from cron every minute with all the above error
> rubbish, which was quite annoying!
>
> These messages are around in other bug reports, not sure how related
> this bugs are to each other. Eg: Debian bugs #560304 and #558356,
> and https://answers.launchpad.net/hplip/+question/92511
>

Thanks for the info, I had it on my to-check list. If libsnmp needs
the snmp package then libsnmp should be the one depending on it (but I
don't think the dependency is correct either).

I'm reassigning it to libsnmp with a version based on the date of the
other report against php5-snmp.

Cheers,
-- 
Raphael Geissert - Debian Developer
www.debian.org - get.debian.net





More information about the pkg-php-maint mailing list