Bug 22496 - lpr does not startup after `lprm`
lpr does not startup after `lprm`
Status: CLOSED WONTFIX
Product: Red Hat Linux
Classification: Retired
Component: lpr (Show other bugs)
5.2
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Crutcher Dunnavant
David Lawrence
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2000-12-19 07:15 EST by Need Real Name
Modified: 2007-04-18 12:30 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2000-12-19 07:15:11 EST
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 Need Real Name 2000-12-19 07:15:07 EST
$ rpm -q lpr
lpr-0.50-5

lprm reported :
cannot dequeue dfA488psylab.unn.ac.ru
cfA488psylab.unn.ac.ru dequeued
lprm: connect: Connection refused
lprm: lp: cannot restart printer daemon

In source code i see next sequence:
1. Kill daemon with SIGINT (rmjob.c:119)
2. lpd call mcleanup (lpd.c:173)
3. mcleanup() remove _PATH_SOCKETNAME (lpd.c:290)
4. after kill job LPRM call startdaemon (rmjob.c:134)
5. startdaemon try bind with _PATH_SOCKETNAME (startdaemon.c:69)
but it was deleted in step 3 (!!!!)

and work string 71 in startdaemon.c with results (see below).

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