need to set proxy for smart too
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Landscape Client |
Fix Released
|
Medium
|
Gustavo Niemeyer | ||
Landscape Server |
Fix Released
|
Medium
|
Gustavo Niemeyer | ||
Smart Package Manager |
Fix Released
|
Undecided
|
Gustavo Niemeyer | ||
landscape-client (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Intrepid |
Invalid
|
Undecided
|
Unassigned | ||
smart (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Intrepid |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The Landscape Team has proposed an SRU to solve this bug.
Statement explaining the impact
=======
It's possible to have a client machine in a situation where landscape itself is using a proxy, but not smart. In networks where the only way out is via a proxy, this means that that machine would never be able to perform package operations, nor report the packages it has installed and available.
Even if smart checks the http_proxy env var, it's entirely possible the admin didn't set it. A contributing factor is that the landscape-config wizard explicitly asks for a proxy, so it's not unreasonable for the admin to assume smart would be setup too.
How the bug has been addressed
=======
Introducing a new smart plugin that inherits the proxy settings from the landscape-client configuration file.
Detailed instructions how to reproduce the bug
=======
Simply install landscape-client in an environment using a proxy.
Changed in landscape: | |
importance: | Undecided → Low |
milestone: | none → mthood+1 |
Changed in landscape: | |
milestone: | thames → thames-pre-3 |
assignee: | nobody → niemeyer |
Changed in landscape: | |
milestone: | thames → thames-pre-4 |
Changed in landscape: | |
assignee: | niemeyer → therve |
Changed in landscape: | |
milestone: | mountainview-pre-2 → mountainview-pre-3 |
Changed in landscape: | |
milestone: | mountainview-pre-3 → mountainview-pre-4 |
Changed in landscape: | |
milestone: | mountainview-pre-4 → mountainview-pre-5 |
Changed in landscape: | |
milestone: | mountainview-pre-5 → mountainview-pre-6 |
Changed in landscape: | |
milestone: | mountainview-pre-6 → mountainview-pre-7 |
Changed in landscape: | |
milestone: | mountainview-pre-7 → mountainview-pre-8 |
Changed in landscape: | |
status: | Fix Committed → Fix Released |
Changed in landscape: | |
milestone: | mountainview-pre-8 → mountainview |
status: | Fix Released → Fix Committed |
description: | updated |
Changed in smart (Ubuntu): | |
status: | Fix Released → Fix Committed |
Changed in landscape-client (Ubuntu): | |
status: | Invalid → Fix Committed |
Changed in landscape-client: | |
status: | Invalid → Fix Released |
Changed in landscape: | |
status: | Invalid → Fix Released |
Changed in smart (Ubuntu): | |
status: | Fix Committed → Fix Released |
Changed in landscape-client (Ubuntu): | |
status: | Fix Committed → Fix Released |
tags: | removed: needs-package-release verification-needed |
I'm pushing this back to thames as I don't want to rush this in today. We have to write
a parser for the apt.conf format, which is a bit flexible, and I won't be around in the
next week as I'll be on holiday, and thus wouldn't be able to fix any issues.