bin/169493: lp doesn't work on an all ZFS system
Steve Wills
swills at FreeBSD.org
Wed Jun 27 18:00:30 UTC 2012
>Number: 169493
>Category: bin
>Synopsis: lp doesn't work on an all ZFS system
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Wed Jun 27 18:00:30 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Steve Wills
>Release:
>Organization:
>Environment:
>Description:
I setup lpd to print to a remote printer. My system uses all ZFS so the spool directory is on ZFS too. After initially setting it up, lpd runs, but does not print. Also, I get an error from lpq saying "cannot examine spooling area"
>How-To-Repeat:
1. Setup an all ZFS system.
2. Add these lines to /etc/printcap:
lp|hp1320:\
:sh:\
:rp=lp:\
:mx#0:\
:rm=hp1320:sd=/var/spool/output/hp1320:lf=/var/log/lpd-errs:
3. FInish configuring lpd:
echo 'lpd_enable="YES"' >> /etc/rc.conf
mkdir -p /var/spool/output/hp1320
/etc/rc.d/lpd start
4. Try to print:
lptest | lpr
5. See printing does not happen.
6. Also see error from lpq:
% lpq
lpq: lp: cannot examine spooling area
>Fix:
Work around is to put the spool dir on a UFS file system. Even one backed by md works.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list