warning: option 'size' missing for zfs encryption install

Bug #2063252 reported by fossfreedom
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
subiquity
Fix Committed
Medium
Dan Bungert
cryptsetup (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

I will attach the error message seen on plymouth - this starts as per the summary headline

enclosed is the /var/log folder tarball.

This is a ZFS (encryption) install via an offline install of ubuntu budgie 24.04 release candidate

Tags: iso-testing
Revision history for this message
fossfreedom (fossfreedom) wrote :
Revision history for this message
fossfreedom (fossfreedom) wrote :
Revision history for this message
Ubuntu QA Website (ubuntuqa) wrote :

This bug has been reported on the Ubuntu ISO testing tracker.

A list of all reports related to this bug can be found here:
http://iso.qa.ubuntu.com/qatracker/reports/bugs/2063252

tags: added: iso-testing
Revision history for this message
Dan Bungert (dbungert) wrote :

From the plymouth side, some configs show this and some do not, so I think there is room to make the messages go away there. Notably Ubuntu Desktop doesn't show those messages.

On the Subiquity side, we surely can build crypttab in a way to make the warnings go away.

Changed in subiquity:
status: New → Triaged
importance: Undecided → Medium
Dan Bungert (dbungert)
Changed in subiquity:
assignee: nobody → Dan Bungert (dbungert)
Dan Bungert (dbungert)
Changed in cryptsetup (Ubuntu):
status: New → Invalid
Dan Bungert (dbungert)
Changed in subiquity:
status: Triaged → In Progress
Revision history for this message
Dan Bungert (dbungert) wrote :

As a workaround, updating /etc/crypttab to have the following options in the 4th column of the dm_crypt swap device should silence the warning:

swap,initramfs,size=256,cipher=aes-cbc-essiv:sha256,plain

It's also required to `update-initramfs -u` after updating crypttab.

Dan Bungert (dbungert)
Changed in subiquity:
status: In Progress → Fix Committed
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.