← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1555305] Re: resquashfs test fails if snap has symlinks

 

Marking the click-reviewers-tools task as invalid since the bug fix is
in squashfs-tools and there's no changes needed for click-reviewers-
tools.

** Changed in: click-reviewers-tools (Ubuntu)
       Status: Confirmed => Invalid

** Also affects: squashfs-tools (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: squashfs-tools (Ubuntu Trusty)
   Importance: Undecided
       Status: New

** Also affects: click-reviewers-tools (Ubuntu Trusty)
   Importance: Undecided
       Status: New

** Also affects: squashfs-tools (Ubuntu Bionic)
   Importance: Undecided
       Status: New

** Also affects: click-reviewers-tools (Ubuntu Bionic)
   Importance: High
       Status: Invalid

** Also affects: squashfs-tools (Ubuntu Xenial)
   Importance: Undecided
       Status: New

** Also affects: click-reviewers-tools (Ubuntu Xenial)
   Importance: Undecided
       Status: New

** Also affects: squashfs-tools (Ubuntu Artful)
   Importance: Undecided
       Status: New

** Also affects: click-reviewers-tools (Ubuntu Artful)
   Importance: Undecided
       Status: New

** Also affects: squashfs-tools (Ubuntu Zesty)
   Importance: Undecided
       Status: New

** Also affects: click-reviewers-tools (Ubuntu Zesty)
   Importance: Undecided
       Status: New

** No longer affects: click-reviewers-tools (Ubuntu Trusty)

** No longer affects: click-reviewers-tools (Ubuntu Xenial)

** No longer affects: click-reviewers-tools (Ubuntu Zesty)

** No longer affects: click-reviewers-tools (Ubuntu Artful)

** No longer affects: click-reviewers-tools (Ubuntu Bionic)

** Changed in: squashfs-tools (Ubuntu Trusty)
   Importance: Undecided => High

** Changed in: squashfs-tools (Ubuntu Xenial)
   Importance: Undecided => High

** Changed in: squashfs-tools (Ubuntu Zesty)
   Importance: Undecided => High

** Changed in: squashfs-tools (Ubuntu Artful)
   Importance: Undecided => High

** Changed in: squashfs-tools (Ubuntu Bionic)
   Importance: Undecided => High

** Changed in: squashfs-tools (Ubuntu Trusty)
     Assignee: (unassigned) => Tyler Hicks (tyhicks)

** Changed in: squashfs-tools (Ubuntu Xenial)
     Assignee: (unassigned) => Tyler Hicks (tyhicks)

** Changed in: squashfs-tools (Ubuntu Zesty)
     Assignee: (unassigned) => Tyler Hicks (tyhicks)

** Changed in: squashfs-tools (Ubuntu Artful)
     Assignee: (unassigned) => Tyler Hicks (tyhicks)

** Changed in: squashfs-tools (Ubuntu Bionic)
     Assignee: (unassigned) => Tyler Hicks (tyhicks)

** Changed in: squashfs-tools (Ubuntu Bionic)
       Status: New => In Progress

** Changed in: squashfs-tools (Ubuntu Artful)
       Status: New => In Progress

** Changed in: squashfs-tools (Ubuntu Zesty)
       Status: New => In Progress

** Changed in: squashfs-tools (Ubuntu Xenial)
       Status: New => In Progress

** Changed in: squashfs-tools (Ubuntu Trusty)
       Status: New => In Progress

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1555305

Title:
  resquashfs test fails if snap has symlinks

Status in click-reviewers-tools package in Ubuntu:
  Invalid
Status in squashfs-tools package in Ubuntu:
  In Progress
Status in squashfs-tools source package in Trusty:
  In Progress
Status in squashfs-tools source package in Xenial:
  In Progress
Status in squashfs-tools source package in Zesty:
  In Progress
Status in squashfs-tools source package in Artful:
  In Progress
Status in squashfs-tools source package in Bionic:
  In Progress

Bug description:
  Create the files:
  $ mkdir test
  $ cd test
  $ touch foo
  $ ln -s foo bar
  $ mkdir meta
  $ cat >meta/snap.yaml <<EOM
  name: test
  version: 1.0
  architectures: [all]
  EOM

  Create the initial snap
  $ cd ..
  $ snapcraft snap ./test
  ...
  Snapped test_1.0_all.snap

  Unsquash the snap:
  $ unsquashfs -d unsquashed test_1.0_all.snap
  Parallel unsquashfs: Using 4 processors
  3 inodes (2 blocks) to write

  [=======================================================================|]
  2/2 100%

  created 2 files
  created 2 directories
  created 1 symlinks
  created 0 devices
  created 0 fifos

  Resquash the snap (the sleep is to make sure the time changes on the symlink):
  $ unsquashfs -fstime ./test_1.0_all.snap
  1457551603
  $ mksquashfs ./unsquashed ./test_1.0_all.snap.repacked -fstime 1457551603 -noappend -comp xz -all-root -no-xattrs
  ...

  
  Compare:
  $ sha512sum test_1.0_all.snap
  40a15430503783541b362942491ee614b16941676d6c3edd86005af7b6b0782374e41c0c006dccb3a164d2c0270ace66639fcdee5ece3571db1c7544d59030e3  test_1.0_all.snap

  $ sha512sum test_1.0_all.snap.repack 
  d8b9626337b8f09288f6aab675041dba639523437dd1d8f11b3f883cfa73ea434f2be06f5cd9cdec4ac9bdf2a40f8b484dc516ec851870c81be133cbdebf35a4  test_1.0_all.snap.repack

  
  Removing the symlink makes the check work.

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