2012-06-06 11:33:49 |
Adrianna Pińska |
bug |
|
|
added bug |
2012-06-06 11:33:49 |
Adrianna Pińska |
attachment added |
|
Replace urllib with wget in downloader script https://bugs.launchpad.net/bugs/1009436/+attachment/3177271/+files/downloader.diff |
|
2012-06-06 11:50:45 |
Adrianna Pińska |
attachment added |
|
Minimal python example reproducing the bug https://bugs.launchpad.net/ubuntu/+source/update-notifier/+bug/1009436/+attachment/3177275/+files/test.py |
|
2012-06-06 11:52:37 |
Launchpad Janitor |
update-notifier (Ubuntu): status |
New |
Confirmed |
|
2012-06-06 11:52:51 |
Graham Inggs |
bug |
|
|
added subscriber Graham Inggs |
2012-06-06 12:03:15 |
Adrianna Pińska |
attachment removed |
Replace urllib with wget in downloader script https://bugs.launchpad.net/ubuntu/+source/update-notifier/+bug/1009436/+attachment/3177271/+files/downloader.diff |
|
|
2012-06-06 12:09:11 |
Adrianna Pińska |
attachment added |
|
Replace urllib with wget in downloader script https://bugs.launchpad.net/ubuntu/+source/update-notifier/+bug/1009436/+attachment/3177277/+files/downloader.diff |
|
2012-06-06 12:29:28 |
Ubuntu Foundations Team Bug Bot |
tags |
apt cntlm download dpkg proxy |
apt cntlm download dpkg patch proxy |
|
2012-06-06 12:29:37 |
Ubuntu Foundations Team Bug Bot |
bug |
|
|
added subscriber Ubuntu Review Team |
2012-06-11 18:41:12 |
Pedro Pedruzzi |
bug watch added |
|
http://sourceforge.net/support/tracker.php?aid=3512077 |
|
2012-06-11 18:46:47 |
Pedro Pedruzzi |
affects |
update-notifier (Ubuntu) |
cntlm (Ubuntu) |
|
2012-06-11 19:43:39 |
Graham Inggs |
bug |
|
|
added subscriber Stefano Rivera |
2012-06-13 10:42:10 |
Graham Inggs |
attachment added |
|
Upstream fix for HTTP/1.1 persistent connections with HTTP/1.0 clients https://bugs.launchpad.net/ubuntu/+source/cntlm/+bug/1009436/+attachment/3187586/+files/r306.patch |
|
2012-06-27 08:40:24 |
Graham Inggs |
bug watch added |
|
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=679211 |
|
2012-06-27 08:40:24 |
Graham Inggs |
bug task added |
|
cntlm (Debian) |
|
2012-06-27 09:13:21 |
Bug Watch Updater |
cntlm (Debian): status |
Unknown |
New |
|
2012-07-25 02:36:05 |
Felipe Pierin |
bug |
|
|
added subscriber Felipe Pierin |
2012-08-01 09:47:24 |
Graham Inggs |
attachment added |
|
Cherry-pick r306 from 0.93 to properly handle non-HTTP/1.1 keep-alive https://bugs.launchpad.net/ubuntu/+source/cntlm/+bug/1009436/+attachment/3244517/+files/cntlm_0.92.3-1ubuntu1%7Eppa1.debdiff |
|
2012-08-01 10:03:59 |
Stefano Rivera |
cntlm (Ubuntu): importance |
Undecided |
Medium |
|
2012-08-01 21:10:45 |
Launchpad Janitor |
cntlm (Ubuntu): status |
Confirmed |
Fix Released |
|
2012-08-01 21:13:32 |
Stefano Rivera |
nominated for series |
|
Ubuntu Precise |
|
2012-08-01 21:13:32 |
Stefano Rivera |
bug task added |
|
cntlm (Ubuntu Precise) |
|
2012-08-01 21:14:03 |
Launchpad Janitor |
cntlm (Ubuntu Precise): status |
New |
Confirmed |
|
2012-08-01 21:41:57 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/cntlm |
|
2012-08-02 13:34:07 |
Graham Inggs |
attachment added |
|
SRU cntlm-0.92.3-1ubuntu1 from quantal to precise https://bugs.launchpad.net/ubuntu/+source/cntlm/+bug/1009436/+attachment/3245809/+files/cntlm_0.92.3-1ubuntu1-precise.debdiff |
|
2012-08-02 13:54:46 |
Graham Inggs |
attachment added |
|
SRU cntlm-0.92.3-1ubuntu1 from quantal to precise https://bugs.launchpad.net/ubuntu/+source/cntlm/+bug/1009436/+attachment/3245812/+files/cntlm_0.92.3-1ubuntu1-precise.debdiff |
|
2012-08-02 13:55:14 |
Graham Inggs |
attachment removed |
SRU cntlm-0.92.3-1ubuntu1 from quantal to precise https://bugs.launchpad.net/ubuntu/+source/cntlm/+bug/1009436/+attachment/3245809/+files/cntlm_0.92.3-1ubuntu1-precise.debdiff |
|
|
2012-08-02 15:23:15 |
Graham Inggs |
description |
I previously reported this in #983559, but it seems that it is a completely unrelated issue.
1) Ubuntu 12.04 LTS
2) 0.119ubuntu8.4
3) I expected to be able to install packages which need to download external files (e.g. flashplugin-installer, ttf-mscorefonts-installer)
4) package-data-downloader is unable to download these files through my cntlm proxy
At university, I can only access the outside world through an NTLM proxy, so I direct everything through a cntlm proxy running locally on my machine. Everything used to work as expected, but since the change in Precise to the way that packages download external files, I am unable to install these packages unless I hack the package-data-downloader script to replace urllib with an external wget call (patch included).
This is definitely not an issue with finding the proxy settings when using sudo -- I have verified that the environment variables are found as expected. I have also reproduced this issue with a minimal python example which I have run as my normal user.
If I monitor the /tmp/ directory after issuing the command to install one of these packages, I can see that a temporary file is created and grows until it reaches the expected size of the file to be downloaded. However, the script does not detect that the file has finished downloading, and hangs forever, without giving any indication of an error, until it is terminated.
Since I am able to download these files without any difficulty using wget, I have patched my script to use wget instead of urllib. When I do this, everything works as expected. I therefore believe that there is a bug in urllib which is triggered by cntlm. I have looked for a known bug which could be responsible, but I haven't been able to find anything yet.
In the meantime, using wget instead of urllib fixes the problem. I don't know if this is considered a tidy solution, but it works. |
[SRU] The debdiff attached to comment #21 backports cntlm-0.92.3-1ubuntu1 from Quantal to Precise.
It fixes the following bugs in Precise:
- package-data-downloader hangs forever when attempting to download through cntlm proxy (LP: #1009436)
- Can not play radio streams any more (LP: #659809)
- error when downloading files >2GB (LP: #1031670)
- cntlm does not work at reboot (LP: #825593)
- cntlm gpg error The following signatures were invalid: NODATA 2 (LP: #257210)
[IMPACT]
When behind a corporate proxy requiring NTLM authentication, users are unable to:
- install packages which download external files, e.g. flashplugin-installer and ttf-mscorefonts-installer (worked in Lucid)
- play internet radio streams (worked in Lucid)
- download files larger than 2GB in size
- download and install GPG keys through apt-get and apt-add-repository
[Test Cases]
- sudo apt-get install flashplugin-installer
- Point your browser at: http://www.interwebsradio.com/ or
- Open the following network URL with VLC: http://interwebsradio.com/stream.mp3
- wget http://cdimage.ubuntu.com/edubuntu/dvd/current/quantal-dvd-amd64.iso
- sudo add-apt-repository ppa:ginggs/ppa
[Regression Potential]
Minimal: cntlm has no dependants and no dependencies besides libc6
---------------------------------------------------------------------------------------
I previously reported this in #983559, but it seems that it is a completely unrelated issue.
1) Ubuntu 12.04 LTS
2) 0.119ubuntu8.4
3) I expected to be able to install packages which need to download external files (e.g. flashplugin-installer, ttf-mscorefonts-installer)
4) package-data-downloader is unable to download these files through my cntlm proxy
At university, I can only access the outside world through an NTLM proxy, so I direct everything through a cntlm proxy running locally on my machine. Everything used to work as expected, but since the change in Precise to the way that packages download external files, I am unable to install these packages unless I hack the package-data-downloader script to replace urllib with an external wget call (patch included).
This is definitely not an issue with finding the proxy settings when using sudo -- I have verified that the environment variables are found as expected. I have also reproduced this issue with a minimal python example which I have run as my normal user.
If I monitor the /tmp/ directory after issuing the command to install one of these packages, I can see that a temporary file is created and grows until it reaches the expected size of the file to be downloaded. However, the script does not detect that the file has finished downloading, and hangs forever, without giving any indication of an error, until it is terminated.
Since I am able to download these files without any difficulty using wget, I have patched my script to use wget instead of urllib. When I do this, everything works as expected. I therefore believe that there is a bug in urllib which is triggered by cntlm. I have looked for a known bug which could be responsible, but I haven't been able to find anything yet.
In the meantime, using wget instead of urllib fixes the problem. I don't know if this is considered a tidy solution, but it works. |
|
2012-08-02 15:23:57 |
Graham Inggs |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2012-08-04 12:45:23 |
Graham Inggs |
description |
[SRU] The debdiff attached to comment #21 backports cntlm-0.92.3-1ubuntu1 from Quantal to Precise.
It fixes the following bugs in Precise:
- package-data-downloader hangs forever when attempting to download through cntlm proxy (LP: #1009436)
- Can not play radio streams any more (LP: #659809)
- error when downloading files >2GB (LP: #1031670)
- cntlm does not work at reboot (LP: #825593)
- cntlm gpg error The following signatures were invalid: NODATA 2 (LP: #257210)
[IMPACT]
When behind a corporate proxy requiring NTLM authentication, users are unable to:
- install packages which download external files, e.g. flashplugin-installer and ttf-mscorefonts-installer (worked in Lucid)
- play internet radio streams (worked in Lucid)
- download files larger than 2GB in size
- download and install GPG keys through apt-get and apt-add-repository
[Test Cases]
- sudo apt-get install flashplugin-installer
- Point your browser at: http://www.interwebsradio.com/ or
- Open the following network URL with VLC: http://interwebsradio.com/stream.mp3
- wget http://cdimage.ubuntu.com/edubuntu/dvd/current/quantal-dvd-amd64.iso
- sudo add-apt-repository ppa:ginggs/ppa
[Regression Potential]
Minimal: cntlm has no dependants and no dependencies besides libc6
---------------------------------------------------------------------------------------
I previously reported this in #983559, but it seems that it is a completely unrelated issue.
1) Ubuntu 12.04 LTS
2) 0.119ubuntu8.4
3) I expected to be able to install packages which need to download external files (e.g. flashplugin-installer, ttf-mscorefonts-installer)
4) package-data-downloader is unable to download these files through my cntlm proxy
At university, I can only access the outside world through an NTLM proxy, so I direct everything through a cntlm proxy running locally on my machine. Everything used to work as expected, but since the change in Precise to the way that packages download external files, I am unable to install these packages unless I hack the package-data-downloader script to replace urllib with an external wget call (patch included).
This is definitely not an issue with finding the proxy settings when using sudo -- I have verified that the environment variables are found as expected. I have also reproduced this issue with a minimal python example which I have run as my normal user.
If I monitor the /tmp/ directory after issuing the command to install one of these packages, I can see that a temporary file is created and grows until it reaches the expected size of the file to be downloaded. However, the script does not detect that the file has finished downloading, and hangs forever, without giving any indication of an error, until it is terminated.
Since I am able to download these files without any difficulty using wget, I have patched my script to use wget instead of urllib. When I do this, everything works as expected. I therefore believe that there is a bug in urllib which is triggered by cntlm. I have looked for a known bug which could be responsible, but I haven't been able to find anything yet.
In the meantime, using wget instead of urllib fixes the problem. I don't know if this is considered a tidy solution, but it works. |
[SRU] The debdiff attached to comment #21 backports cntlm-0.92.3-1ubuntu1 from Quantal to Precise.
It fixes the following bugs in Precise:
- package-data-downloader hangs forever when attempting to download through cntlm proxy (LP: #1009436)
- Can not play radio streams any more (LP: #659809)
- error when downloading files >2GB (LP: #1031670)
- cntlm does not work at reboot (LP: #825593)
- cntlm gpg error The following signatures were invalid: NODATA 2 (LP: #257210)
[IMPACT]
When behind a corporate proxy requiring NTLM authentication, users are unable to:
- install packages which download external files, e.g. flashplugin-installer and ttf-mscorefonts-installer (worked in Lucid)
- play internet radio streams (worked in Lucid)
- download files larger than 2GB in size
- download and install GPG keys through apt-get and apt-add-repository
[Test Cases]
- sudo apt-get install flashplugin-installer
- Point your browser at: http://www.interwebsradio.com/ or
- Open the following network URL with VLC: http://interwebsradio.com/stream.mp3
- wget http://cdimage.ubuntu.com/edubuntu/dvd/current/quantal-dvd-amd64.iso
- sudo add-apt-repository ppa:ginggs/ppa
[Regression Potential]
Minimal: cntlm has no dependants and no dependencies besides libc6
I am proposing a backport instead of cherry-picking individual patches for Precise because of the difficulties I experienced in trying to cherry-pick r306. I found that the current commits relied on other changes that were not present in the two-year old version 0.91 in Precise. For example, cntlm with r306 broke in subtle ways (certain pages were not rendered correctly) when r281 was not included.
In addition, I found unrelated changes in the commits, for example, more detailed debug logging and dummy checks introduces to suppress compiler warnings, which were difficult to extract.
Lastly, while running the 0.91 version with debugging information on, cntlm would segfault every couple of days while under heavy load (several workstations sharing one cntlm gateway), whereas this did not occur in the 0.92 version from Quantal.
In short, I believe backporting the Quantal version will give us a more stable base, without the increased regression potential of cherry-picking multiple patches onto a two-year old version.
---------------------------------------------------------------------------------------
I previously reported this in #983559, but it seems that it is a completely unrelated issue.
1) Ubuntu 12.04 LTS
2) 0.119ubuntu8.4
3) I expected to be able to install packages which need to download external files (e.g. flashplugin-installer, ttf-mscorefonts-installer)
4) package-data-downloader is unable to download these files through my cntlm proxy
At university, I can only access the outside world through an NTLM proxy, so I direct everything through a cntlm proxy running locally on my machine. Everything used to work as expected, but since the change in Precise to the way that packages download external files, I am unable to install these packages unless I hack the package-data-downloader script to replace urllib with an external wget call (patch included).
This is definitely not an issue with finding the proxy settings when using sudo -- I have verified that the environment variables are found as expected. I have also reproduced this issue with a minimal python example which I have run as my normal user.
If I monitor the /tmp/ directory after issuing the command to install one of these packages, I can see that a temporary file is created and grows until it reaches the expected size of the file to be downloaded. However, the script does not detect that the file has finished downloading, and hangs forever, without giving any indication of an error, until it is terminated.
Since I am able to download these files without any difficulty using wget, I have patched my script to use wget instead of urllib. When I do this, everything works as expected. I therefore believe that there is a bug in urllib which is triggered by cntlm. I have looked for a known bug which could be responsible, but I haven't been able to find anything yet.
In the meantime, using wget instead of urllib fixes the problem. I don't know if this is considered a tidy solution, but it works. |
|
2012-08-07 15:59:32 |
Graham Inggs |
description |
[SRU] The debdiff attached to comment #21 backports cntlm-0.92.3-1ubuntu1 from Quantal to Precise.
It fixes the following bugs in Precise:
- package-data-downloader hangs forever when attempting to download through cntlm proxy (LP: #1009436)
- Can not play radio streams any more (LP: #659809)
- error when downloading files >2GB (LP: #1031670)
- cntlm does not work at reboot (LP: #825593)
- cntlm gpg error The following signatures were invalid: NODATA 2 (LP: #257210)
[IMPACT]
When behind a corporate proxy requiring NTLM authentication, users are unable to:
- install packages which download external files, e.g. flashplugin-installer and ttf-mscorefonts-installer (worked in Lucid)
- play internet radio streams (worked in Lucid)
- download files larger than 2GB in size
- download and install GPG keys through apt-get and apt-add-repository
[Test Cases]
- sudo apt-get install flashplugin-installer
- Point your browser at: http://www.interwebsradio.com/ or
- Open the following network URL with VLC: http://interwebsradio.com/stream.mp3
- wget http://cdimage.ubuntu.com/edubuntu/dvd/current/quantal-dvd-amd64.iso
- sudo add-apt-repository ppa:ginggs/ppa
[Regression Potential]
Minimal: cntlm has no dependants and no dependencies besides libc6
I am proposing a backport instead of cherry-picking individual patches for Precise because of the difficulties I experienced in trying to cherry-pick r306. I found that the current commits relied on other changes that were not present in the two-year old version 0.91 in Precise. For example, cntlm with r306 broke in subtle ways (certain pages were not rendered correctly) when r281 was not included.
In addition, I found unrelated changes in the commits, for example, more detailed debug logging and dummy checks introduces to suppress compiler warnings, which were difficult to extract.
Lastly, while running the 0.91 version with debugging information on, cntlm would segfault every couple of days while under heavy load (several workstations sharing one cntlm gateway), whereas this did not occur in the 0.92 version from Quantal.
In short, I believe backporting the Quantal version will give us a more stable base, without the increased regression potential of cherry-picking multiple patches onto a two-year old version.
---------------------------------------------------------------------------------------
I previously reported this in #983559, but it seems that it is a completely unrelated issue.
1) Ubuntu 12.04 LTS
2) 0.119ubuntu8.4
3) I expected to be able to install packages which need to download external files (e.g. flashplugin-installer, ttf-mscorefonts-installer)
4) package-data-downloader is unable to download these files through my cntlm proxy
At university, I can only access the outside world through an NTLM proxy, so I direct everything through a cntlm proxy running locally on my machine. Everything used to work as expected, but since the change in Precise to the way that packages download external files, I am unable to install these packages unless I hack the package-data-downloader script to replace urllib with an external wget call (patch included).
This is definitely not an issue with finding the proxy settings when using sudo -- I have verified that the environment variables are found as expected. I have also reproduced this issue with a minimal python example which I have run as my normal user.
If I monitor the /tmp/ directory after issuing the command to install one of these packages, I can see that a temporary file is created and grows until it reaches the expected size of the file to be downloaded. However, the script does not detect that the file has finished downloading, and hangs forever, without giving any indication of an error, until it is terminated.
Since I am able to download these files without any difficulty using wget, I have patched my script to use wget instead of urllib. When I do this, everything works as expected. I therefore believe that there is a bug in urllib which is triggered by cntlm. I have looked for a known bug which could be responsible, but I haven't been able to find anything yet.
In the meantime, using wget instead of urllib fixes the problem. I don't know if this is considered a tidy solution, but it works. |
[SRU] The debdiff attached to comment #21 backports cntlm-0.92.3-1ubuntu1 from Quantal to Precise.
It fixes the following bugs in Precise:
- package-data-downloader hangs forever when attempting to download through cntlm proxy (LP: #1009436)
- Can not play radio streams any more (LP: #659809)
- error when downloading files >2GB (LP: #1031670)
- cntlm does not work at reboot (LP: #825593)
- cntlm gpg error The following signatures were invalid: NODATA 2 (LP: #257210)
[IMPACT]
When behind a corporate proxy requiring NTLM authentication, users are unable to:
- install packages which download external files, e.g. flashplugin-installer and ttf-mscorefonts-installer (worked in Lucid)
- play internet radio streams (worked in Lucid)
- download files larger than 2GB in size
- download and install GPG keys through apt-get and apt-add-repository
[Test Cases]
Cntlm should be correctly configured and network proxy applied system wide as 127.0.0.1 port 3128 for HTTP, HTTPS and FTP, but not Socks.
- package-data-downloader hangs forever when attempting to download through cntlm proxy (LP: #1009436)
Run 'sudo apt-get install flashplugin-installer'
0.91 behaviour: flashplugin-installer downloads, installs, displays 'flashplugin-installer: downloading http://archive.canonical.com/pool/partner/a/adobe-flashplugin/adobe-flashplugin_11.2.202.236.orig.tar.gz' and then stops responding.
0.92 behaviour: flashplugin-installer downloads, installs and then downloads and installs the actual Flash plugin.
- Can not play radio streams any more (LP: #659809)
Open Rhythmbox and add http://shouthostdirect12.streams.bassdrive.com:8200/ as a New Internet Radio Station. Highlight the newly added station and click Play.
0.91 behaviour: no music is heard and a red No Entry icon appears next to the station.
0.92 behaviour: music starts playing.
- error when downloading files >2GB (LP: #1031670)
Run 'wget http://cdimage.ubuntu.com/edubuntu/dvd/current/quantal-dvd-amd64.iso'
0.91 behaviour: the message 'Connection closed at byte 0. Retrying' appears repeatedly.
0.92 behaviour: the download proceeds normally.
- cntlm does not work at reboot (LP: #825593)
Restart the computer with no network cable attached, open Firefox and enter a URL.
0.91 behaviour: the message 'The proxy server is refusing connections' appears.
0.92 behaviour: the message '502 connection timed out. cntlm proxy failed to complete the request' appears.
- cntlm gpg error The following signatures were invalid: NODATA 2 (LP: #257210)
Run 'sudo add-apt-repository ppa:ginggs/ppa', press Enter to continue when promtped.
0.91 behaviour: the message 'gpg: requesting key 08CC41D2 from hkp server keyserver.ubuntu.com' appears and then stops responding.
0.92 behaviour: the key is downloaded and installed normally.
[Regression Potential]
Minimal: cntlm has no dependants and no dependencies besides libc6.
I am proposing a backport instead of cherry-picking individual patches for Precise because of the difficulties I experienced in trying to cherry-pick r306. I found that the current commits relied on other changes that were not present in the two-year old version 0.91 in Precise. For example, cntlm with r306 broke in subtle ways (certain pages were not rendered correctly) when r281 was not included.
In addition, I found unrelated changes in the commits, for example, more detailed debug logging and dummy checks introduces to suppress compiler warnings, which were difficult to extract.
Lastly, while running the 0.91 version with debugging information on, cntlm would segfault every couple of days while under heavy load (several workstations sharing one cntlm gateway), whereas this did not occur in the 0.92 version from Quantal.
In short, I believe backporting the Quantal version will give us a more stable base, without the increased regression potential of cherry-picking multiple patches onto a two-year old version.
---------------------------------------------------------------------------------------
I previously reported this in #983559, but it seems that it is a completely unrelated issue.
1) Ubuntu 12.04 LTS
2) 0.119ubuntu8.4
3) I expected to be able to install packages which need to download external files (e.g. flashplugin-installer, ttf-mscorefonts-installer)
4) package-data-downloader is unable to download these files through my cntlm proxy
At university, I can only access the outside world through an NTLM proxy, so I direct everything through a cntlm proxy running locally on my machine. Everything used to work as expected, but since the change in Precise to the way that packages download external files, I am unable to install these packages unless I hack the package-data-downloader script to replace urllib with an external wget call (patch included).
This is definitely not an issue with finding the proxy settings when using sudo -- I have verified that the environment variables are found as expected. I have also reproduced this issue with a minimal python example which I have run as my normal user.
If I monitor the /tmp/ directory after issuing the command to install one of these packages, I can see that a temporary file is created and grows until it reaches the expected size of the file to be downloaded. However, the script does not detect that the file has finished downloading, and hangs forever, without giving any indication of an error, until it is terminated.
Since I am able to download these files without any difficulty using wget, I have patched my script to use wget instead of urllib. When I do this, everything works as expected. I therefore believe that there is a bug in urllib which is triggered by cntlm. I have looked for a known bug which could be responsible, but I haven't been able to find anything yet.
In the meantime, using wget instead of urllib fixes the problem. I don't know if this is considered a tidy solution, but it works. |
|
2012-09-04 21:56:51 |
Graham Inggs |
attachment added |
|
SRU cntlm-0.92.3-1ubuntu1 from quantal to precise https://bugs.launchpad.net/ubuntu/+source/cntlm/+bug/1009436/+attachment/3293080/+files/cntlm_0.92.3-0ubuntu0.1-precise.debdiff |
|
2012-09-04 21:58:45 |
Graham Inggs |
attachment removed |
SRU cntlm-0.92.3-1ubuntu1 from quantal to precise https://bugs.launchpad.net/ubuntu/+source/cntlm/+bug/1009436/+attachment/3245812/+files/cntlm_0.92.3-1ubuntu1-precise.debdiff |
|
|
2012-09-04 21:59:55 |
Graham Inggs |
description |
[SRU] The debdiff attached to comment #21 backports cntlm-0.92.3-1ubuntu1 from Quantal to Precise.
It fixes the following bugs in Precise:
- package-data-downloader hangs forever when attempting to download through cntlm proxy (LP: #1009436)
- Can not play radio streams any more (LP: #659809)
- error when downloading files >2GB (LP: #1031670)
- cntlm does not work at reboot (LP: #825593)
- cntlm gpg error The following signatures were invalid: NODATA 2 (LP: #257210)
[IMPACT]
When behind a corporate proxy requiring NTLM authentication, users are unable to:
- install packages which download external files, e.g. flashplugin-installer and ttf-mscorefonts-installer (worked in Lucid)
- play internet radio streams (worked in Lucid)
- download files larger than 2GB in size
- download and install GPG keys through apt-get and apt-add-repository
[Test Cases]
Cntlm should be correctly configured and network proxy applied system wide as 127.0.0.1 port 3128 for HTTP, HTTPS and FTP, but not Socks.
- package-data-downloader hangs forever when attempting to download through cntlm proxy (LP: #1009436)
Run 'sudo apt-get install flashplugin-installer'
0.91 behaviour: flashplugin-installer downloads, installs, displays 'flashplugin-installer: downloading http://archive.canonical.com/pool/partner/a/adobe-flashplugin/adobe-flashplugin_11.2.202.236.orig.tar.gz' and then stops responding.
0.92 behaviour: flashplugin-installer downloads, installs and then downloads and installs the actual Flash plugin.
- Can not play radio streams any more (LP: #659809)
Open Rhythmbox and add http://shouthostdirect12.streams.bassdrive.com:8200/ as a New Internet Radio Station. Highlight the newly added station and click Play.
0.91 behaviour: no music is heard and a red No Entry icon appears next to the station.
0.92 behaviour: music starts playing.
- error when downloading files >2GB (LP: #1031670)
Run 'wget http://cdimage.ubuntu.com/edubuntu/dvd/current/quantal-dvd-amd64.iso'
0.91 behaviour: the message 'Connection closed at byte 0. Retrying' appears repeatedly.
0.92 behaviour: the download proceeds normally.
- cntlm does not work at reboot (LP: #825593)
Restart the computer with no network cable attached, open Firefox and enter a URL.
0.91 behaviour: the message 'The proxy server is refusing connections' appears.
0.92 behaviour: the message '502 connection timed out. cntlm proxy failed to complete the request' appears.
- cntlm gpg error The following signatures were invalid: NODATA 2 (LP: #257210)
Run 'sudo add-apt-repository ppa:ginggs/ppa', press Enter to continue when promtped.
0.91 behaviour: the message 'gpg: requesting key 08CC41D2 from hkp server keyserver.ubuntu.com' appears and then stops responding.
0.92 behaviour: the key is downloaded and installed normally.
[Regression Potential]
Minimal: cntlm has no dependants and no dependencies besides libc6.
I am proposing a backport instead of cherry-picking individual patches for Precise because of the difficulties I experienced in trying to cherry-pick r306. I found that the current commits relied on other changes that were not present in the two-year old version 0.91 in Precise. For example, cntlm with r306 broke in subtle ways (certain pages were not rendered correctly) when r281 was not included.
In addition, I found unrelated changes in the commits, for example, more detailed debug logging and dummy checks introduces to suppress compiler warnings, which were difficult to extract.
Lastly, while running the 0.91 version with debugging information on, cntlm would segfault every couple of days while under heavy load (several workstations sharing one cntlm gateway), whereas this did not occur in the 0.92 version from Quantal.
In short, I believe backporting the Quantal version will give us a more stable base, without the increased regression potential of cherry-picking multiple patches onto a two-year old version.
---------------------------------------------------------------------------------------
I previously reported this in #983559, but it seems that it is a completely unrelated issue.
1) Ubuntu 12.04 LTS
2) 0.119ubuntu8.4
3) I expected to be able to install packages which need to download external files (e.g. flashplugin-installer, ttf-mscorefonts-installer)
4) package-data-downloader is unable to download these files through my cntlm proxy
At university, I can only access the outside world through an NTLM proxy, so I direct everything through a cntlm proxy running locally on my machine. Everything used to work as expected, but since the change in Precise to the way that packages download external files, I am unable to install these packages unless I hack the package-data-downloader script to replace urllib with an external wget call (patch included).
This is definitely not an issue with finding the proxy settings when using sudo -- I have verified that the environment variables are found as expected. I have also reproduced this issue with a minimal python example which I have run as my normal user.
If I monitor the /tmp/ directory after issuing the command to install one of these packages, I can see that a temporary file is created and grows until it reaches the expected size of the file to be downloaded. However, the script does not detect that the file has finished downloading, and hangs forever, without giving any indication of an error, until it is terminated.
Since I am able to download these files without any difficulty using wget, I have patched my script to use wget instead of urllib. When I do this, everything works as expected. I therefore believe that there is a bug in urllib which is triggered by cntlm. I have looked for a known bug which could be responsible, but I haven't been able to find anything yet.
In the meantime, using wget instead of urllib fixes the problem. I don't know if this is considered a tidy solution, but it works. |
[SRU] The debdiff attached to comment #22 backports cntlm-0.92.3-1ubuntu1 from Quantal to Precise.
It fixes the following bugs in Precise:
- package-data-downloader hangs forever when attempting to download through cntlm proxy (LP: #1009436)
- Can not play radio streams any more (LP: #659809)
- error when downloading files >2GB (LP: #1031670)
- cntlm does not work at reboot (LP: #825593)
- cntlm gpg error The following signatures were invalid: NODATA 2 (LP: #257210)
[IMPACT]
When behind a corporate proxy requiring NTLM authentication, users are unable to:
- install packages which download external files, e.g. flashplugin-installer and ttf-mscorefonts-installer (worked in Lucid)
- play internet radio streams (worked in Lucid)
- download files larger than 2GB in size
- download and install GPG keys through apt-get and apt-add-repository
[Test Cases]
Cntlm should be correctly configured and network proxy applied system wide as 127.0.0.1 port 3128 for HTTP, HTTPS and FTP, but not Socks.
- package-data-downloader hangs forever when attempting to download through cntlm proxy (LP: #1009436)
Run 'sudo apt-get install flashplugin-installer'
0.91 behaviour: flashplugin-installer downloads, installs, displays 'flashplugin-installer: downloading http://archive.canonical.com/pool/partner/a/adobe-flashplugin/adobe-flashplugin_11.2.202.236.orig.tar.gz' and then stops responding.
0.92 behaviour: flashplugin-installer downloads, installs and then downloads and installs the actual Flash plugin.
- Can not play radio streams any more (LP: #659809)
Open Rhythmbox and add http://shouthostdirect12.streams.bassdrive.com:8200/ as a New Internet Radio Station. Highlight the newly added station and click Play.
0.91 behaviour: no music is heard and a red No Entry icon appears next to the station.
0.92 behaviour: music starts playing.
- error when downloading files >2GB (LP: #1031670)
Run 'wget http://cdimage.ubuntu.com/edubuntu/dvd/current/quantal-dvd-amd64.iso'
0.91 behaviour: the message 'Connection closed at byte 0. Retrying' appears repeatedly.
0.92 behaviour: the download proceeds normally.
- cntlm does not work at reboot (LP: #825593)
Restart the computer with no network cable attached, open Firefox and enter a URL.
0.91 behaviour: the message 'The proxy server is refusing connections' appears.
0.92 behaviour: the message '502 connection timed out. cntlm proxy failed to complete the request' appears.
- cntlm gpg error The following signatures were invalid: NODATA 2 (LP: #257210)
Run 'sudo add-apt-repository ppa:ginggs/ppa', press Enter to continue when promtped.
0.91 behaviour: the message 'gpg: requesting key 08CC41D2 from hkp server keyserver.ubuntu.com' appears and then stops responding.
0.92 behaviour: the key is downloaded and installed normally.
[Regression Potential]
Minimal: cntlm has no dependants and no dependencies besides libc6.
I am proposing a backport instead of cherry-picking individual patches for Precise because of the difficulties I experienced in trying to cherry-pick r306. I found that the current commits relied on other changes that were not present in the two-year old version 0.91 in Precise. For example, cntlm with r306 broke in subtle ways (certain pages were not rendered correctly) when r281 was not included.
In addition, I found unrelated changes in the commits, for example, more detailed debug logging and dummy checks introduces to suppress compiler warnings, which were difficult to extract.
Lastly, while running the 0.91 version with debugging information on, cntlm would segfault every couple of days while under heavy load (several workstations sharing one cntlm gateway), whereas this did not occur in the 0.92 version from Quantal.
In short, I believe backporting the Quantal version will give us a more stable base, without the increased regression potential of cherry-picking multiple patches onto a two-year old version.
---------------------------------------------------------------------------------------
I previously reported this in #983559, but it seems that it is a completely unrelated issue.
1) Ubuntu 12.04 LTS
2) 0.119ubuntu8.4
3) I expected to be able to install packages which need to download external files (e.g. flashplugin-installer, ttf-mscorefonts-installer)
4) package-data-downloader is unable to download these files through my cntlm proxy
At university, I can only access the outside world through an NTLM proxy, so I direct everything through a cntlm proxy running locally on my machine. Everything used to work as expected, but since the change in Precise to the way that packages download external files, I am unable to install these packages unless I hack the package-data-downloader script to replace urllib with an external wget call (patch included).
This is definitely not an issue with finding the proxy settings when using sudo -- I have verified that the environment variables are found as expected. I have also reproduced this issue with a minimal python example which I have run as my normal user.
If I monitor the /tmp/ directory after issuing the command to install one of these packages, I can see that a temporary file is created and grows until it reaches the expected size of the file to be downloaded. However, the script does not detect that the file has finished downloading, and hangs forever, without giving any indication of an error, until it is terminated.
Since I am able to download these files without any difficulty using wget, I have patched my script to use wget instead of urllib. When I do this, everything works as expected. I therefore believe that there is a bug in urllib which is triggered by cntlm. I have looked for a known bug which could be responsible, but I haven't been able to find anything yet.
In the meantime, using wget instead of urllib fixes the problem. I don't know if this is considered a tidy solution, but it works. |
|
2012-09-26 02:32:11 |
Chris Halse Rogers |
cntlm (Ubuntu Precise): status |
Confirmed |
Fix Committed |
|
2012-09-26 02:32:17 |
Chris Halse Rogers |
bug |
|
|
added subscriber SRU Verification |
2012-09-26 02:32:20 |
Chris Halse Rogers |
tags |
apt cntlm download dpkg patch proxy |
apt cntlm download dpkg patch proxy verification-needed |
|
2012-09-26 02:43:39 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/precise-proposed/cntlm |
|
2012-10-01 12:38:52 |
Graham Inggs |
tags |
apt cntlm download dpkg patch proxy verification-needed |
apt cntlm download dpkg patch proxy verification-done |
|
2012-10-03 08:35:37 |
Colin Watson |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2012-10-03 08:36:11 |
Launchpad Janitor |
cntlm (Ubuntu Precise): status |
Fix Committed |
Fix Released |
|
2022-05-01 11:32:09 |
Bug Watch Updater |
cntlm (Debian): status |
New |
Fix Released |
|