From owner-freebsd-hackers Wed Mar 5 03:03:05 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id DAA08642 for hackers-outgoing; Wed, 5 Mar 1997 03:03:05 -0800 (PST) Received: from nic.follonett.no (nic.follonett.no [194.198.43.10]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id DAA08637 for ; Wed, 5 Mar 1997 03:02:40 -0800 (PST) Received: (from uucp@localhost) by nic.follonett.no (8.8.5/8.8.3) with UUCP id LAA04303 for hackers@freebsd.org; Wed, 5 Mar 1997 11:58:52 +0100 (MET) Received: from oo7 (oo7.dimaga.com [192.0.0.65]) by dimaga.com (8.7.5/8.7.2) with SMTP id MAA06861 for ; Wed, 5 Mar 1997 12:01:13 +0100 (MET) Message-Id: <3.0.32.19970305120112.00b117e0@dimaga.com> X-Sender: eivind@dimaga.com X-Mailer: Windows Eudora Pro Version 3.0 (32) Date: Wed, 05 Mar 1997 12:01:14 +0100 To: hackers@freebsd.org From: Eivind Eklund Subject: Strange lpr or lpd bug Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Two printers connected to one FreeBSD server; all prints are done using either $ lpr -s -h -r -P (spawned by a shell script spawned by samba) or $ lpr -h (spawned by hand by me - nobody else use lpr from the command line) 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: If anybody can supply ideas for things to test, I'll try to make the problem reproducable and hunt it down. Eivind Eklund perhaps@yes.no http://maybe.yes.no/perhaps/ eivind@freebsd.org