Bug 785840 - Modify cumin-database to call systemctl directly instead of redirect through service
Summary: Modify cumin-database to call systemctl directly instead of redirect through ...
Keywords:
Status: CLOSED DUPLICATE of bug 785837
Alias: None
Product: Fedora
Classification: Fedora
Component: cumin
Version: rawhide
Hardware: Unspecified
OS: Linux
low
low
Target Milestone: ---
Assignee: Trevor McKay
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 785825 785837
Blocks: 785863
TreeView+ depends on / blocked
 
Reported: 2012-01-30 18:34 UTC by Trevor McKay
Modified: 2012-01-31 20:00 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 785837
: 785863 (view as bug list)
Environment:
Last Closed: 2012-01-31 20:00:20 UTC
Type: ---


Attachments (Terms of Use)

Description Trevor McKay 2012-01-30 18:34:44 UTC
+++ This bug was initially created as a clone of Bug #785837 +++

+++ This bug was initially created as a clone of Bug #785825 +++

Description of problem:

The cumin-databse script has legacy calls to /sbin/service for controlling postgresql.  This causes extra "redirecting" messages to print on the screen when script operations are run.  Eliminate these by calling systemctl.

Version-Release number of selected component (if applicable):

cumin-0.1.5137-5

How reproducible:

100%


Steps to Reproduce:
1.  yum install cumin
2.  cumin-database install
3.  cumin-database stop
4.  cumin-database start
  
Actual results:

At various points in the output from the above commands, messages like this will be printed:

Redirecting to /bin/systemctl  start postgresql.service

Expected results:

These messages should not be seen.

Additional info:

This functionality will be added through conditionals in a single script that supports F15+ and RHEL 5+.  As such, it is not just a simple cut and paste operation since platforms without systemd still need to work.

Comment 1 Trevor McKay 2012-01-31 20:00:20 UTC
Marking this a duplicate of 785837 on F16.  There are separate BZs for F15, F16, and RHEL 5/6 because the commands used by the script are different in those cases and they should be tested slightly differently.  However, rawhide should be the same as F16.

*** This bug has been marked as a duplicate of bug 785837 ***


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