Snap does not work with kernel 6.8

Hi!

I noticed I’m not able to run snap anymore.
I get this error:

error: system does not fully support snapd: cannot mount squashfs image using "squashfs": mount:

it then relates to /dev/loop<X> stating that it cannot be mounted or is being used by something else.
squashfs is correctly loaded and I can mount squashfs filesystems without issues.

Should snap be updated? Does this depend on the kernel? I’m using 6.8.1

1 Like

Holy smokes! We got ourselves a timelord here!

Hasn’t even been released yet in 2024. Maybe 2026 or 2028, but not yet my time-travelling brother!

2 Likes

:smiley: 6.8.1 Sorry…

1 Like

Latest version of snapd (2.61.3-1) was included in Testing update 2024-03-16

Always ensure your system is up-to-date before creating a topic relating to problems.

sudo pacman -Syu
sudo pacman -Syu squashfs

Could be an hanging mount - did you restart your system?

Do you have a backup kernel - e.g. linux66?

I confirm that it works with linux 6.7.10 but not with 6.8 series.

Yes, it is. My original message was in the thread for Announcement/Testing updates, so it was clear that the system is up-to-date, being this something I spot following an update.

I just spot it too late :wink: It must be already not-working since the moment I switched to the newer kernel.

Same behavior here. snapd works with 6.6 and 6.7 but is not working with 6.8

1 Like

just tried with kernel 6.8.3 from today’s testing update: it works again!:smiley:

What is the kernel version that is working? I’m on 6.8.3-1 and it’s broken.

[chainofflowers@sobriety ~]$ uname -a
Linux sobriety 6.8.3-1-MANJARO #1 SMP PREEMPT_DYNAMIC Thu Apr  4 04:41:36 UTC 2024 x86_64 GNU/Linux
[chainofflowers@sobriety ~]$ snap install hello-world
hello-world 6.4 from Canonical✓ installed
[chainofflowers@sobriety ~]$ hello-world
Hello World!
[chainofflowers@sobriety ~]$ snap search
No search term specified. Here are some interesting snaps:

Name               Version   Publisher             Notes    Summary
josm               r18969    mvo✪                  -        Editor for OpenStreetMap
vault              1.15.6    canonical✓            -        Vault is a tool for securely accessing secrets.
artikulate         23.08.4   kde✓                  -        Artikulate Pronunciation Trainer
mumble             v1.5.517  snapcrafters✪         -        Open Source, Low Latency, High Quality Voice Chat
kolourpaint        23.08.4   kde✓                  -        Paint Program
insomnia           8.6.1     getinsomnia           -        Insomnia
clion              2023.3.4  jetbrains✓            classic  A cross-platform IDE for C and C++
hey-mail           1.2.14    basecamp✓             -        Email at its best, by Basecamp
superproductivity  8.0.1     johannesjo            -        Super Productivity – The advanced ToDo List and Productivity Tool
terminal-parrot    1.1.1     kz6fittycent          -        A Dancing Parrot For Your Terminal
okular             23.08.4   kde✓                  -        Document Viewer
whalebird          6.1.0     h3poteto              -        Whalebird
warzone2100        4.4.2     warzone-2100-project  -        Command the forces of The Project in a battle to rebuild the world.
tdhcad             24.04.02  timhirrel             -        Vector Graphics and Charting
minetest           5.8.0     snapcrafters✪         -        Open source voxel game engine
helix              24.03     jmbrock               classic  Helix is a modal text editor inspired by Vim and Kakoune
steve-test-snap    1.0.1     steverydz             -        The snap I use for testing

Provide a search term for more specific results.
[chainofflowers@sobriety ~]$ snap --version
snap     2.61.3
snapd    2.61.3
series   16
manjaro  -
kernel   6.8.3-1-MANJARO


@mikaka27 are you on snap 2.61.3? What if you reinstall it? What if you empty /var/lib/snapd?

I’m on 2.61.2, I’m on stable branch.

>>> snap --version                                                                                       
snap     2.61.2
snapd    2.61.2
series   16
manjaro  -
kernel   6.7.12-1-MANJARO

