View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000264 | AlmaLinux-9 | kernel | public | 2022-06-08 14:43 | 2022-12-16 18:04 |
Reporter | emmeff | Assigned To | alukoshko | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | x86-64 | OS | AlmaLinux 9 | OS Version | 5.14.0-70.13.1.e |
Summary | 0000264: squashfs is missing from /proc filesystem | ||||
Description | error: while mounting image /proc/self/fd/3: squashfs filesystem seems not enabled and/or supported by your kernel | ||||
Steps To Reproduce | Attempt to mount squashfs image using "mount -o loop <squashfs image file> /mnt" | ||||
Tags | kernel-modules, proc, squashfs | ||||
|
Installing the kernel-modules RPM resolves the issue. Should this package be installed by default? |
|
This issue was discovered when trying to run SingularityCE on Alma Linux 9. On closer inspection it appears appears that the squashfs module is not present in a default virt-install of Alma Linux 9 from the minimal ISO because the kernel-modules package is not present. Installing kernel-modules fixes the issue, and this may be the intended behavior. I'm a little confused, mainly because a RHEL9 install had the full kernel packages including modules present - but this was from a 'DVD' ISO... as there is no 'minimal' ISO on the RHEL download page. Alma9 kernel 5.14.0-70.13.1.el9_0.x86_64 install: [dtrudg@dev-alma9 ~]$ sudo mount -o loop alpine_custom1.squashfs /mnt [sudo] password for dtrudg: mount: /mnt: unknown filesystem type 'squashfs'. [dtrudg@dev-alma9 ~]$ grep "squashfs" /proc/filesystems [dtrudg@dev-alma9 ~]$ modprobe squashfs modprobe: FATAL: Module squashfs not found in directory /lib/modules/5.14.0-70.13.1.el9_0.x86_64 [dtrudg@dev-alma9 ~]$ rpm -qa | grep kernel kernel-tools-libs-5.14.0-70.13.1.el9_0.x86_64 kernel-tools-5.14.0-70.13.1.el9_0.x86_64 kernel-core-5.14.0-70.13.1.el9_0.x86_64 kernel-srpm-macros-1.0-11.el9.noarch kernel-headers-5.14.0-70.13.1.el9_0.x86_64 kernel-devel-5.14.0-70.13.1.el9_0.x86_64 On RHEL9 kernel 5.14.0-70.13.1.el9_0.x86_64 the modules package was installed [dtrudg@dev-rhel9 ~]$ sudo mount -o loop alpine_custom1.squashfs /mnt [sudo] password for dtrudg: [dtrudg@dev-rhel9 ~]$ grep "squashfs" /proc/filesystems squashfs [dtrudg@dev-rhel9 ~]$ lsmod | grep squash squashfs 69632 1 [dtrudg@dev-rhel9 ~]$ rpm -qa | grep kernel kernel-tools-libs-5.14.0-70.13.1.el9_0.x86_64 kernel-core-5.14.0-70.13.1.el9_0.x86_64 kernel-modules-5.14.0-70.13.1.el9_0.x86_64 kernel-5.14.0-70.13.1.el9_0.x86_64 kernel-tools-5.14.0-70.13.1.el9_0.x86_64 kernel-srpm-macros-1.0-11.el9.noarch kernel-headers-5.14.0-70.13.1.el9_0.x86_64 kernel-devel-5.14.0-70.13.1.el9_0.x86_64 |
|
$ cat /etc/os-release NAME="AlmaLinux" VERSION="9.0 (Emerald Puma)" ID="almalinux" ID_LIKE="rhel centos fedora" VERSION_ID="9.0" ... $ fgrep squashfs /proc/filesystems # not present yet $ sudo mount -o ro ./rootfs.squashfs ./rootfs.mount/ $ fgrep squashfs /proc/filesystems # present now squashfs kernel-modules is installed for me, and I did not explicity install it. I did not install from a CD/DVD image though, I did a network install. $ dnf provides '**/*squashfs*ko*' kernel-debug-modules-5.14.0-70.13.1.el9_0.x86_64 : kernel modules to match the core kernel Repo : baseos Matched from: Filename : /lib/modules/5.14.0-70.13.1.el9_0.x86_64+debug/kernel/fs/squashfs/squashfs.ko.xz kernel-modules-5.14.0-70.13.1.el9_0.x86_64 : kernel modules to match the core kernel Repo : @System Matched from: Filename : /lib/modules/5.14.0-70.13.1.el9_0.x86_64/kernel/fs/squashfs/squashfs.ko.xz kernel-modules-5.14.0-70.13.1.el9_0.x86_64 : kernel modules to match the core kernel Repo : baseos Matched from: Filename : /lib/modules/5.14.0-70.13.1.el9_0.x86_64/kernel/fs/squashfs/squashfs.ko.xz |
|
$ sudo dnf repoquery --userinstalled | fgrep kernel kernel-0:5.14.0-70.13.1.el9_0.x86_64 kernel-headers-0:5.14.0-70.13.1.el9_0.x86_64 $ rpm -qa | grep kernel kernel-modules-5.14.0-70.13.1.el9_0.x86_64 kernel-headers-5.14.0-70.13.1.el9_0.x86_64 kernel-5.14.0-70.13.1.el9_0.x86_64 kernel-core-5.14.0-70.13.1.el9_0.x86_64 kernel-srpm-macros-1.0-11.el9.noarch |
|
The bug was in Minimal image. Updated Minimal images were released recently for 8.7 and 9.1. |
Date Modified | Username | Field | Change |
---|---|---|---|
2022-06-08 14:43 | emmeff | New Issue | |
2022-06-08 14:43 | emmeff | Tag Attached: proc | |
2022-06-08 14:43 | emmeff | Tag Attached: squashfs | |
2022-06-08 14:53 | emmeff | Note Added: 0000592 | |
2022-06-08 14:54 | emmeff | Tag Attached: kernel-modules | |
2022-06-08 14:55 | dtrudg-sylabs | Note Added: 0000593 | |
2022-06-23 22:33 | bogen85 | Note Added: 0000615 | |
2022-06-23 22:36 | bogen85 | Note Added: 0000616 | |
2022-12-16 18:03 | alukoshko | Note Added: 0000770 | |
2022-12-16 18:04 | alukoshko | Assigned To | => alukoshko |
2022-12-16 18:04 | alukoshko | Status | new => closed |
2022-12-16 18:04 | alukoshko | Resolution | open => fixed |