Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[Software] [Solved] Error : Cannot mount squashfs image using “squashfs”

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
Jutboy
Posts: 9
Joined: 2008-12-02 22:15

[Software] [Solved] Error : Cannot mount squashfs image using “squashfs”

#1 Post by Jutboy »

Hello everyone, I’m getting the following error when trying to utilize snap on Debian 11 / bullseye

Code: Select all

root@puppeteer:~# snap install core
error: system does not fully support snapd: cannot mount squashfs image using "squashfs": mount:
       /tmp/sanity-mountpoint-180662911: unknown filesystem type 'squashfs'.
I read through all the forum posts/stackover I could and nothing helped. Here is all the info I could gather. I would appreciate any help you could provided. I restarted the machine between and after every step.

Code: Select all

root@puppeteer:~# snap --version
snap    2.49-1+deb11u1
snapd   2.49-1+deb11u1
series  16
debian  11
kernel  5.10.0-19-amd64

root@puppeteer:/tmp# snap download hello-world
Fetching snap "hello-world"
Fetching assertions for "hello-world"
Install the snap with:
   snap ack hello-world_29.assert
   snap install hello-world_29.snap
root@puppeteer:/tmp# mkdir snap-test
root@puppeteer:/tmp# mount hello-world*.snap snap-test
mount: /tmp/snap-test: unknown filesystem type 'squashfs'.

root@puppeteer:~# sestatus
-bash: sestatus: command not found

root@puppeteer:~# apt install libsquashfuse0 squashfuse fuse
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
fuse is already the newest version (2.9.9-5).
libsquashfuse0 is already the newest version (0.1.103-3).
squashfuse is already the newest version (0.1.103-3).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

root@puppeteer:/tmp# grep squashfs /proc/filesystems
root@puppeteer:/tmp#
root@puppeteer:/tmp# journalctl -u snapd
@ https://sourceb.in/YlNydVLb9m

When I run the following commands squashfs is not in them

Code: Select all

lsmod
cat /proc/filesystems
Unfortunately when I run "modprobe squashfs" this command changes nothing in the above commands.

System Info @

Code: Select all

root@puppeteer:~# cat /proc/version
Linux version 5.10.0-19-amd64 (debian-kernel@lists.debian.org) (gcc-10 (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2) #1 SMP Debian 5.10.149-2 (2022-10-21)
root@puppeteer:~# cat /etc/*-release
PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
NAME="Debian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
I would appreciate any help
Last edited by Jutboy on 2022-12-02 21:32, edited 1 time in total.

p.H
Global Moderator
Global Moderator
Posts: 3049
Joined: 2017-09-17 07:12
Has thanked: 5 times
Been thanked: 132 times

Re: [Software] Error : Cannot mount squashfs image using “squashfs”

#2 Post by p.H »

Does "modprobe squashfs" return an error ? If not, squashfs should be present in /proc/modules and /proc/filesystems unless an "install squashfs" directive is present in /etc/modprobe.d/*.conf.
Any related messages in the kernel logs ?
Last edited by p.H on 2022-12-02 21:17, edited 1 time in total.

Jutboy
Posts: 9
Joined: 2008-12-02 22:15

Re: [Software] Error : Cannot mount squashfs image using “squashfs”

#3 Post by Jutboy »

when I run "modprobe squashfs" there is no output. It just goes to the new line without error.

I just confirmed directly after and after a restart that neither /proc/modules nor /prob/filesystems had it listed.

However, there is a file in /etc/modprobe.d/dev-sec.conf

Code: Select all

install cramfs /bin/true
install freevxfs /bin/true
install jffs2 /bin/true
install hfs /bin/true
install hfsplus /bin/true
install squashfs /bin/true
install udf /bin/true
install vfat /bin/true
I don't know what this files does. I have a feeling an old employee might have added it. Do you know what the intent of this file is if I should remove that line (or all lines)? I really appreciate your help.

Jutboy
Posts: 9
Joined: 2008-12-02 22:15

Re: [Software] Error : Cannot mount squashfs image using “squashfs”

#4 Post by Jutboy »

p.H wrote: 2022-12-02 17:05 Any related messages in the kernel logs ?
Would you be able to provide the file/command that you are looking for specifically?

p.H
Global Moderator
Global Moderator
Posts: 3049
Joined: 2017-09-17 07:12
Has thanked: 5 times
Been thanked: 132 times

Re: [Software] Error : Cannot mount squashfs image using “squashfs”

#5 Post by p.H »

That file says to modprobe : "when asked to load any of the listed modules, run /bin/true instead" (i.e. do nothing and return success).
To avoid it, either comment the line with squashfs or run modprobe with -i to bypass the "install" directive.

Code: Select all

man modprobe
man modprobe.d

Jutboy
Posts: 9
Joined: 2008-12-02 22:15

Re: [Software] Error : Cannot mount squashfs image using “squashfs”

#6 Post by Jutboy »

p.H wrote: 2022-12-02 21:14 That file says to modprobe : "when asked to load any of the listed modules, run /bin/true instead
pH you are officially my hero. Commenting out that line resolved the issue. You are truly an inspiration.

p.H
Global Moderator
Global Moderator
Posts: 3049
Joined: 2017-09-17 07:12
Has thanked: 5 times
Been thanked: 132 times

Re: [Software] [Solved] Error : Cannot mount squashfs image using “squashfs”

#7 Post by p.H »

You will have the same issue with FAT (USB sticks) and UDF (CD, DVD, Blu-ray discs).

Post Reply