Bug 430011

Summary: ipa-webgui init script should verify that ipa-webgui started successfully
Product: [Retired] freeIPA Reporter: Chandrasekar Kannan <ckannan>
Component: ipa-serverAssignee: Rob Crittenden <rcritten>
Status: CLOSED ERRATA QA Contact: Chandrasekar Kannan <ckannan>
Severity: high Docs Contact:
Priority: medium    
Version: 1.0CC: benl, mgregg, rcritten, ssorce, yzhang
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: freeipa-2.0.0-1.fc15 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 246164, 429034    
Attachments:
Description Flags
Add debug, foreground flags. Enable logging in script to catch startup errs none

Description Chandrasekar Kannan 2008-01-24 06:44:27 UTC
Ticket #95 (assigned defect)

Opened 2 months ago

Last modified 2 months ago
ipa-webgui init script should verify that ipa-webgui started successfully
Reported by: 	kmacmill 	Assigned to: 	kmacmill (accepted)
Priority: 	major 	Milestone: 	release-1
Component: 	ipa-server 	Version: 	
Keywords: 		Cc: 	
Description ¶

The init script does not seem to check errors properly - it is possible for the web gui to silently fail.
Change History
2007-11-14 08:39:46 changed by kmacmill ¶

    * status changed from new to assigned.
    * milestone changed from milestone-5 to release-1.

Comment 1 Rob Crittenden 2008-01-29 22:49:18 UTC
*** Bug 430314 has been marked as a duplicate of this bug. ***

Comment 2 Rob Crittenden 2008-01-30 16:57:00 UTC
Created attachment 293450 [details]
Add debug, foreground flags. Enable logging in script to catch startup errs

Some errors aren't detected until the server receives its first request
(something already using the port, for example).

This patch adds logging during startup so it should be easier to track down
errors.

Also a -f flag for preventing the script from becoming a daemon and -d flag for
increasing the debug level of the log.

Comment 3 Rob Crittenden 2008-01-30 20:10:59 UTC
Committed in changeset 610

Comment 6 Rob Crittenden 2008-01-31 16:40:24 UTC
*** Bug 430316 has been marked as a duplicate of this bug. ***

Comment 7 Chandrasekar Kannan 2008-04-16 16:48:11 UTC
will verify this in the post-beta cycle. I have verified that
the webgui functions ok though...

Comment 8 Yi Zhang 2008-05-22 21:59:41 UTC
What is the right behave of ipa_webgui script?

When stop ipa_webgui service, and run "ipa_webgui" directly, there is no message
output at all, even when i do "ipa_webgui -d".

Shall we output something to notify user the status of ipa-webgui? 

Comment 9 Rob Crittenden 2008-05-23 12:44:06 UTC
No, ipa_webgui is a daemon. If you want output you have to run it in foreground
mode with -f.

Comment 10 Yi Zhang 2008-05-23 22:52:19 UTC
QA Verified on May 23, 2008 (Yi)

Build used: May 23, 2008 (x64)