Bug 37995

Summary: 'checkpc -f' hangs on open(/dev/irlpt0,...)
Product: [Retired] Red Hat Linux Reporter: redhat
Component: LPRngAssignee: Crutcher Dunnavant <crutcher>
Status: CLOSED RAWHIDE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: high    
Version: 7.1   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-04-27 06:07:18 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description redhat 2001-04-27 06:07:13 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.75 [de] (X11; U; Linux 2.2.16-3 i686; Nav)


/etc/init.d/lpd calls checkpc -f, which hangs an printer ports
like /dev/irlpt0. The open is blocked until a IRDA printer is
in range.

Reproducible: Always
Steps to Reproduce:
1.Configure a IRDA printer in printcap (/dev/irlpt0)
2.Start /etc/init.d/irda
3.Start /etc/init.d/lpd
	

Actual Results:  The system won't boot until an IRDA printer is recognised
by
the IRDA kernel stack and thus the open() performed by 'checkpc -f'
is returned.

Expected Results:  System should start.

Use either non-blockig open() in checkpc or comment out
the line in /etc/init.d/lpd

Comment 1 Crutcher Dunnavant 2001-10-11 14:46:41 UTC
this 'should' work now, but havent tested it. Try LPRng from rawhide, and reopen
if this is broken.