Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Feb 2006 00:15:01 GMT
From:      Michael Szklarski <dysoft@kco.com.pl>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   amd64/93413: lpd does not remove lock file from /var/spool/lpd/{printername}
Message-ID:  <200602160015.k1G0F1TT092343@www.freebsd.org>
Resent-Message-ID: <200602160020.k1G0KCb9083254@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200602160015.k1G0F1TT092343>