snapd squashfs issue on fresh Fedora 30
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snapd |
Expired
|
Undecided
|
Unassigned |
Bug Description
I've been using snap successfully on multiple computers, even this same one (a Razer).
But now after reimaging the Razer from scratch with Fedora 30 I'm hitting some unknown issue.
E.g. `sudo snap install hello-world` returns:
> error: system does not fully support snapd: cannot mount squashfs image using "squashfs": mount:
> /tmp/sanity-
> missing codepage or helper program, or other error.
I checked around for similar errors but nothing I found seemed relevant to my case.
I tried:
```
mkdir /tmp/foo && echo bar > /tmp/foo/bar
mksquashfs /tmp/foo /tmp/foo.img -all-root
mkdir /tmp/foo-
sudo mount -t squashfs /tmp/foo.img /tmp/foo-
```
and that works resulting in something like
```
Filesystem Size Used Avail Use% Mounted on
devtmpfs 16G 0 16G 0% /dev
tmpfs 16G 93M 16G 1% /dev/shm
tmpfs 16G 2.1M 16G 1% /run
tmpfs 16G 0 16G 0% /sys/fs/cgroup
/dev/mapper/
tmpfs 16G 192M 16G 2% /tmp
/dev/nvme0n1p2 976M 123M 787M 14% /boot
/dev/nvme0n1p1 1022M 7.8M 1015M 1% /boot/efi
tmpfs 3.2G 48K 3.2G 1% /run/user/1001
tmpfs 3.2G 36K 3.2G 1% /run/user/42
/dev/loop0 128K 128K 0 100% /tmp/foo-
```
I.e. squashfs seems to work.
Also based on some comments somewhere, I double-checked kernel versions:
`snap version`:
```
snap 2.42.2-1.fc30
snapd 2.42.2-1.fc30
series 16
fedora 30
kernel 5.3.6-200.
```
`uname -r`: `5.3.6-
The output of `journalctl -u snapd` looks like this:
```
Jan 10 08:49:24 jesusbriales-
Jan 10 08:49:24 jesusbriales-
Jan 10 08:49:24 jesusbriales-
Jan 10 08:49:24 jesusbriales-
Jan 10 08:49:24 jesusbriales-
Jan 10 08:49:24 jesusbriales-
Jan 10 08:49:29 jesusbriales-
Jan 10 08:49:29 jesusbriales-
Jan 10 08:49:29 jesusbriales-
Jan 10 08:49:29 jesusbriales-
Jan 10 08:49:30 jesusbriales-
Jan 10 08:49:30 jesusbriales-
Jan 10 08:49:30 jesusbriales-
```
Changed in snapd: | |
status: | Incomplete → New |
Hi,
Can you try downloading a snap and mounting that? For example:
```
$ snap download hello-world
$ mkdir test-squash
$ sudo mount hello-world*.snap test-squash
```