can you try installing 2.61.3 from testing?
just switch temporarily to testing branch:

pacman-mirrors -B testing -a
pacman -Syy
pacman -S snap
pacman-mirrors -B stable -a
pacman -Syy

Same issue here:

$ sudo snap refresh:

   error: system does not fully support snapd: cannot mount squashfs image using "squashfs": -----
   mount: /tmp/syscheck-mountpoint-391792581: /dev/loop13 already mounted or mount point busy.

   dmesg(1) may have more information after failed mount system call.

   -----

$ inxi

 CPU: quad core Intel Core i7-8650U (-MT MCP-) speed/min/max: 550/400/4200 MHz
 Kernel: 6.8.3-1-MANJARO x86_64 Up: 9m Mem: 4.19/23.36 GiB (17.9%)
 Storage: 238.47 GiB (61.7% used) Procs: 253 Shell: Zsh inxi: 3.3.33

Just updated the kernel to the 6.8.3 it was telling me was available, because 6.7 went eol.

All other packages are set to stable, and up to date.

I switched to 2.61.3 and no change:

$ sudo snap refresh:

   error: system does not fully support snapd: cannot mount squashfs image using "squashfs": -----
   mount: /tmp/syscheck-mountpoint-391792581: /dev/loop13 already mounted or mount point busy.

   dmesg(1) may have more information after failed mount system call.

   -----

I’m about as deep into this as I want to be. I’m just a user. I created an account here to +1 that there is an issue. Snaps aren’t critical to my workflow, so I can wait, or revert kernel if I have to.

1 Like

so, it works on testing but not on stable.

I bet it depends on some fuse libs.

I won’t have time to look into that this week, maybe someone else can jump in? it would be interesting to try upgrading some fuse packages from testing…

Same problem here

$ inxi

CPU: 10-core (2-mt/8-st) 12th Gen Intel Core i7-1255U (-MST AMCP-)
speed/min/max: 420/400/4700:3500 MHz Kernel: 6.8.4-1-MANJARO x86_64 Up: 12m
Mem: 4.68/15.31 GiB (30.6%) Storage: 476.94 GiB (6.3% used) Procs: 295
Shell: Zsh inxi: 3.3.33

$ snap version

snap     2.61.2
snapd    2.61.2
series   16
manjaro  -
kernel   6.8.4-1-MANJARO

$ snap refresh

error: system does not fully support snapd: cannot mount squashfs image using "squashfs": -----
       mount: /tmp/syscheck-mountpoint-3871054951: /dev/loop19 already mounted or mount point busy.

       dmesg(1) may have more information after failed mount system call.

       -----

$ cat /proc/self/mountinfo

