Bug 430011 - ipa-webgui init script should verify that ipa-webgui started successfully
Summary: ipa-webgui init script should verify that ipa-webgui started successfully
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: freeIPA
Classification: Retired
Component: ipa-server
Version: 1.0
Hardware: All
OS: Linux
medium
high
Target Milestone: ---
Assignee: Rob Crittenden
QA Contact: Chandrasekar Kannan
URL:
Whiteboard:
: 430314 430316 (view as bug list)
Depends On:
Blocks: freeipa10 429034
TreeView+ depends on / blocked
 
Reported: 2008-01-24 06:44 UTC by Chandrasekar Kannan
Modified: 2012-03-27 07:19 UTC (History)
5 users (show)

Fixed In Version: freeipa-2.0.0-1.fc15
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)
Add debug, foreground flags. Enable logging in script to catch startup errs (2.99 KB, patch)
2008-01-30 16:57 UTC, Rob Crittenden
no flags Details | Diff

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)


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