← Back to issue list

snapcraft on ARM 64 - stuck at lxd

View original Github issue

Metadata

Project
snapcraft
Number
#4443
Type
issue
State
closed
Author
skidoomanubuntu
Labels
—
Created
Updated
Closed

Current evaluation

The ARM64 hang was traced to missing LXD container networking, not a Snapcraft architecture defect; Snapcraft 7.5.4 added a timeout instead of looping indefinitely.

Resolution: closed not a bug

Reason: Maintainer mr-cal identified a lack of LXD container network access, potentially involving VPN or Docker configuration, rather than an ARM64-specific defect. Snapcraft 7.5.4 was released with a timeout, and the closing maintainer asked for a reopen if it still occurs.

Evaluated by: mr-cal-bot

No scores available.

Issue body

### Bug Description I have a snap for Core 22 that builds like a charm on x86. However, when I am trying to build on ARM, it fails. I believe it gets blocked at lxd stage. ### To Reproduce You can check out the code from here: git@github.com:skidoomanubuntu/oval-core-tools.git Then, just snapcraft on an ARM machine BTW, I tried a few variations. Going to multipass was not successful, neither was invoking sudo snapcraft. ### Environment I have an ARM server with 64 cores from ADLink, so I assume my system's scalability is not an issue. uname -r: 5.4.0-155-generic lscpu: Architecture: aarch64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 64 On-line CPU(s) list: 0-63 Thread(s) per core: 1 Core(s) per socket: 64 Socket(s): 1 NUMA node(s): 1 Vendor ID: ARM Model: 1 Model name: Neoverse-N1 Stepping: r3p1 CPU max MHz: 2200.0000 CPU min MHz: 1000.0000 BogoMIPS: 50.00 L1d cache: 4 MiB L1i cache: 4 MiB L2 cache: 64 MiB NUMA node0 CPU(s): 0-63 Vulnerability Itlb multihit: Not affected Vulnerability L1tf: Not affected Vulnerability Mds: Not affected Vulnerability Meltdown: Not affected Vulnerability Mmio stale data: Not affected Vulnerability Retbleed: Not affected Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl Vulnerability Spectre v1: Mitigation; __user pointer sanitization Vulnerability Spectre v2: Mitigation; CSV2, BHB Vulnerability Srbds: Not affected Vulnerability Tsx async abort: Not affected Flags: fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm lrcpc dcpop asimddp ssbs ### snapcraft.yaml ```shell name: oval-core-tools base: core22 version: '0.2' summary: This snap provides basic tools for CVE Reporting on Ubuntu Core. description: | This snap provides basic tools for OVAL-based CVE Reporting on Ubuntu Core. grade: devel # must be 'stable' to release into candidate/stable channels confinement: devmode # use 'strict' once you have the right plugs and slots apps: cvereport: command: cvereport.sh scan: command: bin/snap_manifest.py generate-from-existing-manifests: command: bin/security_scan.py environment: PYTHONPATH: $SNAP/lib/python3.10/site-packages:$SNAP:$PYTHONPATH server: command: bin/launch.sh daemon: simple environment: PYTHONPATH: $SNAP/lib/python3.10/site-packages:$SNAP:$SNAP/snap-manifests:$PYTHONPATH parts: snap-manifests: plugin: python source: ./snap-manifests python-packages: [wheel, pyyaml, bs4, requests, html5lib, lxml, uvicorn, fastapi] security-scan: plugin: dump source: ./security-scan organize: security_scan.py: bin/security_scan.py launcher: plugin: dump source: ./bin organize: launch.sh: bin/launch.sh server_info: plugin: dump source: ./app organize: main.py: app/main.py report: plugin: dump source: ./report stage-packages: - bzip2 - curl - jq - libopenscap8 - wget - xmlstarlet stage: - -usr/lib/*/libicuio.so.* - -usr/lib/*/libicutest.so.* - -usr/lib/*/libicutu.so* - -usr/lib/*/libicui18n.so* - -usr/lib/*/libopenscap_sce.so.* layout: /usr/share/openscap/schemas: symlink: $SNAP/usr/share/openscap/schemas # required due to oval_probe_eval chdir() logic /usr/lib/$CRAFT_ARCH_TRIPLET/openscap: symlink: $SNAP/usr/lib/$CRAFT_ARCH_TRIPLET/openscap ``` ### Relevant log output ```shell sudo snapcraft --verbosity=trace [sudo] password for adlink: 2023-11-09 17:32:02.483 Starting Snapcraft 7.5.0 2023-11-09 17:32:02.483 Logging execution to '/root/.local/state/snapcraft/log/snapcraft-20231109-173202.481662.log' 2023-11-09 17:32:02.484 Raw pre-parsed sysargs: args={'help': False, 'verbose': False, 'quiet': False, 'verbosity': 'trace', 'version': False, 'trace': False} filtered=[] 2023-11-09 17:32:02.484 Using default command: 'pack' 2023-11-09 17:32:02.484 General parsed sysargs: command='pack' args=[] 2023-11-09 17:32:02.486 Command parsed sysargs: Namespace(bind_ssh=False, build_for=None, debug=False, destructive_mode=False, directory=None, enable_developer_debug=False, enable_experimental_extensions=False, enable_experimental_plugins=False, enable_experimental_target_arch=False, enable_experimental_ua_services=False, enable_manifest=False, http_proxy=None, https_proxy=None, manifest_image_information=None, output=None, provider=None, target_arch=None, ua_token=None, use_lxd=False) 2023-11-09 17:32:02.486 lifecycle command: 'pack', arguments: Namespace(bind_ssh=False, build_for=None, debug=False, destructive_mode=False, directory=None, enable_developer_debug=False, enable_experimental_extensions=False, enable_experimental_plugins=False, enable_experimental_target_arch=False, enable_experimental_ua_services=False, enable_manifest=False, http_proxy=None, https_proxy=None, manifest_image_information=None, output=None, provider=None, target_arch=None, ua_token=None, use_lxd=False) 2023-11-09 17:32:02.486 command: pack, arguments: Namespace(bind_ssh=False, build_for=None, debug=False, destructive_mode=False, directory=None, enable_developer_debug=False, enable_experimental_extensions=False, enable_experimental_plugins=False, enable_experimental_target_arch=False, enable_experimental_ua_services=False, enable_manifest=False, http_proxy=None, https_proxy=None, manifest_image_information=None, output=None, provider=None, target_arch=None, ua_token=None, use_lxd=False) 2023-11-09 17:32:02.517 Created build plan: build-on: arm64 build-for: arm64 2023-11-09 17:32:02.517 CPU count (from process affinity): 64 2023-11-09 17:32:02.517 Invalid SNAPCRAFT_MAX_PARALLEL_BUILD_COUNT '' 2023-11-09 17:32:02.518 Running on arm64 for arm64 2023-11-09 17:32:02.525 Checking build provider availability 2023-11-09 17:32:02.540 Retrieved snap config: {} 2023-11-09 17:32:02.540 Using default provider 'lxd' on linux system. 2023-11-09 17:32:02.702 Executing on host: lxc --project default profile show local:default 2023-11-09 17:32:02.834 Using hostname 'snapcraft-oval-core-tools-on-arm64-for-arm64-917697' 2023-11-09 17:32:02.835 Launching instance... 2023-11-09 17:32:02.835 Executing on host: lxc remote list --format=yaml 2023-11-09 17:32:02.955 Executing on host: lxc remote add craft-com.ubuntu.cloud-buildd https://cloud-images.ubuntu.com/buildd/releases --protocol=simplestreams 2023-11-09 17:32:03.072 Remote 'craft-com.ubuntu.cloud-buildd' was successfully added. 2023-11-09 17:32:03.072 Executing on host: lxc project list local: --format=yaml 2023-11-09 17:32:03.210 Set LXD instance name to 'snapcraft-oval-core-tools-on-arm64-for-arm64-917697' 2023-11-09 17:32:03.211 Checking for instance 'snapcraft-oval-core-tools-on-arm64-for-arm64-917697' in project 'snapcraft' in remote 'local' 2023-11-09 17:32:03.211 Executing on host: lxc --project snapcraft list local: --format=yaml 2023-11-09 17:32:03.374 Executing on host: lxc --project snapcraft config get local:snapcraft-oval-core-tools-on-arm64-for-arm64-917697 raw.idmap 2023-11-09 17:32:03.505 Unexpected id map for 'snapcraft-oval-core-tools-on-arm64-for-arm64-917697' (expected 'both 1000 0', got ''). 2023-11-09 17:32:03.506 Cleaning incompatible instance 'snapcraft-oval-core-tools-on-arm64-for-arm64-917697' (reason: the instance's id map ('raw.idmap') is not configured as expected). 2023-11-09 17:32:03.506 Executing on host: lxc --project snapcraft delete local:snapcraft-oval-core-tools-on-arm64-for-arm64-917697 --force 2023-11-09 17:32:05.366 Instance 'snapcraft-oval-core-tools-on-arm64-for-arm64-917697' does not exist. 2023-11-09 17:32:05.367 Set LXD instance name to 'base-instance-snapcraft-buildd-base-v10--2d55678e0339df02cd48' 2023-11-09 17:32:05.367 Checking for base instance 'base-instance-snapcraft-buildd-base-v10--2d55678e0339df02cd48' in project 'snapcraft' in remote 'local' 2023-11-09 17:32:05.367 Executing on host: lxc --project snapcraft list local: --format=yaml 2023-11-09 17:32:05.500 Base instance 'base-instance-snapcraft-buildd-base-v10--2d55678e0339df02cd48' does not exist. 2023-11-09 17:32:05.500 Creating new instance from image 'core22' from remote 'craft-com.ubuntu.cloud-buildd'. 2023-11-09 17:32:05.500 Executing on host: lxc --project snapcraft info local: 2023-11-09 17:32:05.660 Executing on host: lxc --project snapcraft launch craft-com.ubuntu.cloud-buildd:core22 local:snapcraft-oval-core-tools-on-arm64-for-arm64-917697 --config security.syscalls.intercept.mknod=true 2023-11-09 17:32:12.618 Executing in container: lxc --project snapcraft exec local:snapcraft-oval-core-tools-on-arm64-for-arm64-917697 -- env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin SNAPCRAFT_MANAGED_MODE=1 test -f /etc/craft-instance.conf 2023-11-09 17:32:12.868 Executing on host: lxc --project snapcraft file push /tmp/tmphzy4i8k1 local:snapcraft-oval-core-tools-on-arm64-for-arm64-917697/etc/craft-instance.conf --mode=0644 2023-11-09 17:32:13.014 Executing in container: lxc --project snapcraft exec local:snapcraft-oval-core-tools-on-arm64-for-arm64-917697 -- env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin SNAPCRAFT_MANAGED_MODE=1 chown root:root /etc/craft-instance.conf 2023-11-09 17:32:13.210 Executing in container: lxc --project snapcraft exec local:snapcraft-oval-core-tools-on-arm64-for-arm64-917697 -- env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin SNAPCRAFT_MANAGED_MODE=1 cat /etc/os-release 2023-11-09 17:32:13.412 Executing in container: lxc --project snapcraft exec local:snapcraft-oval-core-tools-on-arm64-for-arm64-917697 -- env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin SNAPCRAFT_MANAGED_MODE=1 test -f /etc/craft-instance.conf 2023-11-09 17:32:13.624 Executing on host: lxc --project snapcraft file pull local:snapcraft-oval-core-tools-on-arm64-for-arm64-917697/etc/craft-instance.conf /root/tmpu9bjp7z_.tmp-craft/tmpi76qakk8 2023-11-09 17:32:13.770 Executing on host: lxc --project snapcraft file push /tmp/tmp5v4_y05p local:snapcraft-oval-core-tools-on-arm64-for-arm64-917697/etc/apt/apt.conf.d/20auto-upgrades --mode=0644 2023-11-09 17:32:13.908 Executing in container: lxc --project snapcraft exec local:snapcraft-oval-core-tools-on-arm64-for-arm64-917697 -- env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin SNAPCRAFT_MANAGED_MODE=1 chown root:root /etc/apt/apt.conf.d/20auto-upgrades 2023-11-09 17:32:14.109 Executing on host: lxc --project snapcraft file push /tmp/tmph5jpob8r local:snapcraft-oval-core-tools-on-arm64-for-arm64-917697/etc/environment --mode=0644 2023-11-09 17:32:14.252 Executing in container: lxc --project snapcraft exec local:snapcraft-oval-core-tools-on-arm64-for-arm64-917697 -- env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin SNAPCRAFT_MANAGED_MODE=1 chown root:root /etc/environment 2023-11-09 17:32:14.457 Waiting for environment to be ready... 2023-11-09 17:32:14.457 Executing in container: lxc --project snapcraft exec local:snapcraft-oval-core-tools-on-arm64-for-arm64-917697 -- env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin SNAPCRAFT_MANAGED_MODE=1 systemctl is-system-running 2023-11-09 17:32:14.664 Executing in container: lxc --project snapcraft exec local:snapcraft-oval-core-tools-on-arm64-for-arm64-917697 -- env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin SNAPCRAFT_MANAGED_MODE=1 test -f /etc/craft-instance.conf 2023-11-09 17:32:14.866 Executing on host: lxc --project snapcraft file pull local:snapcraft-oval-core-tools-on-arm64-for-arm64-917697/etc/craft-instance.conf /root/tmpg_jeyqbs.tmp-craft/tmpk_uwzpmj 2023-11-09 17:32:15.019 Executing on host: lxc --project snapcraft file push /tmp/tmpaqo2pnsh local:snapcraft-oval-core-tools-on-arm64-for-arm64-917697/etc/craft-instance.conf --mode=0644 2023-11-09 17:32:15.167 Executing in container: lxc --project snapcraft exec local:snapcraft-oval-core-tools-on-arm64-for-arm64-917697 -- env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin SNAPCRAFT_MANAGED_MODE=1 chown root:root /etc/craft-instance.conf 2023-11-09 17:32:15.384 Executing on host: lxc --project snapcraft file push /tmp/tmp9kld_nvf local:snapcraft-oval-core-tools-on-arm64-for-arm64-917697/etc/hostname --mode=0644 2023-11-09 17:32:15.521 Executing in container: lxc --project snapcraft exec local:snapcraft-oval-core-tools-on-arm64-for-arm64-917697 -- env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin SNAPCRAFT_MANAGED_MODE=1 chown root:root /etc/hostname 2023-11-09 17:32:15.733 Executing in container: lxc --project snapcraft exec local:snapcraft-oval-core-tools-on-arm64-for-arm64-917697 -- env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin SNAPCRAFT_MANAGED_MODE=1 hostname -F /etc/hostname 2023-11-09 17:32:15.932 Executing in container: lxc --project snapcraft exec local:snapcraft-oval-core-tools-on-arm64-for-arm64-917697 -- env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin SNAPCRAFT_MANAGED_MODE=1 ln -sf /run/systemd/resolve/resolv.conf /etc/resolv.conf 2023-11-09 17:32:16.140 Executing in container: lxc --project snapcraft exec local:snapcraft-oval-core-tools-on-arm64-for-arm64-917697 -- env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin SNAPCRAFT_MANAGED_MODE=1 systemctl enable systemd-resolved 2023-11-09 17:32:16.468 Executing in container: lxc --project snapcraft exec local:snapcraft-oval-core-tools-on-arm64-for-arm64-917697 -- env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin SNAPCRAFT_MANAGED_MODE=1 systemctl restart systemd-resolved 2023-11-09 17:32:16.754 Executing on host: lxc --project snapcraft file push /tmp/tmpmeo91v10 local:snapcraft-oval-core-tools-on-arm64-for-arm64-917697/etc/systemd/network/10-eth0.network --mode=0644 2023-11-09 17:32:16.901 Executing in container: lxc --project snapcraft exec local:snapcraft-oval-core-tools-on-arm64-for-arm64-917697 -- env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin SNAPCRAFT_MANAGED_MODE=1 chown root:root /etc/systemd/network/10-eth0.network 2023-11-09 17:32:17.097 Executing in container: lxc --project snapcraft exec local:snapcraft-oval-core-tools-on-arm64-for-arm64-917697 -- env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin SNAPCRAFT_MANAGED_MODE=1 systemctl enable systemd-networkd 2023-11-09 17:32:17.406 Executing in container: lxc --project snapcraft exec local:snapcraft-oval-core-tools-on-arm64-for-arm64-917697 -- env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin SNAPCRAFT_MANAGED_MODE=1 systemctl restart systemd-networkd 2023-11-09 17:32:17.693 Waiting for networking to be ready... 2023-11-09 17:32:17.694 Executing in container: lxc --project snapcraft exec local:snapcraft-oval-core-tools-on-arm64-for-arm64-917697 -- env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin SNAPCRAFT_MANAGED_MODE=1 getent hosts snapcraft.io 2023-11-09 17:32:18.144 Executing in container: lxc --project snapcraft exec local:snapcraft-oval-core-tools-on-arm64-for-arm64-917697 -- env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin SNAPCRAFT_MANAGED_MODE=1 getent hosts snapcraft.io 2023-11-09 17:32:23.842 Executing in container: lxc --project snapcraft exec local:snapcraft-oval-core-tools-on-arm64-for-arm64-917697 -- env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin SNAPCRAFT_MANAGED_MODE=1 getent hosts snapcraft.io 2023-11-09 17:32:29.289 Executing in container: lxc --project snapcraft exec local:snapcraft-oval-core-tools-on-arm64-for-arm64-917697 -- env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin SNAPCRAFT_MANAGED_MODE=1 getent hosts snapcraft.io 2023-11-09 17:32:34.765 Executing in container: lxc --project snapcraft exec local:snapcraft-oval-core-tools-on-arm64-for-arm64-917697 -- env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin SNAPCRAFT_MANAGED_MODE=1 getent hosts snapcraft.io 2023-11-09 17:32:40.237 Executing in container: lxc --project snapcraft exec local:snapcraft-oval-core-tools-on-arm64-for-arm64-917697 -- env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin SNAPCRAFT_MANAGED_MODE=1 getent hosts snapcraft.io 2023-11-09 17:32:45.693 Executing in container: lxc --project snapcraft exec local:snapcraft-oval-core-tools-on-arm64-for-arm64-917697 -- env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin SNAPCRAFT_MANAGED_MODE=1 getent hosts snapcraft.io 2023-11-09 17:32:51.130 Executing in container: lxc --project snapcraft exec local:snapcraft-oval-core-tools-on-arm64-for-arm64-917697 -- env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin SNAPCRAFT_MANAGED_MODE=1 getent hosts snapcraft.io 2023-11-09 17:32:56.593 Executing in container: lxc --project snapcraft exec local:snapcraft-oval-core-tools-on-arm64-for-arm64-917697 -- env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin SNAPCRAFT_MANAGED_MODE=1 getent hosts snapcraft.io 2023-11-09 17:33:02.049 Executing in container: lxc --project snapcraft exec local:snapcraft-oval-core-tools-on-arm64-for-arm64-917697 -- env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin SNAPCRAFT_MANAGED_MODE=1 getent hosts snapcraft.io 2023-11-09 17:33:07.539 Executing in container: lxc --project snapcraft exec local:snapcraft-oval-core-tools-on-arm64-for-arm64-917697 -- env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin SNAPCRAFT_MANAGED_MODE=1 getent hosts snapcraft.io 2023-11-09 17:33:12.993 Executing in container: lxc --project snapcraft exec local:snapcraft-oval-core-tools-on-arm64-for-arm64-917697 -- env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin SNAPCRAFT_MANAGED_MODE=1 getent hosts snapcraft.io 2023-11-09 17:33:18.454 Executing in container: lxc --project snapcraft exec local:snapcraft-oval-core-tools-on-arm64-for-arm64-917697 -- env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin SNAPCRAFT_MANAGED_MODE=1 getent hosts snapcraft.io (from there the last command is repeated every 1-5 seconds - I let it go for 4 hours, no end in sight) ``` ### Additional context _No response_

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed not a bug The ARM64 hang was traced to missing LXD container networking, not a Snapcraft architecture defect; Snapcraft 7.5.4 added a timeout instead of looping indefinitely.
stealth/space-bunny-alpha — closed resolved Snapcraft 7.5.4 fixed the endless LXD network-wait loop by adding a timeout. The original ARM64 hang was caused by the container lacking network access, potentially through VPN or Docker conflicts.
qwen3.6-35b-a3b-mtp-q6 — — Resolved in Snapcraft 7.5.4 by implementing a network timeout instead of an infinite loop. The hang was caused by LXD container networking misconfigurations, often due to Docker or VPN conflicts. Closed as fixed.
qwen/qwen3.8-27b
Impact: 20
Quick Win: 14
Staleness: 85
Complexity: 30
Confidence: 80
Support Request: 60
close stale Snapcraft 7.5.0 hangs indefinitely on ARM64 waiting for LXD container networking. Maintainer identified the cause (no container network, possibly Docker/VPN) and linked the infinite-loop fix in 7.5.4. No reporter response since Dec 2023.
qwen/qwen3.6-35b-a3b
Staleness: 45
Complexity: 30
Confidence: 85
Support Request: 70
keep open Issue reports snapcraft build hanging on ARM64 at LXD stage due to network timeout. Maintainer identified root cause (LXD container network issue, possibly Docker/VPN) and linked to fix in v7.5.4. Waiting for user confirmation or environment details.
qwen3.6-35b-a3b-mtp-q6
Staleness: 90
Complexity: 20
Confidence: 85
Support Request: 50
close stale Snapcraft on ARM64 hangs during LXD container network initialization. A maintainer noted the issue is fixed in v7.5.4 and asked about Docker/VPN conflicts, but the author has not responded in over a year.