24 29 0:22 / /proc rw,nosuid,nodev,noexec,relatime shared:5 - proc proc rw
25 29 0:23 / /sys rw,nosuid,nodev,noexec,relatime shared:6 - sysfs sys rw
26 29 0:5 / /dev rw,nosuid,relatime shared:2 - devtmpfs dev rw,size=8149000k,nr_inodes=2037250,mode=755,inode64
27 29 0:24 / /run rw,nosuid,nodev,relatime shared:12 - tmpfs run rw,mode=755,inode64
28 25 0:25 / /sys/firmware/efi/efivars rw,nosuid,nodev,noexec,relatime shared:7 - efivarfs efivarfs rw
29 1 8:34 / / rw,noatime shared:1 - ext4 /dev/sdc2 rw
30 25 0:6 / /sys/kernel/security rw,nosuid,nodev,noexec,relatime shared:8 - securityfs securityfs rw
31 26 0:26 / /dev/shm rw,nosuid,nodev shared:3 - tmpfs tmpfs rw,inode64
32 26 0:27 / /dev/pts rw,nosuid,noexec,relatime shared:4 - devpts devpts rw,gid=5,mode=620,ptmxmode=000
33 25 0:28 / /sys/fs/cgroup rw,nosuid,nodev,noexec,relatime shared:9 - cgroup2 cgroup2 rw,nsdelegate,memory_recursiveprot
34 25 0:29 / /sys/fs/pstore rw,nosuid,nodev,noexec,relatime shared:10 - pstore pstore rw
35 25 0:30 / /sys/fs/bpf rw,nosuid,nodev,noexec,relatime shared:11 - bpf bpf rw,mode=700
36 24 0:31 / /proc/sys/fs/binfmt_misc rw,relatime shared:13 - autofs systemd-1 rw,fd=37,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=3226
37 26 0:20 / /dev/mqueue rw,nosuid,nodev,noexec,relatime shared:14 - mqueue mqueue rw
38 25 0:7 / /sys/kernel/debug rw,nosuid,nodev,noexec,relatime shared:15 - debugfs debugfs rw
39 26 0:32 / /dev/hugepages rw,nosuid,nodev,relatime shared:16 - hugetlbfs hugetlbfs rw,pagesize=2M
40 25 0:12 / /sys/kernel/tracing rw,nosuid,nodev,noexec,relatime shared:17 - tracefs tracefs rw
60 25 0:34 / /sys/kernel/config rw,nosuid,nodev,noexec,relatime shared:18 - configfs configfs rw
41 25 0:33 / /sys/fs/fuse/connections rw,nosuid,nodev,noexec,relatime shared:19 - fusectl fusectl rw
42 29 7:0 / /var/lib/snapd/snap/bare/5 ro,nodev,relatime shared:20 - squashfs /dev/loop0 ro,errors=continue,threads=single
43 29 7:1 / /var/lib/snapd/snap/core18/2812 ro,nodev,relatime shared:21 - squashfs /dev/loop1 ro,errors=continue,threads=single
44 29 7:2 / /var/lib/snapd/snap/core20/2105 ro,nodev,relatime shared:22 - squashfs /dev/loop2 ro,errors=continue,threads=single
45 29 7:3 / /var/lib/snapd/snap/core20/2182 ro,nodev,relatime shared:23 - squashfs /dev/loop3 ro,errors=continue,threads=single
46 29 7:4 / /var/lib/snapd/snap/core22/1033 ro,nodev,relatime shared:24 - squashfs /dev/loop4 ro,errors=continue,threads=single
47 29 7:5 / /var/lib/snapd/snap/gnome-3-28-1804/198 ro,nodev,relatime shared:25 - squashfs /dev/loop5 ro,errors=continue,threads=single
48 29 7:6 / /var/lib/snapd/snap/core22/1122 ro,nodev,relatime shared:26 - squashfs /dev/loop6 ro,errors=continue,threads=single
49 29 7:8 / /var/lib/snapd/snap/gnome-3-38-2004/143 ro,nodev,relatime shared:27 - squashfs /dev/loop8 ro,errors=continue,threads=single
50 29 7:7 / /var/lib/snapd/snap/gnome-42-2204/172 ro,nodev,relatime shared:28 - squashfs /dev/loop7 ro,errors=continue,threads=single
51 29 7:10 / /var/lib/snapd/snap/gtk-common-themes/1535 ro,nodev,relatime shared:29 - squashfs /dev/loop10 ro,errors=continue,threads=single
52 29 7:9 / /var/lib/snapd/snap/gnome-42-2204/176 ro,nodev,relatime shared:30 - squashfs /dev/loop9 ro,errors=continue,threads=single
53 29 7:11 / /var/lib/snapd/snap/hugo/18900 ro,nodev,relatime shared:31 - squashfs /dev/loop11 ro,errors=continue,threads=single
54 29 7:12 / /var/lib/snapd/snap/kf5-5-105-qt-5-15-9-core22/11 ro,nodev,relatime shared:32 - squashfs /dev/loop12 ro,errors=continue,threads=single
55 29 7:13 / /var/lib/snapd/snap/hugo/18952 ro,nodev,relatime shared:33 - squashfs /dev/loop13 ro,errors=continue,threads=single
56 29 7:14 / /var/lib/snapd/snap/skype/337 ro,nodev,relatime shared:34 - squashfs /dev/loop14 ro,errors=continue,threads=single
57 29 7:15 / /var/lib/snapd/snap/skype/340 ro,nodev,relatime shared:35 - squashfs /dev/loop15 ro,errors=continue,threads=single
58 29 7:16 / /var/lib/snapd/snap/snap-store/1120 ro,nodev,relatime shared:36 - squashfs /dev/loop16 ro,errors=continue,threads=single
59 29 7:17 / /var/lib/snapd/snap/snap-store/1122 ro,nodev,relatime shared:37 - squashfs /dev/loop17 ro,errors=continue,threads=single
61 29 7:18 / /var/lib/snapd/snap/snapd/20671 ro,nodev,relatime shared:38 - squashfs /dev/loop18 ro,errors=continue,threads=single
62 29 7:19 / /var/lib/snapd/snap/snapd/21184 ro,nodev,relatime shared:39 - squashfs /dev/loop19 ro,errors=continue,threads=single
63 29 7:20 / /var/lib/snapd/snap/spotify/74 ro,nodev,relatime shared:40 - squashfs /dev/loop20 ro,errors=continue,threads=single
64 29 7:22 / /var/lib/snapd/snap/spotify/75 ro,nodev,relatime shared:42 - squashfs /dev/loop22 ro,errors=continue,threads=single
65 29 7:21 / /var/lib/snapd/snap/todoist/1293 ro,nodev,relatime shared:41 - squashfs /dev/loop21 ro,errors=continue,threads=single
66 29 7:23 / /var/lib/snapd/snap/todoist/1295 ro,nodev,relatime shared:43 - squashfs /dev/loop23 ro,errors=continue,threads=single
68 29 0:35 / /tmp rw,noatime shared:66 - tmpfs tmpfs rw,inode64
70 29 8:33 / /boot/efi rw,relatime shared:92 - vfat /dev/sdc1 rw,fmask=0077,dmask=0077,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro
72 36 0:36 / /proc/sys/fs/binfmt_misc rw,nosuid,nodev,noexec,relatime shared:94 - binfmt_misc binfmt_misc rw
96 27 0:52 / /run/user/1000 rw,nosuid,nodev,relatime shared:752 - tmpfs tmpfs rw,size=1632148k,nr_inodes=408037,mode=700,uid=1000,gid=1000,inode64
158 96 0:56 / /run/user/1000/doc rw,nosuid,nodev,relatime shared:804 - fuse.portal portal rw,user_id=1000,group_id=1000
615 96 0:58 / /run/user/1000/gvfs rw,nosuid,nodev,relatime shared:897 - fuse.gvfsd-fuse gvfsd-fuse rw,user_id=1000,group_id=1000
767 29 0:59 / /keybase ro,nosuid,nodev,relatime shared:948 - fuse keybase-redirector ro,user_id=0,group_id=0,allow_other
894 96 0:60 / /run/user/1000/keybase/kbfs rw,nosuid,nodev,relatime shared:963 - fuse /dev/fuse rw,user_id=1000,group_id=1000
81 27 0:24 /snapd/ns /run/snapd/ns rw,nosuid,nodev,relatime - tmpfs run rw,mode=755,inode64
1420 81 0:4 mnt:[4026532513] /run/snapd/ns/spotify.mnt rw - nsfs nsfs rw

Same problem here. I’m at 6.8.4-1 and have the same error message.

error: system does not fully support snapd: cannot mount squashfs image using "squashfs":
       ----- mount: /tmp/syscheck-mountpoint-4262228191: /dev/loop16 it cannot be mounted or is being used by something else

Off-topic: The Me too's are fast and furious today.

The accepted solution doesn’t work for me.

Downgraded to snap 16-2.61.2 and Kernel 6.7.12-1 to get snaps working again.

I am also facing the same issue.

➜ ~ uname --all
Linux adyel-linux 6.8.4-1-MANJARO #1 SMP PREEMPT_DYNAMIC Thu Apr 4 20:38:32 UTC 2024 x86_64 GNU/Linux