Closed Bug 916154 Opened 12 years ago Closed 12 years ago

Shell environment for postgres user not present for tp-socorro01-master01 / socorro1.db in prod

Categories

(Data & BI Services Team :: DB: MySQL, task)

x86_64
Linux
task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: selenamarie, Assigned: scabral)

Details

[sdeckelmann@socorro1.db.phx1 ~]$ sudo su - postgres -bash-4.1$ Usually there's a full prompt there. Maybe this got lost in a shuffle between postgres2/postgres modules?
Hrm, other machines on the postgres2 module have full prompts, so I'm not sure if that's the reason. The PATH was pointing to pgsql 9.0 version stuff, so I think this was one of those things on the list to clean up, as this machine is out of the load balancer for maintenance and shouldn't be being used - tp-socorro01-master02 is the master, and socorro3 is the read slave. I'll definitely fix this today though, thanks for spotting it.
I changed it to what the other machines are manually and ran puppet, which did not overwrite the file. I double-checked and .bash_profile control is in the postgres module but not the postgres2 module - socorro1 is still on the postgres2 module, because we haven't changed it over to postgres yet. When we do, this won't be an issue. The .bash_profile has been like that on socorro1 for a while, it wasn't an issue as it has been out of the load balancer. I'm going to close this as resolved, because the .bash_profile itself has been fixed, and when we convert to the postgres module the .bash_profile will be set accordingly.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Assignee: server-ops-database → scabral
Product: mozilla.org → Data & BI Services Team
You need to log in before you can comment on or make changes to this bug.