Bug 768131 - Configure should set owner of pg_hba.conf to postgres
Summary: Configure should set owner of pg_hba.conf to postgres
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: CloudForms Cloud Engine
Classification: Retired
Component: aeolus-configure
Version: 1.0.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
Assignee: Jason Guiditta
QA Contact: wes hayutin
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-12-15 20:43 UTC by Jason Guiditta
Modified: 2012-08-30 17:18 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description Jason Guiditta 2011-12-15 20:43:12 UTC
Description of problem: Currently this file is written as root

How reproducible: Run configure


Steps to Reproduce:
1. yum install aeolus-configure aeolus-all
2. aeolus-configure
3.ls -l /var/lib/pgsql/data/pg_hba.conf
  
Actual results:
File is owned by root


Expected results:
File is owner by user/group postgres

Additional info:

Comment 1 Jason Guiditta 2011-12-15 20:55:22 UTC
sent to list

commit fd0334b9a26c2f394a84245f7b22dbf9af569e69
Author: Jason Guiditta <jguiditt>
Date:   Thu Dec 15 15:44:27 2011 -0500

    BZ# 768131: Configure should set owner of pg_hba.conf to postgres
    
    https://bugzilla.redhat.com/show_bug.cgi?id=768131
    
    Looks like we were doing this in the ssl-enabled version, just not
    regular setup.

Comment 2 Shveta 2012-01-02 14:46:39 UTC
[root@dell-pe1950-03 ~]# ls -l /var/lib/pgsql/data/pg_hba.conf
-rw-r--r--. 1 postgres postgres 91 Jan  2 09:40 /var/lib/pgsql/data/pg_hba.conf


Postgres is the owner .

Verified in 
rpm -qa|grep aeolus
aeolus-conductor-0.8.0-0.20111222233342gitd98cb57.el6.noarch
aeolus-conductor-doc-0.8.0-0.20111222233342gitd98cb57.el6.noarch
rubygem-aeolus-image-0.3.0-0.20111222173411gitc13b654.el6.noarch
rubygem-aeolus-cli-0.3.0-0.20111222173356git3cd6277.el6.noarch
aeolus-all-0.8.0-0.20111222233342gitd98cb57.el6.noarch
aeolus-configure-2.5.0-0.20111222173430git17b704a.el6.noarch
aeolus-conductor-daemons-0.8.0-0.20111222233342gitd98cb57.el6.noarch


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