Missing fuse deb package when trying to preseed snaps

Bug #1931537 reported by Thomas Bechtold
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
livecd-rootfs (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

I tried to build an arm64 image on AWS (with ubuntu-bartender):

./scripts/ubuntu-bartender/ubuntu-bartender --no-cleanup --build-provider aws --aws-arm-build --aws-instance-type m6g.xlarge --hook-extras-dir ~/devel/canonical/cloudware/cpc_packaging.extra/ --livecd-rootfs-dir /home/tom/devel/livecd-rootfs/ -- --series focal --project ubuntu-cpc --minimized --image-target ec2

The build fails with:
+ snap_validate_seed /tmp/tmp.9FX9CNOMhi
+ local CHROOT_ROOT=/tmp/tmp.9FX9CNOMhi
+ '[' -e /tmp/tmp.9FX9CNOMhi/var/lib/snapd/seed/seed.yaml ']'
+ snap debug validate-seed /tmp/tmp.9FX9CNOMhi/var/lib/snapd/seed/seed.yaml
++ realpath /tmp/tmp.9FX9CNOMhi
+ /usr/lib/snapd/snap-preseed --reset /tmp/tmp.9FX9CNOMhi
++ realpath /tmp/tmp.9FX9CNOMhi
+ /usr/lib/snapd/snap-preseed /tmp/tmp.9FX9CNOMhi
error: cannot mount /var/lib/snapd/seed/snaps/snapd_11843.snap at /tmp/snapd-preseed in preseed mode: exit status 32

So snap-preseed can't mount the snap. Trying to do that manually (from within the chroot) also fails:
# mount -t fuse.snapfuse -o ro,x-gdu.hide,x-gvfs-hide /var/lib/snapd/seed/snaps/snapd_11843.snap /mnt
mount: /mnt: wrong fs type, bad option, bad superblock on /var/lib/snapd/seed/snaps/snapd_11843.snap, missing codepage or helper program, or other error.

The reason is, that the fuse .deb package is not installed. Installing that package into the chroot solves the problem.

Revision history for this message
Dave Jones (waveform) wrote :

Is this still an issue? I think this got fixed in LP: #2031640 which was released as livecd-rootfs 23.10.16. If so, this could be marked as a (slightly backwards) dupe of that bug.

Changed in livecd-rootfs (Ubuntu):
status: New → Incomplete
Revision history for this message
Thomas Bechtold (toabctl) wrote :

This got solved within cpc in the private hooks.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for livecd-rootfs (Ubuntu) because there has been no activity for 60 days.]

Changed in livecd-rootfs (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.