Bug 1138275 - spacewalk-debug is not fully PostgreSQL aware.
Summary: spacewalk-debug is not fully PostgreSQL aware.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: Server
Version: 560
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
Assignee: Michael Mráka
QA Contact: Ales Dujicek
URL:
Whiteboard:
Depends On:
Blocks: sat570-lowbug
TreeView+ depends on / blocked
 
Reported: 2014-09-04 12:05 UTC by Dimitar Yordanov
Modified: 2015-01-13 09:55 UTC (History)
3 users (show)

Fixed In Version: spacewalk-backend-2.3.3-21
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-01-13 09:55:18 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Dimitar Yordanov 2014-09-04 12:05:39 UTC
Description of problem:
spacewalk-debug does not provide information about PostgreSQL User and Group.

getent passwd apache tomcat oracle nocpulse > $DIR/conf/passwd
getent group apache tomcat oracle nocpulse dba > $DIR/conf/group


Version-Release number of selected component (if applicable):
spacewalk-backend-tools-2.0.3-29

How reproducible:
100%

Steps to Reproduce:
1.Install Satellite 5.6 PostgreSQL
2.spacewalk-debug

Actual results:
    * copying apache, oracle, tomcat, nocpulse entries from /etc/passwd
    * copying apache, oracle, tomcat, nocpulse entries from /etc/group


Expected results:
oracle -> postgres

Additional info:
Some Oracle related code from the script can be removed as well.

# /rhnsat is Oracle related
ls /rhnsat/admin/rhnsat/bdump/*.trc 2>/dev/null | xargs -I file cp -fa file $DIR/database
ls /rhnsat/admin/rhnsat/logs/*.log 2>/dev/null | xargs -I file cp -fa file $DIR/database

# dba Group is Oracle related
getent group apache tomcat oracle nocpulse dba > $DIR/conf/group

Comment 1 Dimitar Yordanov 2014-09-27 10:31:32 UTC
Fixed in SW master: 2eb44a50d41b6e326e068682a2f9945ef8925a5f

Comment 2 Dimitar Yordanov 2014-11-20 11:25:11 UTC
The commit mentioned in "Comment 1" is not the correct one.

Fixed in SW master: 25d81f32c5ac8364023800d9e3e785dbc0acf870

Comment 6 Clifford Perry 2015-01-13 09:55:18 UTC
With the release of Red Hat Satellite 5.7 on January 12th 2015 this bug is
being moved to a Closed Current Release state. 

The Satellite 5.7 GA Errata:
 - https://rhn.redhat.com/errata/RHSA-2015-0033.html 

Satellite 5.7 Release Notes:
 -
https://access.redhat.com/documentation/en-US/Red_Hat_Satellite/5.7/html-single/Release_Notes/index.html

Satellite Customer Portal Blog announcement for release:
 - https://access.redhat.com/blogs/1169563/posts/1315743 

Cliff


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