Closed drnic closed 10 years ago
We have created an issue in Pivotal Tracker to manage this. You can view the current status of your issue at: http://www.pivotaltracker.com/story/show/65847874
@drnic Good catch. Thanks!
On Sat, Feb 15, 2014 at 8:30 AM, cf-gitbot notifications@github.com wrote:
We have created an issue in Pivotal Tracker to manage this. You can view the current status of your issue at: http://www.pivotaltracker.com/story/show/65847874
Reply to this email directly or view it on GitHubhttps://github.com/cloudfoundry/bosh/issues/522#issuecomment-35160300 .
Greg Oehmen Cloud Foundry Product Manger - Bosh Pivotal, Inc.
In Ubuntu, runningsudo su -
also sources the .bashrc. The same is not true on CentOS. It looks like we're only adding /var/vcap/bosh/bin to the PATH in .bashrc files, hence the discrepancy between Ubuntu and CentOS.
The recommended fix is to create a .bash_profile during stemcell create that sources .bashrc -- .bash_profile should always be sourced on login. See https://github.com/cloudfoundry/bosh/blob/master/stemcell_builder/stages/bosh_users/apply.sh
@drnic Do you plan on fixing this with a PR, or should we put this in the BOSH icebox for prioritization?
CF Community Pair (@dsabeti & @mmb)
No wasn't going to fix it; just noticed it when I quickly played with centos stemcell. I don't know much about centos; like the .bashrc loading you mentioned.
If I regularly was using it I'd probably fix it.
Though I wish I would stop ssh'ing into VMs in the first place :)
Close the ticket if you like.
On Tue, Feb 18, 2014 at 4:10 PM, Matthew M. Boedicker notifications@github.com wrote:
In Ubuntu, running
sudo su -
also sources the .bashrc. The same is not true on CentOS. It looks like we're only adding /var/vcap/bosh/bin to the PATH in .bashrc files, hence the discrepancy between Ubuntu and CentOS. @drnic Do you plan on fixing this with a PR, or should we put this in the BOSH icebox for prioritization?CF Community Pair (@dsabeti & @mmb)
Reply to this email directly or view it on GitHub: https://github.com/cloudfoundry/bosh/issues/522#issuecomment-35451570
Ok, we'll be put this in the BOSH icebox and it will get done at some point. In the meantime, we'll close the ticket.
CF Community Pair (@dsabeti & @mmb)
Ok thx
On Tue, Feb 18, 2014 at 4:38 PM, Matthew M. Boedicker notifications@github.com wrote:
Ok, we'll be put this in the BOSH icebox and it will get done at some point. In the meantime, we'll close the ticket.
CF Community Pair (@dsabeti & @mmb)
Reply to this email directly or view it on GitHub: https://github.com/cloudfoundry/bosh/issues/522#issuecomment-35453506
On the ubuntu stemcell, if you
sudo su -
to root you now havemonit
in the $PATH. On the centos stemcell this isn't the case.