[
https://issues.apache.org/jira/browse/TC-233?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15971671#comment-15971671
]
ASF GitHub Bot commented on TC-233:
-----------------------------------
GitHub user dangogh opened a pull request:
https://github.com/apache/incubator-trafficcontrol/pull/477
[TC-233] postinstall and admin.pl changes to handle superuser
these need to be backported to 2.0.x
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/dangogh/incubator-trafficcontrol
wrap-postinstall-and-admin
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-trafficcontrol/pull/477.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 #477
----
commit fb2ed99dcf976e88e29c098b6c3685bd485a19e0
Author: Dan Kirkwood <[email protected]>
Date: 2017-04-14T17:23:54Z
reset and seed instead of setup
commit df4e4e3b007f170a118ac7bc973d7d78fce3273a
Author: Dan Kirkwood <[email protected]>
Date: 2017-04-17T17:21:06Z
revert execCommand -- need return status
commit 17b6e07b7540dd6ede74c6fafeb7759c5200d79d
Author: Dan Kirkwood <[email protected]>
Date: 2017-04-17T18:57:41Z
fix psql options
commit 8e2df91687bce78607537da9a61822d9705f4074
Author: Dan Kirkwood <[email protected]>
Date: 2017-04-17T21:05:17Z
always run psql as superuser -- root doesn't have access to .pgpass
----
> 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)