Update history

Date Change
closed

Related issues

Issue Project State Summary Similarity
#1999321 Snapcraft is stuck on "launching instance..." indefinitely snapcraft (launchpad) open Endless LXD startup on failed container DNS now times out via craft-providers; Snapcraft 7.5.4 is recorded as fixing the wait. Multipass arm64 and Docker diagnostics remain separately tracked.
82%
#4412 Network check runs forever snapcraft closed Infinite getent/LXD network retries were fixed by a timeout shipped in Snapcraft 7.5.4; #4443 documents the related ARM64 hang and craft-providers added troubleshooting.
78%
#1907721 Snapcraft broken on ARM64 snapcraft (launchpad) closed Closed as a configuration issue: a system-wide Python package broke apt-installed Snapcraft, while Multipass lacked ARM64 support; maintainers recommended the Snapcraft snap and --use-lxd.
76%
#719 Snapcraft fails initialization of build container craft-providers closed LXD startup race was fixed by waiting for instance readiness in craft-providers PR #720; the fix shipped via Snapcraft PR #5247 in Snapcraft 8.6.2.
74%
#1839399 snapcraft not pulling snap from lxd container snapcraft (launchpad) open Snapcraft 3.7.1 reported a successful --use-lxd build but left the generated snap absent on the host; a maintainer identified possible CWD handling, and the case remains unresolved.
74%
#1795827 Snapcraft doesn't install snapcraft inside the lxd container snapcraft (launchpad) open Historical LXD builds failed because Snapcraft was not injected into the container; the modern Craft Providers LXD path injects Snapcraft and resolves the legacy failure.
72%
#2069292 cannot install system snap "snapd" snapcraft (launchpad) open Snapcraft build fails injecting host snapcraft into LXC instance ("cannot install system snap snapd"); root cause is host networking — Docker breaks LXD bridge — not a Snapcraft bug. Maintainer pointed to LXD/Docker firewall docs; reporter has not confirmed fix.
72%
#5420 Snapcraft 7 fails to launch a LXD container based on host apt sources entries snapcraft closed Closed as a duplicate of canonical/snapcraft#4408; no separate fix was made for this report.
72%
#2012074 snapcraft cannot build snap by default on aarch64 snapcraft (launchpad) open ARM64 default builds failed on Snapcraft 7.3.1 because core20 selected amd64-only Multipass images; later defaults use core22/LXD on Linux, addressing the reported path.
72%
#1750642 Snapcraft fails in LXD container on Debian 9 snapcraft (launchpad) closed Closed as stale in September 2026 because Debian 9 and the reported Snapcraft version were outdated; no fixing PR or commit was identified.
72%