🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.bugs.dist
1 messages
1 total messages Started by Mike Gabriel Thu, 19 Nov 2026 19:30
Bug#1154468: debian-edu-config: The proxy for the PXE image
#5141
Author: 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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads