Bug 768131

Summary: Configure should set owner of pg_hba.conf to postgres
Product: [Retired] CloudForms Cloud Engine Reporter: Jason Guiditta <jguiditt>
Component: aeolus-configureAssignee: Jason Guiditta <jguiditt>
Status: CLOSED CURRENTRELEASE QA Contact: wes hayutin <whayutin>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 1.0.0CC: akarol, deltacloud-maint, ssachdev
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

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