[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#888829: wpad-extract broken on stretch

On Tue, Jan 30, 2018 at 05:44:58PM +0100, Wolfgang Schweer wrote:
> On Tue, Jan 30, 2018 at 12:17:10PM +0000, Mike Gabriel wrote:
> > On  Di 30 Jan 2018 13:01:23 CET, Mike Gabriel wrote:
> > > On Debian Edu stretch, the proxy settings do not get updated from WPAD.
> > > Cause is the wpad-extract script in /usr/share/debian-edu-config/tools.
> > > It returns nothing when executed.
> AFAICT the wpad-extract script is working ok if /etc/environment has 
> this content (like it should have):
> http_proxy=http://webcache:3128
> ftp_proxy=http://webcache:3128
> https_proxy=http://webcache:3128
> While /usr/share/debian-edu-config/tools/update-proxy-from-wpad works ok 
> on a main server and correctly rewrites an emptied environment file, the 
> script seems to fail on clients: all three variables are unset. No idea 
> why this happens.

This happens because 'update-proxy-from-wpad' unsets http_proxy before 
evaluating the 'wpad-extract' output.
> So I figure rather this script to be the culprit, 'proxy' is working ok.
No, update-proxy-from-wpad isn't the reason.

While 'http_proxy= /usr/share/debian-edu-config/tools/wpad-extract' 
returns the proxy url when run on the main server (where wpad.dat is 
available locally on the web server's document root), this same commands 
returns nothing on workstations. A workstations seems like failing to 
fetch wpad.dat from the web server. I suspect the changed behaviour to 
be due to the KDE4 (Jessie) -> KDE5 (Stretch) migration.

After trying different kioslaverc settings to no avail, the only 
chance to get it working again seems to be using pactester, i.e. the 
Buster wpad-extract script version


Attachment: signature.asc
Description: PGP signature

Reply to: