Bug 37995 - 'checkpc -f' hangs on open(/dev/irlpt0,...)
'checkpc -f' hangs on open(/dev/irlpt0,...)
Status: CLOSED RAWHIDE
Product: Red Hat Linux
Classification: Retired
Component: LPRng (Show other bugs)
7.1
i386 Linux
high Severity medium
: ---
: ---
Assigned To: Crutcher Dunnavant
David Lawrence
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2001-04-27 02:07 EDT by redhat
Modified: 2007-03-26 23:43 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2001-04-27 02:07:18 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description redhat 2001-04-27 02:07:13 EDT
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 10:46:41 EDT
this 'should' work now, but havent tested it. Try LPRng from rawhide, and reopen
if this is broken.

Note You need to log in before you can comment on or make changes to this bug.