Bug 22496 - lpr does not startup after `lprm`
Summary: lpr does not startup after `lprm`
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: lpr   
(Show other bugs)
Version: 5.2
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Crutcher Dunnavant
QA Contact: David Lawrence
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2000-12-19 12:15 UTC by Need Real Name
Modified: 2007-04-18 16:30 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2000-12-19 12:15:11 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

Description Need Real Name 2000-12-19 12:15:07 UTC
$ 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.