Bootstrapping a local provider first prevents bootstrap on any other environment
Bug #1231724 reported by
Kapil Thangavelu
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-core |
Fix Released
|
High
|
Tim Penhey |
Bug Description
Bootstrap creates JUJU_HOME/
2013-09-26 22:32:37 ERROR juju supercommand.go:282 cannot create new info for environment "east": open /opt/juju/
Local provider should check uid vs euid and set ownership on dir appropriately.
Related branches
lp:~thumper/juju-core/environments-dir-permission
- Juju Engineering: Pending requested
-
Diff: 453 lines (+165/-83)11 files modifiedenvirons/configstore/disk.go (+31/-2)
environs/configstore/disk_test.go (+32/-1)
environs/configstore/interface_test.go (+2/-0)
provider/local/config.go (+2/-24)
provider/local/config_test.go (+1/-50)
provider/local/environ.go (+1/-1)
provider/local/environprovider_test.go (+0/-2)
provider/local/export_test.go (+1/-2)
utils/apt_test.go (+5/-1)
utils/sudo.go (+32/-0)
utils/sudo_test.go (+58/-0)
summary: |
- Bootstrapping a local provider prevents bootstrap on any other + Bootstrapping a local provider first prevents bootstrap on any other environment |
Changed in juju-core: | |
importance: | Undecided → High |
status: | New → Triaged |
milestone: | none → 1.15.0 |
assignee: | nobody → Roger Peppe (rogpeppe) |
Changed in juju-core: | |
assignee: | Roger Peppe (rogpeppe) → Tim Penhey (thumper) |
tags: | added: local |
Changed in juju-core: | |
status: | Triaged → In Progress |
Changed in juju-core: | |
status: | In Progress → Fix Committed |
Changed in juju-core: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.