Bug 123560 - gimp-print-cups %post starts cupsd in Anaconda
Summary: gimp-print-cups %post starts cupsd in Anaconda
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: gimp-print
Version: 3.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Tim Waugh
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-05-19 12:25 UTC by Jos Vos
Modified: 2007-11-30 22:07 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-05-19 13:32:56 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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.


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