Description of problem: On Jan 25 2011, the default compression method was changed: “build and use xz sypport by default” in spec file: “COMP_DEFAULT=xz” XZ is not available on old systems (CentOS 6 for instance). This change of default can cause strange behaviour like generating a squashfs volume not readable on some machines, only when the volume was produced on a Mageia system. Some programs like Singularity (https://github.com/sylabs/singularity) just use the default host system compression method and hence produce non widely distributable squashfs images. Could the default compression method be restored as squashfs default one (gzip) ?
(In reply to Thomas Bigot from comment #0) > Description of problem: > On Jan 25 2011, the default compression method was changed: > “build and use xz sypport by default” > in spec file: “COMP_DEFAULT=xz” > > XZ is not available on old systems (CentOS 6 for instance). CentOS 6 isn't even fully supported anymore, it only gets critical security updates and The CentOS team recommends moving workloads from CentOS Linux 6 to CentOS Linux 7. I'll assign this report to our squashfs-tools, though, for him to decide. > This change of > default can cause strange behaviour like generating a squashfs volume not > readable on some machines, only when the volume was produced on a Mageia > system. Some programs like Singularity > (https://github.com/sylabs/singularity) just use the default host system > compression method and hence produce non widely distributable squashfs > images. > > Could the default compression method be restored as squashfs default one > (gzip) ?
Summary: Squashfs: Default compression method was changed from gzip to xz (lzma2) => Squashfs: Default compression method was changed from gzip to xz (lzma2), request to change it back to gzipAssignee: bugsquad => tmbCC: (none) => marja11
Yeah, sorry, but we wont reverse an 8+ year old change. It would mean changing several things in the distro and buildsystem to start enforcing xz all over, so a lot of work for no real gain for us. You should already be planning for moving to CentOS 7 (unless you are waiting for CentOS 8) Or find a way to pass "-comp gzip" to your mksquashfs
Status: NEW => RESOLVEDResolution: (none) => WONTFIX