← Back to issue list

Can't build simple snap, maybe because of missing kmod arp_tables

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1921950
Type
issue
State
open
Author
~paddor
Labels
Created
Updated
Closed

Current evaluation

User's snapcraft 4.6 build stalls after snapcraftctl build; host KVM kernel lacks the arp_tables module needed by multipass networking, plus unrelated store 403 and polkit errors. Untriaged, 0 comments, ~5.4 years old, on long-EOL versions.

Suggested action: close stale

Reason: Zero comments, no labels, and no maintainer interaction for ~5.4 years (last activity 1971 days ago), and the reported environment (snapcraft 4.6, snapd 2.49.1, core18) is long since EOL with the build flow since rewritten around core22/core24. The root cause is a host-side problem — 'modprobe FATAL: Module arp_tables not found in /lib/modules/5.4.0-1036-kvm' — not a snapcraft defect, so the original problem is no longer reproducible or relevant to current versions.

Impact: 10 Quick Win: 8.0 Staleness: 95 Complexity: 20 Confidence: 80 Support Request: 85

Issue body

I'm getting started with snapcraft. I'm planning to use it for server applications (daemons). As a first step, I tried to snap a simple shellscript (it just runs `date`). The output of `snapcraft build` tells me that a core18 system is installed. But right after that, it stops with the following lines: ``` Processing triggers for initramfs-tools (0.130ubuntu3.11) ... update-initramfs: Generating /boot/initrd.img-4.15.0-140-generic Warning: couldn't identify filesystem type for fsck hook, ignoring. Processing triggers for ca-certificates (20210119~18.04.1) ... Updating certificates in /etc/ssl/certs... 0 added, 0 removed; done. Running hooks in /etc/ca-certificates/update.d... done. Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: apt-transport-https 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 1,696 B of archives. After this operation, 153 kB of additional disk space will be used. Get:1 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 apt-transport-https all 1.6.12ubuntu0.2 [1,696 B] Fetched 1,696 B in 0s (11.5 kB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package apt-transport-https. (Reading database ... 19451 files and directories currently installed.) Preparing to unpack .../apt-transport-https_1.6.12ubuntu0.2_all.deb ... Unpacking apt-transport-https (1.6.12ubuntu0.2) ... Setting up apt-transport-https (1.6.12ubuntu0.2) ... 2021-03-30T20:56:11+02:00 INFO Waiting for automatic snapd restart... snapd 2.49.1 from Canonical✓ installed core18 20210309 from Canonical✓ installed "core18" switched to the "latest/stable" channel snapcraft 4.6 from Canonical✓ installed "snapcraft" switched to the "latest/stable/ubuntu-20.04" channel snapd is not logged in, snap install commands will use sudo core18 20210128 from Canonical✓ refreshed Pulling my-test + snapcraftctl pull Building my-test + snapcraftctl build ``` The command did not exit with an error. There is no snap file. I even created an account on snapcraft.io and logged in with `snap login`. `journalctl -u snapd` tells me: ``` -- Reboot -- Mar 30 19:30:57 dev-2020 systemd[1]: Starting Snap Daemon... Mar 30 19:30:57 dev-2020 snapd[616]: AppArmor status: apparmor is enabled and all features are available Mar 30 19:30:58 dev-2020 snapd[616]: AppArmor status: apparmor is enabled and all features are available Mar 30 19:30:58 dev-2020 snapd[616]: daemon.go:347: started snapd/2.49.1 (series 16; classic) ubuntu/20.04 (amd64) linux/5.4.0-1036-kvm. Mar 30 19:30:58 dev-2020 snapd[616]: daemon.go:440: adjusting startup timeout by 1m50s (pessimistic estimate of 30s plus 5s per snap) Mar 30 19:30:59 dev-2020 systemd[1]: Started Snap Daemon. Mar 30 19:30:59 dev-2020 snapd[616]: storehelpers.go:551: cannot refresh: snap has no updates available: "chromium", "core", "gnome-3-26-1604", "gnome-3-28-1804", "gnome-3-34-1804", "gnome-calculator", "gnome-characters", "gnome-logs", "gnome-system-monitor", "gtk-common-t> Mar 30 19:30:59 dev-2020 snapd[616]: stateengine.go:150: state ensure error: cannot sections: got unexpected HTTP status code 403 via GET to "https://api.snapcraft.io/api/v1/snaps/sections" Mar 30 19:31:03 dev-2020 snapd[616]: storehelpers.go:551: no install/refresh information results from the store Mar 30 20:51:32 dev-2020 snapd[616]: api.go:383: Installing snap "multipass" revision unset Mar 30 20:51:39 dev-2020 modprobe[27552]: FATAL: Module arp_tables not found in directory /lib/modules/5.4.0-1036-kvm Mar 30 20:51:39 dev-2020 runuser[27644]: pam_unix(runuser:session): session opened for user me by (uid=0) Mar 30 20:51:39 dev-2020 runuser[27644]: pam_unix(runuser:session): session closed for user me Mar 30 20:51:59 dev-2020 snapd[616]: api.go:383: Installing snap "multipass" revision unset Mar 30 20:52:03 dev-2020 modprobe[28173]: FATAL: Module arp_tables not found in directory /lib/modules/5.4.0-1036-kvm Mar 30 21:47:32 dev-2020 snapd[616]: daemon.go:215: polkit error: Authorization requires interaction ``` It seems some module `arp_tables` cannot be found. How do I get it? What about `polkit error: Authorization requires interaction`? What about `cannot sections: got unexpected HTTP status code 403 ...`????

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.8-27b
Impact: 10
Quick Win: 8.0
Staleness: 95
Complexity: 20
Confidence: 80
Support Request: 85
close stale User's snapcraft 4.6 build stalls after snapcraftctl build; host KVM kernel lacks the arp_tables module needed by multipass networking, plus unrelated store 403 and polkit errors. Untriaged, 0 comments, ~5.4 years old, on long-EOL versions.
qwen/qwen3.6-35b-a3b
Staleness: 98
Complexity: 10
Confidence: 90
Support Request: 95
close not a bug User asks for help troubleshooting a failed snapcraft build, citing missing kernel modules and API errors. Untriaged, zero maintainer interaction, over 5 years old.
qwen/qwen3.6-35b-a3b
Staleness: 95
Complexity: 15
Confidence: 90
Support Request: 95
close not a bug User reports failure building a simple snap, citing missing arp_tables kernel module, snapd API 403 errors, and polkit prompts. No maintainer response or labels.
qwen3.6-35b-a3b-mtp-q6
Staleness: 98
Complexity: 15
Confidence: 90
Support Request: 85
close not a bug User reports a failed snap build due to a missing kernel module and snapd API errors. The issue is over 5 years old with no maintainer response or comments.
qwen3.6-35b-a3b-mtp-q6
Staleness: 95
Complexity: 15
Confidence: 90
Support Request: 85
close stale snapcraft build silently stalls when packaging a simple script, possibly due to missing kmod arp_tables. Unassigned, zero comments, inactive for over five years. Requires triage and investigation to resolve the silent failure.

Update history

No update history recorded yet.

Related work

  • Related To: snapcraft (launchpad)#1904774 (confidence 50%)

    Similar multipass-VM environment failure during snapcraft build; closed as abandoned without a fix, indicating these host-environment multipass issues were handled case-by-case.

Related issues

No related issues found above the similarity threshold.