Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 697808 Details for
Bug 908325
rlService* functions should provide more debugging information
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
patch providing more debugging information in rlService* functions
0001-rlService-functions-provide-more-debugging-informati.patch (text/plain), 3.03 KB, created by
Filip Holec
on 2013-02-15 14:01:20 UTC
(
hide
)
Description:
patch providing more debugging information in rlService* functions
Filename:
MIME Type:
Creator:
Filip Holec
Created:
2013-02-15 14:01:20 UTC
Size:
3.03 KB
patch
obsolete
>From de5d333f38f1936a67c406f6981d1b2583384c8f Mon Sep 17 00:00:00 2001 >From: Filip Holec <fholec@redhat.com> >Date: Fri, 15 Feb 2013 14:57:07 +0100 >Subject: [PATCH] rlService* functions provide more debugging information (BZ#908325) > >--- > src/infrastructure.sh | 15 +++++++++++++++ > 1 files changed, 15 insertions(+), 0 deletions(-) > >diff --git a/src/infrastructure.sh b/src/infrastructure.sh >index 73096fa..6532bca 100644 >--- a/src/infrastructure.sh >+++ b/src/infrastructure.sh >@@ -608,7 +608,10 @@ rlServiceStart() { > if [ $status == 0 ]; then > rlLogDebug "rlServiceStart: Service $service already running, stopping first." > if ! service $service stop; then >+ # if service stop failed, inform the user and provide info about service status > rlLogError "rlServiceStart: Stopping service $service failed." >+ rlLogError "Status of the failed service:" >+ service $service status > ((failed++)) > continue > fi >@@ -618,7 +621,10 @@ rlServiceStart() { > if service $service start; then > rlLogDebug "rlServiceStart: Service $service started successfully" > else >+ # if service start failed, inform the user and provide info about service status > rlLogError "rlServiceStart: Starting service $service failed" >+ rlLogError "Status of the failed service:" >+ service $service status > ((failed++)) > fi > done >@@ -697,7 +703,10 @@ rlServiceStop() { > if service $service stop; then > rlLogDebug "rlServiceStop: Service $service stopped successfully" > else >+ # if service stop failed, inform the user and provide info about service status > rlLogError "rlServiceStop: Stopping service $service failed" >+ rlLogError "Status of the failed service:" >+ service $service status > ((failed++)) > fi > done >@@ -778,7 +787,10 @@ rlServiceRestore() { > if service $service stop; then > rlLogDebug "rlServiceRestore: Service $service stopped successfully" > else >+ # if service stop failed, inform the user and provide info about service status > rlLogError "rlServiceRestore: Stopping service $service failed" >+ rlLogError "Status of the failed service:" >+ service $service status > ((failed++)) > continue > fi >@@ -789,7 +801,10 @@ rlServiceRestore() { > if service $service start; then > rlLogDebug "rlServiceRestore: Service $service started successfully" > else >+ # if service start failed, inform the user and provide info about service status > rlLogError "rlServiceRestore: Starting service $service failed" >+ rlLogError "Status of the failed service:" >+ service $service status > ((failed++)) > continue > fi >-- >1.7.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 908325
: 697808