bin/169493: lp doesn't work on an all ZFS system
swills at FreeBSD.org
Wed Jun 27 18:00:30 UTC 2012
>Synopsis: lp doesn't work on an all ZFS system
>Arrival-Date: Wed Jun 27 18:00:30 UTC 2012
>Originator: Steve Wills
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"
1. Setup an all ZFS system.
2. Add these lines to /etc/printcap:
3. FInish configuring lpd:
echo 'lpd_enable="YES"' >> /etc/rc.conf
mkdir -p /var/spool/output/hp1320
4. Try to print:
lptest | lpr
5. See printing does not happen.
6. Also see error from lpq:
lpq: lp: cannot examine spooling area
Work around is to put the spool dir on a UFS file system. Even one backed by md works.
More information about the freebsd-bugs