SNMP errors spamming the logs

Bug #1795861 reported by Will Cooke
22
This bug affects 5 people
Affects Status Importance Assigned to Milestone
sane-backends (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

When colord starts colord-sane spams the logs with a lot of SNMP stuff.

I spoke to the colord maintainers, and they found that:
chmod -x /usr/lib/x86_64-linux-gnu/colord-sane
stopped the spam, as you might expect.

The log messages look like this:

Oct 3 10:42:07 test-Inspiron-3137 colord[1368]: MIB search path: /var/lib/colord/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf:/usr/share/mibs/site:/usr/share/snmp/mibs:/us
r/share/mibs/iana:/usr/share/mibs/ietf:/usr/share/mibs/netsnmp
Oct 3 10:42:07 test-Inspiron-3137 colord[1368]: Cannot find module (SNMPv2-MIB): At line 1 in (none)
Oct 3 10:42:07 test-Inspiron-3137 colord[1368]: Cannot find module (IF-MIB): At line 1 in (none)
Oct 3 10:42:07 test-Inspiron-3137 colord[1368]: Cannot find module (IP-MIB): At line 1 in (none)
Oct 3 10:42:07 test-Inspiron-3137 colord[1368]: Cannot find module (TCP-MIB): At line 1 in (none)
Oct 3 10:42:07 test-Inspiron-3137 colord[1368]: Cannot find module (UDP-MIB): At line 1 in (none)
Oct 3 10:42:07 test-Inspiron-3137 colord[1368]: Cannot find module (HOST-RESOURCES-MIB): At line 1 in (none)
Oct 3 10:42:07 test-Inspiron-3137 colord[1368]: Cannot find module (NOTIFICATION-LOG-MIB): At line 1 in (none)
Oct 3 10:42:07 test-Inspiron-3137 colord[1368]: Cannot find module (DISMAN-EVENT-MIB): At line 1 in (none)
Oct 3 10:42:07 test-Inspiron-3137 colord[1368]: Cannot find module (DISMAN-SCHEDULE-MIB): At line 1 in (none)
Oct 3 10:42:07 test-Inspiron-3137 colord[1368]: Cannot find module (HOST-RESOURCES-TYPES): At line 1 in (none)
Oct 3 10:42:07 test-Inspiron-3137 colord[1368]: Cannot find module (MTA-MIB): At line 1 in (none)
Oct 3 10:42:07 test-Inspiron-3137 colord[1368]: Cannot find module (NETWORK-SERVICES-MIB): At line 1 in (none)
Oct 3 10:42:07 test-Inspiron-3137 colord[1368]: Cannot find module (SNMPv2-TC): At line 15 in /usr/share/snmp/mibs/UCD-DISKIO-MIB.txt
Oct 3 10:42:07 test-Inspiron-3137 colord[1368]: Cannot find module (SNMPv2-SMI): At line 34 in /usr/share/snmp/mibs/UCD-SNMP-MIB.txt
Oct 3 10:42:07 test-Inspiron-3137 colord[1368]: Cannot find module (SNMPv2-TC): At line 37 in /usr/share/snmp/mibs/UCD-SNMP-MIB.txt
Oct 3 10:42:07 test-Inspiron-3137 colord[1368]: Did not find 'enterprises' in module #-1 (/usr/share/snmp/mibs/UCD-SNMP-MIB.txt)
Oct 3 10:42:07 test-Inspiron-3137 colord[1368]: Did not find 'DisplayString' in module #-1 (/usr/share/snmp/mibs/UCD-SNMP-MIB.txt)
Oct 3 10:42:07 test-Inspiron-3137 colord[1368]: Did not find 'TruthValue' in module #-1 (/usr/share/snmp/mibs/UCD-SNMP-MIB.txt)
Oct 3 10:42:07 test-Inspiron-3137 colord[1368]: Unlinked OID in UCD-SNMP-MIB: ucdavis ::= { enterprises 2021 }
Oct 3 10:42:07 test-Inspiron-3137 colord[1368]: Undefined identifier: enterprises near line 39 of /usr/share/snmp/mibs/UCD-SNMP-MIB.txt
Oct 3 10:42:07 test-Inspiron-3137 colord[1368]: Did not find 'DisplayString' in module #-1 (/usr/share/snmp/mibs/UCD-DISKIO-MIB.txt)
Oct 3 10:42:07 test-Inspiron-3137 colord[1368]: Did not find 'ucdExperimental' in module UCD-SNMP-MIB (/usr/share/snmp/mibs/UCD-DISKIO-MIB.txt)
Oct 3 10:42:07 test-Inspiron-3137 colord[1368]: Unlinked OID in UCD-DISKIO-MIB: ucdDiskIOMIB ::= { ucdExperimental 15 }
Oct 3 10:42:07 test-Inspiron-3137 colord[1368]: Undefined identifier: ucdExperimental near line 19 of /usr/share/snmp/mibs/UCD-DISKIO-MIB.txt
Oct 3 10:42:07 test-Inspiron-3137 colord[1368]: Cannot find module (SNMPv2-TC): At line 10 in /usr/share/snmp/mibs/UCD-DLMOD-MIB.txt
Oct 3 10:42:07 test-Inspiron-3137 colord[1368]: Did not find 'DisplayString' in module #-1 (/usr/share/snmp/mibs/UCD-DLMOD-MIB.txt)

The theory from colord is that it could be a sane plugin which is doing this.

Is this a bug? Can something be done to stop the logs filling up with this?

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in sane-backends (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.