SNMP errors spamming the logs
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/
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/
r/share/
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
Oct 3 10:42:07 test-Inspiron-3137 colord[1368]: Cannot find module (NOTIFICATION-
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-
Oct 3 10:42:07 test-Inspiron-3137 colord[1368]: Cannot find module (HOST-RESOURCES
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-
Oct 3 10:42:07 test-Inspiron-3137 colord[1368]: Cannot find module (SNMPv2-TC): At line 15 in /usr/share/
Oct 3 10:42:07 test-Inspiron-3137 colord[1368]: Cannot find module (SNMPv2-SMI): At line 34 in /usr/share/
Oct 3 10:42:07 test-Inspiron-3137 colord[1368]: Cannot find module (SNMPv2-TC): At line 37 in /usr/share/
Oct 3 10:42:07 test-Inspiron-3137 colord[1368]: Did not find 'enterprises' in module #-1 (/usr/share/
Oct 3 10:42:07 test-Inspiron-3137 colord[1368]: Did not find 'DisplayString' in module #-1 (/usr/share/
Oct 3 10:42:07 test-Inspiron-3137 colord[1368]: Did not find 'TruthValue' in module #-1 (/usr/share/
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/
Oct 3 10:42:07 test-Inspiron-3137 colord[1368]: Did not find 'DisplayString' in module #-1 (/usr/share/
Oct 3 10:42:07 test-Inspiron-3137 colord[1368]: Did not find 'ucdExperimental' in module UCD-SNMP-MIB (/usr/share/
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/
Oct 3 10:42:07 test-Inspiron-3137 colord[1368]: Cannot find module (SNMPv2-TC): At line 10 in /usr/share/
Oct 3 10:42:07 test-Inspiron-3137 colord[1368]: Did not find 'DisplayString' in module #-1 (/usr/share/
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?
Status changed to 'Confirmed' because the bug affects multiple users.