🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #5141

Bug#1154468: debian-edu-config: The proxy for the PXE image

#5141
From: Mike Gabriel
Date: Thu, 19 Nov 2026 19:30
78 lines
4634 bytes
Hi,

On  Do 19 Nov 2026 12:50:40 UTC, Roland Clobus wrote:

> Package: debian-edu-config
> Severity: wishlist
>
> Hi,
>
> The following remark from #1154272 gets this (its own) bug report:
> ```
> Regenerating the netboot image with 'http_proxy=http://webcache:3128 debian-
> edu-pxeinstall' made the installation faster, because the Squid  
> proxy was used
> ```

We definitely want to have this. Great finding.

> There are two issues:
> * The proxy is not automatically set
> * The proxy during the installation is not the proxy during production use
>
> When a main server (without LTSP) has been installed, and the 'debian-edu-
> pxeinstall' script is restarted, the installation from a PXE boot does not
> use the proxy.
>
> When the 'http_proxy' variable is set before the invocation of the  
> script, the
> PXE installation will use the Squid proxy cache from the server, speeding up
> the installation (after the cache has been filled).

The http_proxy variable can be configured in /etc/debian-edu/pxeinstall.conf.

If enabled there, it should get preseeded into Debian Installer  
launched via PXE.

> Or should the proxy have been stored in '/etc/environment'?

This is another place where things may have failed. We have the  
update-proxy-from-wpad script. It runs regularly, but directly after  
boot it may not have been run, yet (or run too early, before apache2  
on tjener is up?). That script updates *_proxy variables in  
/etc/environment and the environment file gets sourced by  
debian-edu-pxeinstall script iirc.

So, we might have a timing issue here.

> During a fresh installation, the environment variable 'http_proxy' is set by
> 'load_proxy_conf' in debian-edu-install, with the proxy that is used  
> during the installation.

Ah, my installations from ISO image never use a proxy here, but if the  
proxy at installation time of the main server continues to get used by  
the Debian Edu PXE installation setup, then this is certainly wrong.

> That is not the correct value to use after the main server is set up  
> correctly.
> The proxy should have been 'http://webcache:3128'

Do we actually have two bugs here?

1. /etc/environment not populated early enough

2. proxy from main-server installation still used for  
debian-edu-pxeinstall's preseeding?

Mike

-- 

DAS-NETZWERKTEAM
c\o Technik- und Ökologiezentrum Eckernförde
Mike Gabriel, Marienthaler Str. 17, 24340 Eckernförde
mobile: +49 (1520) 1976 148
landline: +49 (4351) 850 8940

GnuPG Fingerprint: 9BFB AEE8 6C0A A5FF BF22  0782 9AF4 6B30 2577 1B31
mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de
Technical Details
Message-ID: <O1fZv-cWDL-3@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.corradoroberto.it!bofh.it!news.nic.it!robomod
References: <O1fZv-cWDL-5@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.corradoroberto.it!bofh.it!news.nic.it!robomod
From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1154468: debian-edu-config: The proxy for the PXE image
Date: Thu, 19 Nov 2026 20:30:01 +0100
Message-ID: <O1fZv-cWDL-3@gated-at.bofh.it>
References: <O1fZv-cWDL-5@gated-at.bofh.it>
X-Original-To: 1154468@bugs.debian.org, Roland Clobus <rclobus@rclobus.nl>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Thu Nov 19 19:23:08 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.451
Reply-To: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>, 1154468@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: debian-edu@lists.debian.org
X-Debian-Pr-Message: followup 1154468
X-Debian-Pr-Package: debian-edu-config
X-Debian-Pr-Source: debian-edu-config
User-Agent: Horde Application Framework 5
Accept-Language: de,en
Organization: DAS-NETZWERKTEAM
X-Originating-IP: 2a04:6ec0:244:9aa0:d560:2e3c:47a0:5d1b
X-Remote-Browser: Mozilla/5.0 (Linux; Ubuntu 24.04 like Android 9)
 AppleWebKit/537.36 Chrome/140.0.0.0 Mobile Safari/537.36
Content-Type: text/plain; charset=utf-8; format=flowed; DelSp=Yes
MIME-Version: 1.0
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2003605
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 78
Sender: robomod@news.nic.it
X-Original-Date: Thu, 19 Nov 2026 19:22:27 +0000
X-Original-Message-ID: <20261119192227.Horde.H_W9ZNazGfLVsjvNkc_r0Q1@mail.das-netzwerkteam.de>
X-Original-References: <77aa87d5-6474-4a7e-98f7-417b656581d8@rclobus.nl>