Bug#888829: wpad-extract broken on stretch

2018-02-04 Thread Wolfgang Schweer
> On Sun, Feb 04, 2018 at 04:39:43PM +, Mike Gabriel wrote:
> > Do you see any other issues that we should fix with such a proposed-update?
> > Only changes / fixes that are not too invasive.
>  
> Fixing smb.conf would require to add only one line. Fixed in Buster, see
 
d-e-c commit 3fdd5748ca6a0ea09e4d3c78ab04284d22b76ea2

Wolfgang


signature.asc
Description: PGP signature


Bug#888829: wpad-extract broken on stretch

2018-02-04 Thread Wolfgang Schweer
Hi Mike,

On Sun, Feb 04, 2018 at 04:39:43PM +, Mike Gabriel wrote:
> Do you see any other issues that we should fix with such a proposed-update?
> Only changes / fixes that are not too invasive.
 
Fixing smb.conf would require to add only one line. Fixed in Buster, see

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=864663#5

Wolfgang


signature.asc
Description: PGP signature


Bug#888829: wpad-extract broken on stretch

2018-02-04 Thread Mike Gabriel

On  Mi 31 Jan 2018 13:33:34 CET, Wolfgang Schweer wrote:


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

Wolfgang


Thanks Wolfgang for evaluating the possibilities. I will take care of  
a stretch-pu of debian-edu-config. I am sure, that we will get this in  
alright.


Do you see any other issues that we should fix with such a  
proposed-update? Only changes / fixes that are not too invasive.


Mike
--

DAS-NETZWERKTEAM
mike gabriel, herweg 7, 24357 fleckeby
mobile: +49 (1520) 1976 148
landline: +49 (4354) 8390 139

GnuPG Fingerprint: 9BFB AEE8 6C0A A5FF BF22  0782 9AF4 6B30 2577 1B31
mail: mike.gabr...@das-netzwerkteam.de, http://das-netzwerkteam.de



pgpEIt9yPn5xX.pgp
Description: Digitale PGP-Signatur


Bug#888829: wpad-extract broken on stretch

2018-01-31 Thread Wolfgang Schweer
On Tue, Jan 30, 2018 at 05:44:58PM +0100, Wolfgang Schweer wrote:
> On Tue, Jan 30, 2018 at 12:17:10PM +, 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

Wolfgang


signature.asc
Description: PGP signature


Bug#888829: wpad-extract broken on stretch

2018-01-30 Thread Wolfgang Schweer
Hi Mike,

On Tue, Jan 30, 2018 at 12:17:10PM +, 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.

So I figure rather this script to be the culprit, 'proxy' is working ok.

Please check if you can reproduce it. (Remember to logout/login again 
after any change done to /etc/environment.)  

> I'd like to prepare a stretch-pu upload of d-e-c with that wpad-extract
> script fixed. (Do you also observe it as broken on a Debian Edu stretch
> system?)
> 
> Would there be other atomic fixes that are valid for a stretch-pu?

See https://wiki.debian.org/DebianEdu/Status/Stretch
Not sure if these are suitable for pu, though.
 
> Could you please comment on the reason behind switching from "proxy" to
> "pactester" in wpad-extract?
> (We need a good reason for the release team...).

I wasn't able to get 'proxy' working on Buster, maybe due to KDE 
changes.

Wolfgang


signature.asc
Description: PGP signature


Bug#888829: wpad-extract broken on stretch

2018-01-30 Thread Mike Gabriel

Hi Wolfgang,

On  Di 30 Jan 2018 13:01:23 CET, Mike Gabriel wrote:


Package: debian-edu-config
Severity: important
Version: 1.929

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.


A simple fix seems to be to backport this commit to d-e-c in Debian stretch:
https://anonscm.debian.org/cgit/debian-edu/debian-edu-config.git/commit/?id=a06147029201686d5401d50f8ba3

Plus adding libpacparser1 under Depends: of d-e-c.

Greets,
Mike


I'd like to prepare a stretch-pu upload of d-e-c with that  
wpad-extract script fixed. (Do you also observe it as broken on a  
Debian Edu stretch system?)


Would there be other atomic fixes that are valid for a stretch-pu?

Could you please comment on the reason behind switching from "proxy"  
to "pactester" in wpad-extract?

(We need a good reason for the release team...).

See our IRC backlog as reference regarding the above issue:

