[ Impact ]

 * This is a hardware enablement SRU.
 * It fix a corruption in /usr/lib/systemd/system/cloud-init.service in Desktop 
live ISOs, that causes `debsums -c` to fail.
 * Without it, the debsums test fails, which prevents the hardware 
certification of the platform.

[ Test Plan ]

1. Download Noble Desktop daily image from cdimage: 
https://cdimage.ubuntu.com/noble/daily-live/current/.
2. Boot the ISO in a VM, install the system, run `sudo apt install -y debsums 
&& sudo debsums -c`, see the problem. 
3. Create a Live Noble Desktop ISO with the proposed livecd-rootfs version.
4. Run the new image. Verify the the cloud-init file is not corrupted anymore. 
run:
    - `sudo apt install -y debsums && sudo debsums -c`
    - `sudo cloud-init query --all` and see if it suceed
    - retrieve `/var/lib/cloud/instance/user-data.txt`
    - `journalctl -u cloud-init.service` and verify that there are no errors.
5. Run the same image again. This time, apply the autoinstall configuration 
retrieved before. Verify that it was able to autoinstall correctly.

[ Where problems could occur ]

 * Since the diff touches to cloud-init configuration, the risk would be
to break cloud-init. This is why the test plan tests cloud-init
specifically. Any other cloud-init testing strategies are welcome.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2069391

Title:
  debsums reports file changed /usr/lib/systemd/system/cloud-
  init.service

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/2069391/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to