overlay-root doesn't work by default

Bug #1937873 reported by Usarin Heininga
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dracut (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

By default the module 90overlay-root gets installed, but this module won't work in hostonly mode.
In hostonly mode the required kernel module overlay is not installed.
Using the command line option rootovl at boot will hang the system, because the dracut module will try to run but fail because of the missing kernel support.
Other dracut modules fix this by setting hostonly='' before running instmods.

Regards,

Usarin Heininga

Tags: patch
Revision history for this message
Usarin Heininga (usarinheininga) wrote :
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "fix overlay root" seems to be a debdiff. The ubuntu-sponsors team has been subscribed to the bug report so that they can review and hopefully sponsor the debdiff. If the attachment isn't a patch, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are member of the ~ubuntu-sponsors, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issue please contact him.]

tags: added: patch
Mathew Hodson (mhodson)
summary: - overlay-root doesn't work bij default.
+ overlay-root doesn't work by default
Changed in dracut (Ubuntu):
importance: Undecided → Low
Revision history for this message
Brian Murray (brian-murray) wrote :

Thanks for taking the time to report this bug and helping to make Ubuntu better. The package dracut is actually sync'ed from Debian and it would be good to get this fix there too. Would you mind opening a bug report in Debian about this and sending your patch? Thanks in advance!

Changed in dracut (Ubuntu):
status: New → Incomplete
status: Incomplete → Confirmed
Revision history for this message
laszlo gombos (gombi) wrote :

overlay-root is a Debian-specific dracut module and a better option is to use the overlayfs dracut module instead (https://github.com/dracutdevs/dracut/tree/master/modules.d/90overlayfs).

To get the most out of overlayfs, please consider merging https://salsa.debian.org/debian/dracut/-/merge_requests/20 .

Thanks !

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "fix overlay root" seems to be a debdiff. The ubuntu-sponsors team has been subscribed to the bug report so that they can review and hopefully sponsor the debdiff. If the attachment isn't a patch, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are member of the ~ubuntu-sponsors, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issue please contact him.]

Revision history for this message
Simon Quigley (tsimonq2) wrote :

-1 on introducing this as an Ubuntu delta, please send it to Debian.

Revision history for this message
Benjamin Drung (bdrung) wrote :

This has been fixed in Debian in 056-3 and therefore it is fixed in Ubuntu >= 23.04 (lunar).

We could consider dropping 90overlay-root in favor of the overlayfs dracut module.

Changed in dracut (Ubuntu):
status: Confirmed → 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.