amd64/93413: lpd does not remove lock file from /var/spool/lpd/{printername}

Michael Szklarski dysoft at kco.com.pl
Wed Feb 15 16:20:12 PST 2006


>Number:         93413
>Category:       amd64
>Synopsis:       lpd does not remove lock file from /var/spool/lpd/{printername}
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-amd64
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 16 00:20:11 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Michael Szklarski
>Release:        6.0
>Organization:
ABG Ster-Projekt
>Environment:
FreeBSD Tygrytron 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Sat Feb 11 00:30:29 CET 2006     msz at Tygrytron:/usr/src/sys/amd64/compile/Tygrytron  amd64
>Description:
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.

>How-To-Repeat:
              
>Fix:
              
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-amd64 mailing list