snapcraft should propagate proxy settings to multipass VMs
Metadata
Current evaluation
Resolved by merged canonical/snapcraft#3224 (7389ae516), adding --install-ca-certificates for custom CAs in LXD and Multipass build environments.
Resolution: closed resolved
Reason: The issue was resolved by PR canonical/snapcraft#3224, merged as commit 7389ae516. The change adds certificate installation support for LXD and Multipass build environments.
Evaluated by: mr-cal-bot
No scores available.
Issue body
When building a snap from a host using http/https proxy, these settings are not propagated to multipass VMs building the snap, so apt fails to contact repos.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Resolved by merged canonical/snapcraft#3224 (7389ae516), adding --install-ca-certificates for custom CAs in LXD and Multipass build environments. | |
| stealth/space-bunny-alpha | — | closed resolved | Proxy certificate support was fixed by merged PR canonical/snapcraft#3224 (7389ae516), adding --install-ca-certificates for LXD and Multipass build environments. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #3224 added --install-ca-certificates to install custom CA certificates in LXD and Multipass build environments. | |
| stealth/space-bunny-alpha | — | closed stale | Proxy propagation to Multipass VMs was reported, but the issue was closed without a fix, workaround, or resolving reference. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without resolution. Snapcraft does not propagate host proxy settings to multipass VMs, causing apt failures. The issue was abandoned due to inactivity with no fix or workaround implemented. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without resolution. The proxy propagation bug for Multipass VMs remains unfixed and appears abandoned due to zero comments and no follow-up activity. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without resolution or comments. The request for snapcraft to propagate proxy settings to multipass VMs appears abandoned due to prolonged inactivity, leaving the apt repository connectivity issue unresolved. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Proxy settings were not propagated to Multipass VMs during snap builds. The request was closed without comments or resolution, indicating abandonment due to inactivity. No fix was implemented. |
Update history
| Date | Change |
|---|---|
| created |
Related work
-
Likely Fixed By:
canonical/snapcraft#3224
(confidence 99%)
Merged fix adding custom CA certificate support to isolated build environments.
-
Related To:
multipass#522
(confidence 90%)
The issue was linked as the corresponding Multipass proxy-certificate problem.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1984223 Snapcraft on riscv64 tries to install non-existent multipass snap | snapcraft (launchpad) | closed | Fixed in Snapcraft 9 where lxd became the default provider on riscv64, resolving the multipass installation prompt issue. | |
| #3224 cli: provide option to install ca certs into build environment | snapcraft | merged | Merged PR #3224 as commit 7389ae516, adding --install-ca-certificates for custom CAs in LXD and Multipass builds. | |
| #1792614 use multipass if set in the environment | snapcraft (launchpad) | closed | Closed as fixed: PR snapcore/snapcraft#2275 (commit 04f8896d9) made SNAPCRAFT_BUILD_ENVIRONMENT/multipass take precedence over the base-derived provider choice. | |
| #2293 build providers: use the new snapcraft: remote for multipass | snapcraft | merged | Merged PR #2293 as commit 66060e839, switching Multipass builds to the snapcraft: remote and delegating unsupported-base errors to Multipass. | |
| #2258 build providers: snapcraft images for multipass | snapcraft | merged | Merged PR #2258 as commit 5ffefbf96, adding Snapcraft build images for Multipass and a Darwin launch workaround for LP #1791821. | |
| #1791821 multipass should use snapcraft defined environments | snapcraft (launchpad) | closed | Multipass now launches Snapcraft-defined build images; fixed by canonical/snapcraft#2258 (commit 5ffefbf96), including a Darwin launch workaround. | |
| #1806083 snapcraft fails to locate multipass (inside a multipass session) | snapcraft (launchpad) | open | Snapcraft 3.0.1 falsely reported Multipass missing inside a Multipass guest; Darwin-only detection in e9ae8d29f addressed the old path, but the Launchpad record remains open. | |
| #1794361 use new multipass snapcraft remote | snapcraft (launchpad) | closed | Snapcraft switched Multipass builds to the new snapcraft: remote via merged PR snapcore/snapcraft#2293 (commit 66060e839). |