I filled the SRU template on top of the original description. ** Description changed:
+ [ Impact ] + + * This is a hardware enablement SRU. + + * The Desktop certification suite for noble requires the command + `debsums -c` to succeed. However, it fails because of this bug. + + * The root cause is that nmcli modifies the file + `lib/netplan/00-network-manager-all.yaml`. For that it uses a library + that does not handles the comments correctly, hence it removes the + comment that lies on top of the file. Then debsums fails. + + * Since the certification suite does involve network test that cause + nmcli, the debsums ends up failing. + + [ Test Plan ] + + 1. Install the package from proposed + 2. Run the automated checkbox network test from the Desktop Preload Suite (24.04) + + [ Where problems could occur ] + + * We are simply removing a comment that will get removed by nmcli otherwise, so risks are really, really low. + * If the file gets invalidated, the network will not be reached anymore and the test suite will fail. + + [ Other Info ] + + * Ideally the fix should be in nmcli. But it was set as low priority, + and this thing is a very easy way to allow us to certify the devices + without risks. + + + Original description: + On ubuntu desktop 24.04 image, run the operations below 1. $ nmcli d wifi connect <SSID> password <password> 2. $ nmcli c delete <SSID> 3. $ sudo debsums -s Then the error is happened debsums: changed file /lib/netplan/00-network-manager-all.yaml (from ubuntu-settings package) it seems the netplan update the file belonged to ubuntu-settings that cause the debsums failed. - --- + --- ProblemType: Bug ApportVersion: 2.28.1-0ubuntu3.1 Architecture: amd64 CasperMD5CheckMismatches: ./casper/initrd ./casper/vmlinuz ./casper/minimal.standard.live.hotfix.squashfs ./casper/minimal.standard.hotfix.squashfs ./casper/minimal.hotfix.squashfs ./boot/grub/grub.cfg CasperMD5CheckResult: fail DistributionChannelDescriptor: - # This is the distribution channel descriptor for Ubuntu 24.04 for Dell - # For more information see http://wiki.ubuntu.com/DistributionChannelDescriptor - canonical-oem-somerville-noble-oem-24.04a-next-20240902-67 + # This is the distribution channel descriptor for Ubuntu 24.04 for Dell + # For more information see http://wiki.ubuntu.com/DistributionChannelDescriptor + canonical-oem-somerville-noble-oem-24.04a-next-20240902-67 DistroRelease: Ubuntu 24.04 InstallationDate: Installed on 2024-09-02 (1 days ago) InstallationMedia: Ubuntu OEM 24.04.1 LTS "Noble Numbat" - Release amd64 (20240829) Package: netplan.io 1.0.1-1ubuntu2~24.04.1 PackageArchitecture: amd64 ProcVersionSignature: User Name 6.8.0-1012.12-oem 6.8.12 Tags: noble Uname: Linux 6.8.0-1012-oem x86_64 UpgradeStatus: No upgrade log present (probably fresh install) UserGroups: adm cdrom dip lxd sudo _MarkForUpload: True -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2078759 Title: Ability to use comments in YAML generated by Netplan To manage notifications about this bug go to: https://bugs.launchpad.net/netplan/+bug/2078759/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
