Bug 93413

Summary: lpd does not remove lock file from /var/spool/lpd/{printername}
Product: Base System Reporter: Michael Szklarski <dysoft>
Component: amd64Assignee: freebsd-amd64 (Nobody) <amd64>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description Michael Szklarski 2006-02-16 00:20:11 UTC
On a system running GA-K8NF-9 with AMD64 3500+ with a HP DeskJet 710C connected to lpt0, printer refuses to print with parallel port in interrupt mode (this is described in the Handbook).
After switching to polled-standard or polled-extended, first "lpr" command runs successful printout, but lpd does not remove its lock file from /var/spool/lpd/{printername}, making next printouts impossible.
Look at this:

total 6
-rw-r----x  1 root  daemon   4 Feb 16 01:03 .seq
---xrwS--T  1 root  daemon  20 Feb 16 01:03 lock
-rw-rw-r--  1 root  daemon  28 Feb 16 01:03 status

and here comes the lock file itself:

782
cfA003Tygrytron

as you notice, there is no cfA003Tygrytron file in /var/spool/lpd/{printername} directory. Removing the lock file helps - for a single printout.
Comment 1 m.szklarski 2006-05-09 08:42:29 UTC
This is a consequence of a bug amd64/93469 , for which I have provided fix 
description.
Comment 2 Tilman Keskinoz freebsd_committer freebsd_triage 2006-07-06 13:13:17 UTC
State Changed
From-To: open->closed

Superseded by amd64/93469