Date: Sat, 30 Mar 2002 23:44:51 +0100 (CET) From: Matthias Buelow <mkb@altair.mukappabeta.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: bin/36552: lpd doesn't delete spool files Message-ID: <20020330224451.84E5E460@altair.mukappabeta.net>
next in thread | raw e-mail | index | archive | help
>Number: 36552 >Category: bin >Synopsis: lpd doesn't delete spool files >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Mar 30 14:50:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Matthias Buelow >Release: FreeBSD 4.5-20020326-STABLE i386 >Organization: >Environment: System: FreeBSD altair.mukappabeta.net 4.5-20020326-STABLE FreeBSD 4.5-20020326-STABLE #0: Sat Mar 30 03:08:40 CET 2002 root@:/usr2/src/sys/compile/ALTAIR i386 >Description: After successful printing a file on a remote printer, lpd doesn't remove the file in the spool dir, thus locking up the printing service and printing it again if the daemon is restarted. >How-To-Repeat: I've got the following printcap: ps|remote laser postscript printer:\ :sd=/var/spool/output/lpd:lf=/var/log/lpd-errs:\ :of=/usr/local/sbin/psfilt:\ :sh:rm=eps1:rp=wastebasket_p1: using a Lantronix EPS1 printer server. The /usr/local/sbin/psfilt script, used as output filter, contains the following line: gs -q -dSAFER -sDEVICE=ljet4 -sPAPERSIZE=a4 -sOutputFile=- - Printing a postscript file works but it leaves the spool file hanging around: # lpq -Pps altair.mukappabeta.net: sending to eps1 Rank Owner Job Files Total Size 1st mkb 2 test.ps 182732 bytes Posn Entry Source Node Service Port Status Source -- 192.168.0.1 WASTEBASKET_P1 Port_2 Active RLpr 2 17 192.168.0.1 WASTEBASKET_P1 N/A Queued RLpr # ls -la /var/spool/output/lpd total 192 drwxrwxr-x 2 root daemon 512 Mar 30 23:35 . drwxr-xr-x 3 root daemon 512 Mar 30 23:27 .. -rw-r----x 1 root daemon 4 Mar 30 23:34 .seq -rw-rw---- 1 daemon daemon 122 Mar 30 23:34 cfA002altair.mukappabeta.net -rw-rw---- 1 mkb daemon 182732 Mar 30 23:34 dfA002altair.mukappabeta.net -rw-rw-r-- 1 root daemon 0 Mar 30 23:34 errs.G9KhLPX -rw-rw-r-- 1 root daemon 35 Mar 30 23:35 lock -rw-rw-r-- 1 root daemon 16 Mar 30 23:34 status >Fix: No clue, except replacing the blasted BSD lpd, which is always causing trouble, with something that works, like LPRng. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020330224451.84E5E460>