Bug 123560

Summary: gimp-print-cups %post starts cupsd in Anaconda
Product: Red Hat Enterprise Linux 3 Reporter: Jos Vos <jos>
Component: gimp-printAssignee: Tim Waugh <twaugh>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 3.0   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-05-19 13:32:56 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 Jos Vos 2004-05-19 12:25:48 UTC
Description of problem:
The %post section of gimp-print-cups does a "cups reload".  Even
during an initial install, this actually starts cupsd, that dies after
a while, but it delays the install for several minutes.

Version-Release number of selected component (if applicable):
gimp-print-cups-4.2.4-5

Solution:
As there is no "condreload", the "cups reload" should be replaced by a
"cups condrestart", IMHO.

Additional info:
I have seen this problem on an own RHEL3 rebuild, I do not know for
sure if RHEL3 includes the gimp-print-cups subpackage.

Comment 1 Tim Waugh 2004-05-19 12:30:23 UTC
This is entirely intentional.  The delay has to happen some time: it's
better at package install than at next boot.


Comment 2 Jos Vos 2004-05-19 12:42:48 UTC
Are you seriously saying that is is intentionally to *start* cupsd *in
Anaconda* (which is what happens now)?  I don't know why cupsd died
after a few minutes, but it was also eating nearly 100% CPU time, more
or less stopping the install (I'm not sure if the %post script was
still running, forgot to check, but the install only proceeded after
cupsd died).

A simple check on /var/lock/subsys/cups would also help...

Comment 3 Tim Waugh 2004-05-19 13:32:56 UTC
Yes, this is intentional, as I mentioned in comment #1.

It is building the PPDs database (and exiting), using the --ppdsdat
option.