From owner-freebsd-hackers Wed Mar 5 03:45:14 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id DAA10070 for hackers-outgoing; Wed, 5 Mar 1997 03:45:14 -0800 (PST) Received: from zibbi.mikom.csir.co.za (zibbi.mikom.csir.co.za [146.64.24.58]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id DAA10020 for ; Wed, 5 Mar 1997 03:44:51 -0800 (PST) Received: (from jhay@localhost) by zibbi.mikom.csir.co.za (8.8.5/8.8.5) id NAA11466; Wed, 5 Mar 1997 13:42:24 +0200 (SAT) From: John Hay Message-Id: <199703051142.NAA11466@zibbi.mikom.csir.co.za> Subject: Re: Strange lpr or lpd bug In-Reply-To: <3.0.32.19970305120112.00b117e0@dimaga.com> from Eivind Eklund at "Mar 5, 97 12:01:14 pm" To: eivind@dimaga.com (Eivind Eklund) Date: Wed, 5 Mar 1997 13:42:24 +0200 (SAT) Cc: hackers@freebsd.org X-Mailer: ELM [version 2.4ME+ PL31 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > > Problem: lp2 sometimes start to steal all the print jobs of lp. When this > has started, all jobs that should have gone to lp goes to lp2 instead (and > these are named jobs of the first form - and they are named correctly; I > syslog the name). This kind of theft has happened twice since I installed > the extra printer about 1.5 months ago. It has happened with both lpd from > 2.1.0 and lpd from -stable as of Feb 18. > > I seem to remember that killing lpd solved the problem last time; this > time, I had to remove the offending printer from printcap. > > My printcap: > # @(#)printcap 5.3 (Berkeley) 6/30/90 > > lp|HP LaserJet 5MP Network:\ > :rm=karianne.dimaga.com:sd=/var/spool/output/lpd:lf=/var/log/lpd-errs: > > lp2|local line printer:\ > :lp=/dev/lpt0:sd=/var/spool/output/lpd:lf=/var/log/lpd-errs: > Try different spool directories in the sd field. I'm using it here with different directories and have no problems. John -- John Hay -- John.Hay@mikom.csir.co.za