Univention Bugzilla – Full Text Bug Listing |
Summary: | proxy not used for https:// | ||
---|---|---|---|
Product: | UCS | Reporter: | Philipp Hahn <hahn> |
Component: | System setup | Assignee: | Erik Damrose <damrose> |
Status: | CLOSED FIXED | QA Contact: | Philipp Hahn <hahn> |
Severity: | normal | ||
Priority: | P5 | CC: | damrose, heidelberger |
Version: | UCS 4.4 | ||
Target Milestone: | UCS 4.4-4-errata | ||
Hardware: | Other | ||
OS: | Linux | ||
See Also: | https://forge.univention.org/bugzilla/show_bug.cgi?id=44489 | ||
What kind of report is it?: | Bug Report | What type of bug is this?: | 6: Setup Problem: Issue for the setup process |
Who will be affected by this bug?: | 2: Will only affect a few installed domains | How will those affected feel about the bug?: | 3: A User would likely not purchase the product |
User Pain: | 0.206 | Enterprise Customer affected?: | Yes |
School Customer affected?: | ISV affected?: | ||
Waiting Support: | Flags outvoted (downgraded) after PO Review: | ||
Ticket number: | Bug group (optional): | ||
Max CVSS v3 score: |
Description
Philipp Hahn
2019-12-10 08:07:38 CET
TT: 2020-06-18/19 TT: 2020-05-14/15 TT: 2020-04-23/24 d61451cd02 Bug #50613: Configure proxy settings e31a5f536e Bug #50613: yaml Package: univention-system-setup Version: 12.0.2-25A~4.4.0.202006221330 Branch: ucs_4.4-0; Scope: errata4.4-4 OK: d61451cd025df218e8d263213f23269d842312ba OK: errata-announce -V --only univention-system-setup.yaml OK: univention-system-setup.yaml FAIL: It would work if not for this oversight: UCS-4.4-3 (or later) in Appliance Setup mode: - `UMC-server` forks `umc-module -m setup` while no proxy is configured yet - Setting the proxy only writes the settings to UCRV proxy/http[s] - The setting gets written into the following files by UCR: - /etc/systemd/system/docker.service - /etc/docker/daemon.json - /etc/default/docker - /etc/apt/apt.conf.d/80proxy - /etc/profile - The last file is only sourced for new(!) interactive(!) login(!) shells - never for systemd and any service started by it - UMC validates the setting via UMCP `setup/check/repository_accessibility` - This forks `curl` from the already running `umc-module -m setup` process - That fails because environment variables `proxy_http[s]` are not set Also: base/univention-system-setup/umc/python/setup/checks/repositories.py calls `curl` for 3 strings - only UCRV `repository/online/server` might have a schema; `https://` should be prefixed for make them a proper URL for `cURL`. Also 2: Bug #44489 might also be affected by no proxy configuration Good work finding the failing repository check! db66e7b242 Bug #50613: Fix repository server check, consider current proxy settings 2ed08fa52c Bug #50613: yaml univention-system-setup 12.0.2-26A~4.4.0.202006221738 OK: apt install OK: yaml FYI: There are many warning for <https://appcenter.software-univention.de/meta-inf/> due to the missing https_proxy setting during the package update; I'm ignoring that FYI: USS still complains when no Gateway is configured. Strictly speaking this is not required as long as the http-proxy is located in the same sub-network. OK: Install Master+S4 with http-proxy OK: grep ^[^#] /etc/apt/sources.list.d/*.list OK: apt update |