Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add support for overlayroot (and crypt) #2426

Open
ubuntu-server-builder opened this issue May 10, 2023 · 3 comments
Open

add support for overlayroot (and crypt) #2426

ubuntu-server-builder opened this issue May 10, 2023 · 3 comments
Labels
enhancement New feature or request launchpad Migrated from Launchpad

Comments

@ubuntu-server-builder
Copy link
Collaborator

This bug was originally filed in Launchpad as LP: #1276648

Launchpad details
affected_projects = []
assignee = None
assignee_name = None
date_closed = None
date_created = 2014-02-05T15:28:35.877259+00:00
date_fix_committed = None
date_fix_released = None
id = 1276648
importance = low
is_complete = False
lp_url = https://bugs.launchpad.net/cloud-init/+bug/1276648
milestone = None
owner = hazmat
owner_name = Kapil Thangavelu
private = False
status = triaged
submitter = hazmat
submitter_name = Kapil Thangavelu
tags = []
duplicates = []

Launchpad user Kapil Thangavelu(hazmat) wrote on 2014-02-05T15:28:35.877259+00:00

Cloud-init needs support for enabling and configuring overlayroot (and crypt) so that this can be turned on at instance start.

@ubuntu-server-builder ubuntu-server-builder added bug Something isn't working correctly launchpad Migrated from Launchpad labels May 10, 2023
@ubuntu-server-builder
Copy link
Collaborator Author

Launchpad user Wzrd1(stephen-p-villano) wrote on 2014-03-25T22:55:08.271987+00:00

Would this cause an error during an update-grub? I get /usr/sbin/grub-probe: error: failed to get canonical path of `overlayroot' on my test box.
The system boots OK in spite of that and it's running kernel 3.13.0-19-generic now.

@ubuntu-server-builder
Copy link
Collaborator Author

Launchpad user Wzrd1(stephen-p-villano) wrote on 2014-03-27T19:32:40.776421+00:00

An update.
I'm unable to update the kernel with overlayroot in place.
update-initramfs: Generating /boot/initrd.img-3.13.0-19-generic
cryptsetup: WARNING: failed to detect canonical device of /media/root-ro/
cryptsetup: WARNING: could not determine root device from /etc/fstab

update-grub
/usr/sbin/grub-probe: error: failed to get canonical path of `overlayroot'.

@holmanb holmanb added enhancement New feature or request and removed bug Something isn't working correctly labels Apr 28, 2024
@holmanb
Copy link
Member

holmanb commented Apr 28, 2024

Which stage of cloud-init would you propose this get enabled during?

Cloud-init allows the user to log in before the final stage. This means that the modules in the final stage would not modify the base system if enabled prior to ssh, which would not match current expectation. However enabling in the final stage would mean that the user might be able to ssh in before overlay root is enabled, which would not make sense either.

I'm not sure that I see a clear way to implement this request, and with little activity on this request since it was made 10 years ago it doesn't seem like a high priority one to implement.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request launchpad Migrated from Launchpad
Projects
None yet
Development

No branches or pull requests

2 participants