cloud-initramfs-rooturl should manual_add_modules squashfs

Bug #1689642 reported by Scott Moser
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cloud-initramfs-tools
Fix Released
Low
Unassigned
cloud-initramfs-tools (Ubuntu)
Fix Released
Low
Unassigned
Zesty
Fix Released
Low
Unassigned

Bug Description

When Adam was looking at [1] bug 1688606, he noted that cloud-initramfs-rooturl
uses squashfs support, and thus should do a:
  manual_add_modules squashfs

Previously it had relied on the fact that either
 a.) Ubuntu kernels have squashfs builtin
 b.) MODULES=most will generally get squashfs other than on precise (LP: #1501834)

[1] https://irclogs.ubuntu.com/2017/05/09/%23ubuntu-release.html

Related bugs:
 * bug 1688606: SRU cloud-initramfs-rooturl to archive
 * bug 1501834: [FFe] add squashfs support by default

Related branches

Scott Moser (smoser)
description: updated
Changed in cloud-initramfs-tools:
status: New → Confirmed
Changed in cloud-initramfs-tools (Ubuntu):
status: New → Confirmed
Changed in cloud-initramfs-tools:
importance: Undecided → Low
Changed in cloud-initramfs-tools (Ubuntu):
importance: Undecided → Low
Scott Moser (smoser)
Changed in cloud-initramfs-tools:
status: Confirmed → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package cloud-initramfs-tools - 0.36ubuntu1

---------------
cloud-initramfs-tools (0.36ubuntu1) artful; urgency=medium

  * cloud-initramfs-rooturl: add squashfs module to initramfs
    via manual_add_modules (LP: #1689642).

 -- Scott Moser <email address hidden> Tue, 09 May 2017 16:12:35 -0400

Changed in cloud-initramfs-tools (Ubuntu):
status: Confirmed → Fix Released
Scott Moser (smoser)
Changed in cloud-initramfs-tools (Ubuntu Zesty):
status: New → Confirmed
importance: Undecided → Low
Revision history for this message
Adam Conrad (adconrad) wrote : Please test proposed package

Hello Scott, or anyone else affected,

Accepted cloud-initramfs-tools into zesty-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/cloud-initramfs-tools/0.35ubuntu2 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed.Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in cloud-initramfs-tools (Ubuntu Zesty):
status: Confirmed → Fix Committed
tags: added: verification-needed
Revision history for this message
Łukasz Zemczak (sil2100) wrote : Change of SRU verification policy

As part of a recent change in the Stable Release Update verification policy we would like to inform that for a bug to be considered verified for a given release a verification-done-$RELEASE tag needs to be added to the bug where $RELEASE is the name of the series the package that was tested (e.g. verification-done-xenial). Please note that the global 'verification-done' tag can no longer be used for this purpose.

Thank you!

Revision history for this message
Scott Moser (smoser) wrote :

Well... I tried to verify this using a -generic kernel, but it proved harder
than I thought. That is because the squashfs module is builtin in standard
ubuntu kernels.

So, to verify this i'd have to build my own kernel that had it as a module.

Below is what I've done to verify this at least doesn't regress anything.
And to also verify that the package has 'manual_add_modules squashfs'.

$ lxc launch ubuntu-daily:zesty z1
$ echo "deb http://archive.ubuntu.com/ubuntu zesty-proposed main universe" |
   lxc file push - z1/etc/apt/sources.list.d/proposed.list
$ lxc exec z1 -- apt-get update -q
$ lxc exec z1 -- apt-get install \
    --quiet --assume-yes --no-install-recommends \
    cloud-initramfs-rooturl linux-image-generic

$ lxc exec z1 -- sh -xc 'update-initramfs -u -k all'
+ update-initramfs -u -k all
update-initramfs: Generating /boot/initrd.img-4.10.0-26-generic
W: mdadm: /etc/mdadm/mdadm.conf defines no arrays.

$ lxc exec z1 -- grep squash /usr/share/initramfs-tools/hooks/rooturl
manual_add_modules squashfs

tags: added: verification-done-zesty
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package cloud-initramfs-tools - 0.35ubuntu2

---------------
cloud-initramfs-tools (0.35ubuntu2) zesty; urgency=medium

  * cloud-initramfs-rooturl: add squashfs module to initramfs
    via manual_add_modules (LP: #1689642).

 -- Scott Moser <email address hidden> Thu, 11 May 2017 16:59:05 -0400

Changed in cloud-initramfs-tools (Ubuntu Zesty):
status: Fix Committed → Fix Released
Revision history for this message
Chris Halse Rogers (raof) wrote : Update Released

The verification of the Stable Release Update for cloud-initramfs-tools has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Scott Moser (smoser)
Changed in cloud-initramfs-tools:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.