incubator-ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Trevor McKay (JIRA)" <>
Subject [jira] [Commented] (AMBARI-1792) Postgres init commands change on Fedora 16+
Date Thu, 29 Aug 2013 14:26:52 GMT


Trevor McKay commented on AMBARI-1792:

In Fedora 18+, there is actually a patch that will issue /usr/bin/postgresql-setup initdb
if service postgresql initdb is issued.

But, using postgresql-setup if it is there in ambari-server is safer.  First of all it still
works pre-F18, and second of all it will continue to work if the compatibility patch is removed
from Fedora for some reason (or another distro has the same issue)
> Postgres init commands change on Fedora 16+ 
> --------------------------------------------
>                 Key: AMBARI-1792
>                 URL:
>             Project: Ambari
>          Issue Type: Bug
>    Affects Versions: 1.2.0
>         Environment: Fedora 16 (and higher)
>            Reporter: Trevor McKay
>            Assignee: Trevor McKay
>         Attachments: initdb.patch
> Migration to systemd instead of initd began in Fedora 15 and the postgres version changed
to 9 in Fedora 16. As a consequence, in Fedora 16+ the postgres initdb commands have changed
and the /usr/sbin/ script cannot initialize the database.
> Fortunately, there is a Fedora project (cumin) which has dealt with this exact issue
from a shell script and should yield a patch :)

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message