Subject: debian-installer: accesses the internet during build
Date: Mon, 01 Apr 2024 18:55:43 +0200
Source: debian-installer
Severity: serious
Justification: Policy 4.9
X-Debbugs-Cc: [email protected], [email protected]
Control: affects -1 buildd.debian.org
Hi,
debian-installer attemps network access during build, although only to
the mirrors listed in /etc/apt/sources.list and in a secure way. This is
forbidden by Policy 4.9:
For packages in the main archive, required targets must not attempt
network access, except, via the loopback interface, to services on the
build host that have been started by the build.
In addition this brings constraints to the build daemons infrastructure.
Regards,
Aurelien
Acknowledgement sent
to Cyril Brulebois <[email protected]>:
Extra info received and forwarded to list. Copy sent to Debian Install System Team <[email protected]>.
(Mon, 01 Apr 2024 18:36:04 GMT) (full text, mbox, link).
[ Switching from ML to bug. ]
Hi Jonathan,
Jonathan Carter <[email protected]> (2024-04-01):
> On 2024/04/01 18:55, Aurelien Jarno wrote:
> > debian-installer attemps network access during build, although only to
> > the mirrors listed in /etc/apt/sources.list and in a secure way. This is
> > forbidden by Policy 4.9:
> >
> > For packages in the main archive, required targets must not attempt
> > network access, except, via the loopback interface, to services on the
> > build host that have been started by the build.
> >
> > In addition this brings constraints to the build daemons infrastructure.
>
> As far as I know, this doesn't happen until after d-i asked the question "Do
> you want to use a network mirror?" and the user answered "Yes", in which
> case I think that would count as informed consent.
This isn't about d-i runtime, this is about src:debian-installer's
*build* requiring network access, which is a very well known problem
(even though there are no obvious solutions, at least that I'm aware
of), and that's now getting in the way of changes being considered
regarding the buildd network.
Cheers,
--
Cyril Brulebois ([email protected]) <https://debamax.com/>
D-I release manager -- Release team member -- Freelance Consultant
Debbugs is free software and licensed under the terms of the GNU General
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.