Smart doesn't import proxy information from Landscape

Bug #484861 reported by Free Ekanayaka
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Smart Package Manager
Fix Released
Medium
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.

This bug was supposed to be fixed by the smart intrepid SRU for Bug #236884 (version 1.1.1~bzr20081010-0ubuntu1.8.10.0), but the needed one-liner patch didn't actually get included in the package. So a new SRU for intrepid is needed. Jaunty, Karmic and Lucid versions all have the patch already applied.

=== 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 ===

Setting a smart configuration value in the Landscape smart plugin, that makes smart use the same proxy used in the Landscape configuration if any.

=== Detailed instructions how to reproduce the bug ===

Simply install landscape-client in an environment using a proxy.

Revision history for this message
Free Ekanayaka (free.ekanayaka) wrote :
Changed in landscape-client:
status: New → Fix Committed
affects: landscape-client → smart
Revision history for this message
Chuck Short (zulcss) wrote :
Revision history for this message
Chuck Short (zulcss) wrote :
Revision history for this message
Martin Pitt (pitti) wrote :

> Jaunty, Karmic and Lucid versions all have the patch already applied.

Closing lucid task then.

Changed in smart (Ubuntu):
status: New → Fix Released
Changed in smart (Ubuntu Intrepid):
status: New → Fix Committed
tags: added: verification-needed
Revision history for this message
Martin Pitt (pitti) wrote : Please test proposed package

Accepted smart into intrepid-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package smart - 1.1.1~bzr20081010-0ubuntu1.8.10.1

---------------
smart (1.1.1~bzr20081010-0ubuntu1.8.10.1) intrepid-proposed; urgency=low

  * Import proxy information from Landscape in debian/distro.py.
    (LP: #484861)
 -- Free Ekanayaka <email address hidden> Tue, 17 Nov 2009 14:16:00 -0600

Changed in smart (Ubuntu Intrepid):
status: Fix Committed → Fix Released
Changed in smart:
status: Fix Committed → Won't Fix
Steve Langasek (vorlon)
Changed in smart:
status: Won't Fix → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.