Project

General

Profile

Actions

Bug #6838

closed

bsnmpd logs errors when /etc/printcap is missing

Added by Jim Pingle about 8 years ago. Updated almost 8 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
SNMP
Target version:
Start date:
10/05/2016
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.3.x
Affected Architecture:

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.

Actions

Also available in: Atom PDF