Bug#970678: Network preseeding using http is broken
On Mon, Sep 21, 2020 at 03:30:27PM +0200, Philip Hands wrote:
> Martin Samuelsson <debianbts2020@nurysto.netizen.se> 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 point, are you saying that /dev/fd/4 does not
> exist when you look for it in a shell, or rather specifically when doing
> so in a context where it is in use?
>
> If you noticed that it's not there when e.g. simply listing the contents
> of /dev/fd then that's normal AFAIK.
>
> To illustrate this, here's some output from busybox shell, running on my
> laptop:
>
> =-=-=-=-
> ~ $ echo /dev/fd/*
> /dev/fd/0 /dev/fd/1 /dev/fd/10 /dev/fd/2 /dev/fd/3
> ~ $ ( echo /dev/fd/* ) 4>&1
> /dev/fd/0 /dev/fd/1 /dev/fd/10 /dev/fd/2 /dev/fd/3 /dev/fd/4
> ~ $ ( echo /dev/fd/* ) 4>&1 5>&1
> /dev/fd/0 /dev/fd/1 /dev/fd/10 /dev/fd/2 /dev/fd/3 /dev/fd/4 /dev/fd/5
> ~ $ ( echo /dev/fd/* ) 6>&1
> /dev/fd/0 /dev/fd/1 /dev/fd/10 /dev/fd/2 /dev/fd/3 /dev/fd/6
> ~ $
> =-=-=-=-
>
On Mon, Sep 21, 2020 at 02:58:36PM +0200, Philip Hands wrote:
...
>
> The fact that /dev/fd/4 is missing does seem to be a separate bug, but a
> quick grep -lr suggests that this is the only place it's used in d-i, so
> perhaps a bug we need not worry about too much.
>
Under which circumstance does the bug shows itself?
Regards
Geert Stappers
--
Silence is hard to parse
Reply to: