[Bug 1785499] Re: Make squashfs-tools in Xenial in sync with Bionic and Cosmic

Stéphane Graber stgraber at stgraber.org
Wed Aug 8 22:57:53 UTC 2018


For the fscaps part, I've created a simple file, made it cap_net_raw+pe and made a squashfs out of it, prior to this update, unpacking it showed me:
root at djanet:~/a# getcap squashfs-root/blah 
root at djanet:~/a#

After the upgrade, unsquashfs with the same squashfs file gets me:
root at djanet:~/a# getcap squashfs-root/blah 
squashfs-root/blah = cap_net_raw+ep
root at djanet:~/a# 

** Tags removed: verification-needed verification-needed-xenial
** Tags added: verification-done verification-needed-done

** Tags removed: verification-needed-done
** Tags added: verification-done-xenial

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to squashfs-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1785499

Title:
  Make squashfs-tools in Xenial in sync with Bionic and Cosmic

Status in squashfs-tools package in Ubuntu:
  Fix Released
Status in squashfs-tools source package in Xenial:
  Fix Committed

Bug description:
  squashfs-tools upstream hasn't changed in a while but a number of
  bugfixes are applied through packaging in Debian and Ubuntu.

  The bionic and cosmic versions right now are identical but xenial is
  missing a few fixes which is a problem for the LXD snap among other
  things.

  Looking at debian/series/patches, the fixes currently missing in the xenial version are:
   - 0007-fix-2GB-limit-in-mksquashfs.patch
   - 0008-preserve_file_capabilities.patch

  I'll attach test cases for both of those below and then will prepare
  an SRU that effectively makes the source package identical to what we
  have in bionic, minus the different changelog.

  This should be pretty safe considering both Ubuntu and Debian have
  been shipping those two patches for a while and the fs caps one is
  going to be pretty important moving forward as we're discussing having
  Ubuntu ship with fscaps by default.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/squashfs-tools/+bug/1785499/+subscriptions



More information about the foundations-bugs mailing list