Bug 8317 - [CTDB] Apache's service_name is not always httpd
Summary: [CTDB] Apache's service_name is not always httpd
Status: RESOLVED FIXED
Alias: None
Product: CTDB 2.5.x or older
Classification: Unclassified
Component: ctdb (show other bugs)
Version: unspecified
Hardware: All All
: P5 normal
Target Milestone: ---
Assignee: Michael Adam
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-22 22:53 UTC by Mathieu Parent
Modified: 2011-10-15 13:48 UTC (History)
0 users

See Also:


Attachments
Simple fix (639 bytes, patch)
2011-07-22 22:53 UTC, Mathieu Parent
no flags Details
Simple fix 2 (945 bytes, patch)
2011-07-25 21:36 UTC, Mathieu Parent
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mathieu Parent 2011-07-22 22:53:04 UTC
Created attachment 6711 [details]
Simple fix

On non-redhat systems, apache service_name is "apache2".

apache is enabled using the httpd name, the attached patch male the test on the correct name (httpd).
Comment 1 Mathieu Parent 2011-07-25 21:36:46 UTC
Created attachment 6714 [details]
Simple fix 2

Another possible solution is in patch 2
Comment 2 Mathieu Parent 2011-10-12 08:36:28 UTC
Comment on attachment 6711 [details]
Simple fix

Patch 1 doesn't work, as "ctdb_start_stop_service()" tests with the service_name