[
https://issues.apache.org/jira/browse/TC-233?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15973463#comment-15973463
]
ASF GitHub Bot commented on TC-233:
-----------------------------------
GitHub user dangogh opened a pull request:
https://github.com/apache/incubator-trafficcontrol/pull/479
[TC-233] adds check for connecting to psql as postgres user
we want to ensure that `postinstall` can run `db/admin.pl` to set up
user/db, so check first if `postgres` user is accessible thru `psql
-Upostgres`. If not, go no further.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/dangogh/incubator-trafficcontrol
postinstall-user
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-trafficcontrol/pull/479.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #479
----
commit 9b63c2e2d8fd1abb7789fd081c92c14624781b01
Author: Dan Kirkwood <[email protected]>
Date: 2017-04-18T17:15:16Z
adds check for connecting to psql as postgres user
----
> db/admin.pl needs updating to manage the postgres superuser
> -----------------------------------------------------------
>
> Key: TC-233
> URL: https://issues.apache.org/jira/browse/TC-233
> Project: Traffic Control
> Issue Type: Improvement
> Components: Traffic Ops
> Reporter: Dewayne Richardson
> Fix For: 2.0.0
>
>
> The admin.pl with Postgres needed to be updated to support the 'postgres'
> user and 'traffic_ops' users according to privileges. This is needed to
> support the 'postinstall' script so that the TrafficOps rpm can be installed
> properly.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)