Bug 134080

Summary: cupsd not started after clicking "Apply"
Product: [Fedora] Fedora Reporter: Nader Khalid Alzain <nadir.elzein>
Component: cupsAssignee: Tim Waugh <twaugh>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 3   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 1.1.21-5 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-10-05 10:54:00 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On:    
Bug Blocks: 130887    

Description Nader Khalid Alzain 2004-09-29 10:38:17 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; rv:1.7.3) Gecko/20040914
Firefox/0.10

Description of problem:
cupsd process crashes after making any changes in
system-config-printer and clicking "Apply"

Version-Release number of selected component (if applicable):
system-config-printer-0.6.112-1 and cups-1.1.21-1.rc2.1

How reproducible:
Always

Steps to Reproduce:
1. make sure cupsd is already running
2. bring up system-config-printer
3. make any change to an existing printer
4. click "Apply"
    

Actual Results:  cupsd process disappears

Expected Results:  cupsd restarted fine

Additional info:

Nothing interesting in /var/log/cups/error_log.
"/etc/init.d/cups start" put things back in order
Comment 1 Tim Waugh 2004-09-29 12:38:33 EDT
Please try with cups-1.1.21-3.  Thanks.
Comment 2 Nader Khalid Alzain 2004-09-30 09:02:17 EDT
I installed cups-1.1.21-3, but without change in behavior.
I tried a different scenario:
1. Manually stop cupsd
2. Bring up system-config-printer and press "Apply"
The result is that cupsd now starts up fine!
I feel it is a simple issue with the code behind "Apply" button not
properly handling stopping/starting/restarting sequences. This bug
does not happen in system-config-printer-0.6.98-1.
I've downgraded priority to normal since I don't show any evidence of
cups crashing.
Comment 3 Tim Waugh 2004-09-30 09:06:17 EDT
What does /sbin/chkconfig --list cups say?

Are there jobs in the queue at the point you press "Apply"?
Comment 4 Nader Khalid Alzain 2004-09-30 09:19:46 EDT
[nelzein@envoy ~]$ /sbin/chkconfig --list cups
cups            0:off   1:off   2:on    3:on    4:on    5:on    6:off
No jobs running in any of the test cases.
Comment 5 Tim Waugh 2004-10-04 07:33:43 EDT
I see this here now.  cupsd is segfaulting shortly after getting the
SIGHUP.
Comment 6 Tim Waugh 2004-10-04 09:53:21 EDT
Please try cups-1.1.21-5.
Comment 7 Nader Khalid Alzain 2004-10-05 10:42:56 EDT
I have installed cups-1.1.21-5 and tested successfully.
system-config-printer works fine, and the bug can be closed.
Thank you!