Public bug reported:

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?

** Affects: sane-backends (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1795861

Title:
  SNMP errors spamming the logs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sane-backends/+bug/1795861/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to