Bug #6838
closedbsnmpd logs errors when /etc/printcap is missing
100%
Description
We do not ship with an /etc/printcap file but it appears that bsnmpd does not like that fact. When probed in various ways (especially when querying SNMP OID 1.3.6.1.2.1.25.3.5 ), bsnmpd logs an error to the system log:
snmpd[67512]: hrPrinterTable: printcap entry for <noname?> has errors, skipping
With an empty /etc/printcap (touch /etc/printcap
), no errors are logged.
We could include a blank printcap or include the FreeBSD default printcap file which is logically empty as it all of its contents are comments.
Updated by Kill Bill about 8 years ago
Yeah, filed this as #6810, please close that one as duplicate.
Updated by Jim Pingle about 8 years ago
Somehow I completely missed that ticket when looking into this. I'll close the older one out since this one has a viable workaround on it.
Updated by Jim Pingle about 8 years ago
- Status changed from New to Feedback
- % Done changed from 0 to 100
Applied in changeset 63b44eed9eeaa32567c1234c37dbce2e15dc8d37.
Updated by Jim Pingle almost 8 years ago
- Status changed from Feedback to Resolved
Seems to be fine now, no more log spam and the dummy printcap file is there as expected.
Updated by Jim Pingle almost 8 years ago
- Target version changed from 2.4.0 to 2.3.3