Univention Bugzilla – Bug 48126
proxy/http option not set in system setup, results in failing join
Last modified: 2023-12-12 11:43:31 CET
When installing UCS 4.3 in an environment where a http-proxy is needed, the proxy option is not set when being adding via the web system setup interface. As an result an error message is shown, no package sources can be retrieved, a later join fails. Even if proxy/http and proxy/https variables are being set manually and apt-get update is called sucessfully the join fails. This works without issues when installing UCS 4.2 in the same environment.
This probably affects appliances, because their network config is done via the UMC setup module.
Definitely affects both appliances and fresh installs, I ran into the same problem with both
When installing from DVD/ISO the network configuration page is provided by the Debian installer, not by the UMC System Setup module.
This happens with Univention System Setup with our KVM templates: My analysis shows the univention.management.console.modules.setup.checks.repository.get_reachable_repository_servers() is invoked from the *running* UMC server, which has a clean environment from systemd, which does *not* include *http_proxy* and *https_proxy*. So the setting just done in USS is not applied. git:phahn/48126-uss-proxy
At least in USS this was worked-around by Bug #50613 git:db66e7b242061fdb3cbf7588d7d36daf9b453e41 and git:d61451cd025df218e8d263213f23269d842312ba, but later on USS forks many more sub-processes which all inherit the environment, where the proxy settings are missing.
This issue has been filed against UCS 4.3. UCS 4.3 is out of maintenance and many UCS components have changed in later releases. Thus, this issue is now being closed. If this issue still occurs in newer UCS versions, please use "Clone this bug" or reopen it and update the UCS version. In this case please provide detailed information on how this issue is affecting you.
https://git.knut.univention.de/univention/ucs/-/merge_requests/763
[5.0-6] 944f713049 fix(USS): proxy checking base/univention-system-setup/debian/changelog | 1 + .../umc/python/setup/checks/repositories.py | 54 +++++++++++++++++++++-------- 2 files changed, 40 insertions(+), 15 deletions(-) Package: univention-system-setup Version: 13.0.10-1 Branch: ucs_5.0-0 Scope: ucs5.0-6