```
12:53 < sunweaver> h01ger: hi!
12:53 < sunweaver> schweer ist not around... hmmm...
12:53 < sunweaver> anyway...  
https://anonscm.debian.org/cgit/debian-edu/debian-edu-config.git/commit/?id=a06147029201686d5401d50f8ba32cd9cd9f7093
12:54 < sunweaver> we noticed that update-proxy-from-wpad script is  
broken on stretch, well, ... because wpad-extract is broken on stretch.
12:54 < sunweaver> that script is required for having correct proxy  
settings in APT, environment, etc.

12:55 < sunweaver> I'd like to backport the above patch to d-e-c in stretch.
12:55 < sunweaver> have others come across this issue already? Was it  
under discussion already?

12:56 * sunweaver files a bug for now...
12:58 < h01ger> is the issue fixed in sid?
12:59 < sunweaver> h01ger: I haven't tested a sid system, but I  
cherry-picked the above commit into a live stretch system and the  
issue is then resolved.

13:00 < sunweaver> uploaded as 1.944
13:00 < sunweaver>  
https://anonscm.debian.org/cgit/debian-edu/debian-edu-config.git/tree/debian/changelog?id=03f3e9bd88a009a8add6faeb46060c17144b5eaf
13:00 < sunweaver> it needs another dependency then, too:  
libpacparser1 (for binary pactester).

13:01 < sunweaver> bug mail is on its way.
13:01 < sunweaver> I will add a fixed -1 1.944 once the bug appears on the ML.
[...]
13:04 < sunweaver> #29
13:04 -zwiebelbot:#debian-edu- Debian#29: wpad-extract broken on  
stretch - https://bugs.debian.org/29

[...]
13:05 < h01ger> is there a bug number for wpad-extract being broken in  
stretch?

13:05 < sunweaver> wpad-extract is a script in d-e-c
13:05 < h01ger> ah
13:05 < sunweaver> and #29 _is_ the bug.
13:05 < h01ger> fixes with new depends are also "hmmm"/not the most welcomed
13:06 < sunweaver> which sunweaver is aware of...
13:06 < sunweaver> the current (stretch) version has some KDE3 junk in  
it that schweer gratefully removed.
13:06 < sunweaver> I'd love to hear from him, why he chose the switch  
to pactester.
13:07 < sunweaver> I guess it is on him to... he may have had good  
reason to switch to another tool.
13:07 < h01ger> the fix for #29 looks ok, but i'm not a stable  
release manager… so you will need to file a bug against  
release.debian.org (best using reportbug) to get d-e-c updated

13:08 < sunweaver> h01ger: I have your go to handle the stretch-pu?
13:09 < sunweaver> I will wait for schweers feedback for now...
13:09 < h01ger> yes. but please start by filing a bug against  
release.debian.org… and maybe first a stretch-pu branch (in d-e-c)  
until you get a go, at which time you can upload and move the branch  
to stretch

13:09 < sunweaver> yes.
13:10 < h01ger> (and when you file this bug include the complete  
proposed debdiff in it…)
13:10 < sunweaver> ok with you, to copy+paste our chat backlog to the  
bug as schweer is offline?

13:10 < sunweaver> of course! same as with any other pu...
13:10 < h01ger> yup
```

Best,
Mike
--

DAS-NETZWERKTEAM
mike gabriel, herweg 7, 24357 fleckeby
mobile: +49 (1520) 1976 148
landline: +49 (4354) 8390 139

GnuPG Fingerprint: 9BFB AEE8 6C0A A5FF BF22  0782 9AF4 6B30 2577 1B31
mail: mike.gabr...@das-netzwerkteam.de, http://das-netzwerkteam.de



pgpU3e2fjXwKP.pgp
Description: Digitale PGP-Signatur


Bug#888829: wpad-extract broken on stretch

2018-01-30 Thread Mike Gabriel

Control: fixed -1 1.944
Control: tags -1 stretch

On  Di 30 Jan 2018 13:01:23 CET, Mike Gabriel wrote:


Package: debian-edu-config
Severity: important
Version: 1.929

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.


A simple fix seems to be to backport this commit to d-e-c in Debian stretch:
https://anonscm.debian.org/cgit/debian-edu/debian-edu-config.git/commit/?id=a06147029201686d5401d50f8ba3

Plus adding libpacparser1 under Depends: of d-e-c.

Greets,
Mike


The commit referenced above has been uploaded to unstable as 1.944 at  
the beginning of January as part of the cf2 -> cf3 conversion.


Mike
--

DAS-NETZWERKTEAM
mike gabriel, herweg 7, 24357 fleckeby
mobile: +49 (1520) 1976 148
landline: +49 (4354) 8390 139

GnuPG Fingerprint: 9BFB AEE8 6C0A A5FF BF22  0782 9AF4 6B30 2577 1B31
mail: mike.gabr...@das-netzwerkteam.de, http://das-netzwerkteam.de



pgpkigbPP9SZl.pgp
Description: Digitale PGP-Signatur


Bug#888829: wpad-extract broken on stretch

2018-01-30 Thread Mike Gabriel

Package: debian-edu-config
Severity: important
Version: 1.929

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.


A simple fix seems to be to backport this commit to d-e-c in Debian stretch:
https://anonscm.debian.org/cgit/debian-edu/debian-edu-config.git/commit/?id=a06147029201686d5401d50f8ba3

Plus adding libpacparser1 under Depends: of d-e-c.

Greets,
Mike
--

DAS-NETZWERKTEAM
mike gabriel, herweg 7, 24357 fleckeby
mobile: +49 (1520) 1976 148
landline: +49 (4354) 8390 139

GnuPG Fingerprint: 9BFB AEE8 6C0A A5FF BF22  0782 9AF4 6B30 2577 1B31
mail: mike.gabr...@das-netzwerkteam.de, http://das-netzwerkteam.de



pgpOJMbn83h3f.pgp
Description: Digitale PGP-Signatur