Bug 256790 - sysutils/squashfs-tools: unsquashfs fails with error: "failed to read file system tables"
Summary: sysutils/squashfs-tools: unsquashfs fails with error: "failed to read file sy...
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Alexey Dokuchaev
URL: https://github.com/plougher/squashfs-...
Keywords: regression
Depends on:
Reported: 2021-06-23 14:55 UTC by Rodrigo Osorio
Modified: 2021-07-26 02:23 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (danfe)


Note You need to log in before you can comment on or make changes to this bug.
Description Rodrigo Osorio freebsd_committer 2021-06-23 14:55:11 UTC
Since 4.4 update I can't unsquash my files anymore.
Every attempt stops with the following error :

unsquashfs rootfs.squashfs
Xattrs in filesystem! These are not supported on this version of Squashfs
File system corruption detected
FATAL ERROR:failed to read file system tables

Reinstalling squashfs 4.3_1 solves the issue.

I'm not sure but it seems that we still using SF repo, when development for
squashfs has moved to GH. 4.4 release was done around 2019/2020, and apparently
no official release is planned. Maybe taking the head of the main branch will
fix the issue.

I gonna take some time to investigate, this tool is required for my day to day job

-- rodrigo
Comment 1 Alexey Dokuchaev freebsd_committer 2021-07-26 02:23:25 UTC
Indeed, both 4.4 and recently released 4.5 refuse to work with filesystems which contain files with extended attributes.  I've filed the issue with upstream, hopefully we'd be able to resolve this quickly.