Bug#970678: Network preseeding using http is broken

2020-09-21 Thread Ben Hutchings
On Mon, 2020-09-21 at 20:42 +0100, Ben Hutchings wrote: > On Mon, 2020-09-21 at 17:43 +0200, Martin Samuelsson wrote: > > Philip Hands @ 2020-09-21 (Monday), 15:30 (+0200) > > > Martin Samuelsson writes: > > > > > > Just to be clear on this point, are you saying [...] > > > > I'm saying there

Bug#970678: Network preseeding using http is broken

2020-09-21 Thread Martin Samuelsson
Philip Hands @ 2020-09-21 (Monday), 22:38 (+0200) BTW The example I pasted was just busybox running on my laptop running full Debian, so was not supposed to be demonstrating it working under d-i. I could likely have been more precise from the beginning about the exact cause. Sorry for making

Bug#970678: Network preseeding using http is broken

2020-09-21 Thread Philip Hands
Martin Samuelsson writes: > I'm saying there is no /dev/fd/ at all Oh, fair enough. That's odd. BTW The example I pasted was just busybox running on my laptop running full Debian, so was not supposed to be demonstrating it working under d-i. ... > --- http.orig 2020-09-21 17:21:24.159480072

Bug#970678: Network preseeding using http is broken

2020-09-21 Thread Ben Hutchings
On Mon, 2020-09-21 at 17:43 +0200, Martin Samuelsson wrote: > Philip Hands @ 2020-09-21 (Monday), 15:30 (+0200) > > Martin Samuelsson writes: > > > > Just to be clear on this point, are you saying [...] > > I'm saying there is no /dev/fd/ at all on current daily debian-installer > images and

Bug#970678: Network preseeding using http is broken

2020-09-21 Thread Martin Samuelsson
Geert Stappers @ 2020-09-21 (Monday), 17:18 (+0200) Under which circumstance does the bug shows itself? As far as I understand /dev/fd seems to be completely missing. Haven't dug into it. For what its worth, it seems /proc/self/fd is still available. I did experiment with redirecting sed

Bug#970678: Network preseeding using http is broken

2020-09-21 Thread Martin Samuelsson
Philip Hands @ 2020-09-21 (Monday), 15:30 (+0200) Martin Samuelsson writes: Just to be clear on this point, are you saying [...] I'm saying there is no /dev/fd/ at all on current daily debian-installer images and hasn't been since at least 20200818 (which was the oldest one I could try

Bug#970678: Network preseeding using http is broken

2020-09-21 Thread Geert Stappers
On Mon, Sep 21, 2020 at 03:30:27PM +0200, Philip Hands wrote: > Martin Samuelsson writes: > > > Booting the installer with DEBCONF_DEBUG=5 and debuging /bin/preseed_fetch, > > /bin/fetch-url and /usr/lib/fetch_url/http shows that wget404() in the > > latter is what's failing. It seems the

Bug#970678: Network preseeding using http is broken

2020-09-21 Thread Philip Hands
Martin Samuelsson writes: > Booting the installer with DEBCONF_DEBUG=5 and debuging /bin/preseed_fetch, > /bin/fetch-url and /usr/lib/fetch_url/http shows that wget404() in the > latter is what's failing. It seems the pipeline fails since /dev/fd/4 does > not exist. Just to be clear on this

Bug#970678: Network preseeding using http is broken

2020-09-21 Thread Philip Hands
Martin Samuelsson writes: ... > Reading README.wget404[1] clearly states this output redirection dance is > never actually used, and that this convoluted expression merely exists > because it could possibly-maybe be useful some day. As far as I can see the > callers of wget404() does indeed

Bug#970678: Network preseeding using http is broken

2020-09-21 Thread Martin Samuelsson
Package: debian-installer Version: 20200920 Debian installer fails to fetch preseed files over http. How to reproduce: Boot the installer with url=http://pxeserver./example.txt Where example.txt contains: d-i preseed/include string something.txt \ other.txt \ more.txt The installer