Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Jun 2012 17:57:12 GMT
From:      Steve Wills <swills@FreeBSD.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   bin/169493: lp doesn't work on an all ZFS system
Message-ID:  <201206271757.q5RHvCjA003758@red.freebsd.org>
Resent-Message-ID: <201206271800.q5RI0U3l078437@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201206271757.q5RHvCjA003758>