Bug 962154 - spacewalk-service assumes Oracle is used if it's installed
Summary: spacewalk-service assumes Oracle is used if it's installed
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Spacewalk
Classification: Community
Component: Server
Version: 1.9
Hardware: i386
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Michael Mráka
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks: space20
TreeView+ depends on / blocked
 
Reported: 2013-05-12 05:00 UTC by Michel Lind
Modified: 2013-08-02 13:10 UTC (History)
1 user (show)

Fixed In Version: spacewalk-admin-1.10.4-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-08-02 13:10:24 UTC
Embargoed:


Attachments (Terms of Use)

Description Michel Lind 2013-05-12 05:00:22 UTC
Description of problem:
I have a Spacewalk installation using PostgreSQL that happens to be located on a server that also hosts an Oracle installation. Right now this causes a problem, as the spacewalk-service script assumes Spacewalk is configured to use Oracle if /etc/init.d/oracle is present

Version-Release number of selected component (if applicable):
spacewalk-admin-1.9.10-1.el5

How reproducible:
Always

Steps to Reproduce:
1. Install Spacewalk with a PostgreSQL backend on a machine with an Oracle installation
2. spacewalk-service stop
  
Actual results:
Oracle is erroneously stopped

Expected results:
Oracle service should be left untouched

Additional info:

Comment 1 Michael Mráka 2013-05-13 08:39:26 UTC
Hi Michel,

you may modify list of services managed by spacewalk in /etc/rhn/service-list.
To remove oracle from list put
  SERVICES=${SERVICES/oracle/}
there.

Comment 2 Michael Mráka 2013-05-13 08:49:02 UTC
Fixed in spacewalk master by
commit d8b65bc78918ef946e85bad4c8828ed3885bcee3
    962154 - don't manage oracle service by default
    if user wants to manage it they can manually add service to /etc/rhn/service-list

Comment 3 Michel Lind 2013-05-14 03:05:58 UTC
Hi Michael,

Thanks, that commit should do the trick; I'm using service-list in the meantime.

(Didn't know that Bash trick before - neat)

Comment 4 Tomáš Kašpárek 2013-08-02 13:10:24 UTC
Fix for this bug is present in Spacewalk 2.0, closing this bug as CURRENTRELEASE.


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