[Bug 2093164] Re: initramfs-tools generates deprecated netplan config gateway4 and gateway6
Hi Nick, Thanks for looking into this, let me explain this in more details. This is an issue reported by one of our customers, in their environment when they first boot the live-server ISO, they do not run DHCP, instead, they pass network info via the kernel cmdline. So the system is able to get further build/deployment instructions from network. They follow the cloud-init docs to check the exit code and decide if everything is correct (exit code: 0) and then continue their process, this is where they hit this issue. Currently they workaround it by adding a handle for "exit code 2" from cloud-init to let it continue, so the network is also working properly even though cloud-init returns 2. But we should follow the cloud-init doc to return the correct exit code, in case anyone else also checks the return status in the future in their process. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2093164 Title: initramfs-tools generates deprecated netplan config gateway4 and gateway6 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2093164] Re: initramfs-tools generates deprecated netplan config gateway4 and gateway6
> In this case, cloud-init returns 2 (success with recoverable errors) rather than '0' (success) Is this the primary impact of this bug? If so, what are the practical implications of this? Does networking not work correctly? Does something else fail because of a non-zero exit code from cloud-init? Or, is the purpose of this strictly to clean up the config so that it does not use deprecated fields? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2093164 Title: initramfs-tools generates deprecated netplan config gateway4 and gateway6 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2093164] Re: initramfs-tools generates deprecated netplan config gateway4 and gateway6
Thank you Heitor! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2093164 Title: initramfs-tools generates deprecated netplan config gateway4 and gateway6 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2093164] Re: initramfs-tools generates deprecated netplan config gateway4 and gateway6
Thanks for the patches, Gerald! I've tested this on my personal PPA, and sponsored for Oracular and Noble. I've also amended the SRU template in the "Where problems could occur" section. Note that this is blocked for Jammy/Focal due to packages for bug 2056187 being in -proposed. Once that clears out, we can proceed with this one (if Focal is still under standard support by then, otherwise this would need to be targeted for Ubuntu Pro 20.04). ** Changed in: initramfs-tools (Ubuntu Jammy) Status: In Progress => Triaged ** Changed in: initramfs-tools (Ubuntu Focal) Status: In Progress => Triaged -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2093164 Title: initramfs-tools generates deprecated netplan config gateway4 and gateway6 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2093164] Re: initramfs-tools generates deprecated netplan config gateway4 and gateway6
** Description changed: [Impact] According to netplan doc https://netplan.readthedocs.io/en/latest/netplan-yaml gateway4/gateway6 are deprecated and the first version deprecates these fields is 0.103, it should use "routes:" instead. In scripts/functions:_render_netplan, it still generates the deprecated fields in /run/netplan/xxx.yaml: - if [ -n "$gateway4" ]; then - echo " gateway4: \"$gateway4\"" - fi - if [ -n "$gateway6" ]; then - echo " gateway6: \"$gateway6\"" - fi + if [ -n "$gateway4" ]; then + echo " gateway4: \"$gateway4\"" + fi + if [ -n "$gateway6" ]; then + echo " gateway6: \"$gateway6\"" + fi Then casper copies this config to root filesystem and later on used by cloud-init: https://git.launchpad.net/ubuntu/+source/casper/tree/scripts/casper-bottom/58server_network?h=applied/ubuntu/noble-updates#n47 In this case, cloud-init returns 2 (success with recoverable errors) rather than '0' (success) We should modify these fields to use "routes:" based on netplan doc: https://netplan.readthedocs.io/en/latest/netplan-yaml/#default-routes - [Test Case] To verify if it generates the correct netplan config, we can specify ip related config in kernel cmdline in grub menu and check the yaml file in /run/netplan/ Steps to reproduce the netplan config: 1. launch a test VM in lxd 2. go into grub menu 3. pass ip related info to kernel cmdline, e.g. ip=10.194.146.91::10.194.146.1:255.255.255.010.194.146.1 4. boot into system and check /run/netplan/xxx.yaml Originally, it generates something like: - cat /run/netplan/enp5s0.yaml + cat /run/netplan/enp5s0.yaml network: - version: 2 - ethernets: - enp5s0: - addresses: - - "10.194.146.91/24" - gateway4: "10.194.146.1" - nameservers: - addresses: ["10.194.146.1"] + version: 2 + ethernets: + enp5s0: + addresses: + - "10.194.146.91/24" + gateway4: "10.194.146.1" + nameservers: + addresses: ["10.194.146.1"] After the patch, it generates something like: - cat /run/netplan/enp5s0.yaml + cat /run/netplan/enp5s0.yaml network: - version: 2 - ethernets: - enp5s0: - addresses: - - "10.194.146.91/24" - routes: - - to: default - via: "10.194.146.1" - nameservers: - addresses: ["10.194.146.1"] - + version: 2 + ethernets: + enp5s0: + addresses: + - "10.194.146.91/24" + routes: + - to: default + via: "10.194.146.1" + nameservers: + addresses: ["10.194.146.1"] [Where problems could occur] This patch follows the netplan doc to use "routes:" for default gateway, - if the format is correct, it shouldn't cause any issue. + so network connectivity will be impacted on regressions. We should ensure that networking and routing works correctly, e.g. with a basic networking smoke test. [Other Info] https://bugs.launchpad.net/cloud-init/+bug/1992512 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2093164 Title: initramfs-tools generates deprecated netplan config gateway4 and gateway6 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2093164] Re: initramfs-tools generates deprecated netplan config gateway4 and gateway6
** Changed in: initramfs-tools (Ubuntu Oracular) Importance: Undecided => Medium ** Changed in: initramfs-tools (Ubuntu Noble) Importance: Undecided => Medium ** Changed in: initramfs-tools (Ubuntu Focal) Importance: Undecided => Medium ** Changed in: initramfs-tools (Ubuntu Jammy) Importance: Undecided => Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2093164 Title: initramfs-tools generates deprecated netplan config gateway4 and gateway6 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2093164] Re: initramfs-tools generates deprecated netplan config gateway4 and gateway6
modified debdiff for noble ** Patch added: "noble.debdiff" https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+attachment/5861697/+files/noble.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2093164 Title: initramfs-tools generates deprecated netplan config gateway4 and gateway6 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2093164] Re: initramfs-tools generates deprecated netplan config gateway4 and gateway6
modified debdiff for jammy ** Patch added: "jammy.debdiff" https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+attachment/5861696/+files/jammy.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2093164 Title: initramfs-tools generates deprecated netplan config gateway4 and gateway6 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2093164] Re: initramfs-tools generates deprecated netplan config gateway4 and gateway6
modified debdiff for oracular ** Patch added: "oracular.debdiff" https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+attachment/5861698/+files/oracular.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2093164 Title: initramfs-tools generates deprecated netplan config gateway4 and gateway6 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2093164] Re: initramfs-tools generates deprecated netplan config gateway4 and gateway6
modified debdiff for focal ** Patch added: "focal.debdiff" https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+attachment/5861695/+files/focal.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2093164 Title: initramfs-tools generates deprecated netplan config gateway4 and gateway6 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2093164] Re: initramfs-tools generates deprecated netplan config gateway4 and gateway6
ok, let me modify it and re-upload debdiffs -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2093164 Title: initramfs-tools generates deprecated netplan config gateway4 and gateway6 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2093164] Re: initramfs-tools generates deprecated netplan config gateway4 and gateway6
This bug was fixed in the package initramfs-tools - 0.145ubuntu3 --- initramfs-tools (0.145ubuntu3) plucky; urgency=medium * scripts/functions: gateway4/gateway6 are depreated in netplan config, generate routes instead (LP: #2093164) -- Gerald Yang Tue, 25 Feb 2025 01:35:07 + ** Changed in: initramfs-tools (Ubuntu Plucky) Status: In Progress => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2093164 Title: initramfs-tools generates deprecated netplan config gateway4 and gateway6 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2093164] Re: initramfs-tools generates deprecated netplan config gateway4 and gateway6
** Changed in: initramfs-tools (Ubuntu Plucky) Importance: Undecided => Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2093164 Title: initramfs-tools generates deprecated netplan config gateway4 and gateway6 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2093164] Re: initramfs-tools generates deprecated netplan config gateway4 and gateway6
I would recommend that. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2093164 Title: initramfs-tools generates deprecated netplan config gateway4 and gateway6 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2093164] Re: initramfs-tools generates deprecated netplan config gateway4 and gateway6
Hi Benjamin, Thanks for sponsoring this, should I modify other debdiffs to keep ipv4static too? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2093164 Title: initramfs-tools generates deprecated netplan config gateway4 and gateway6 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2093164] Re: initramfs-tools generates deprecated netplan config gateway4 and gateway6
Sponsored the plucky upload, but kept the ipv4static test case: https://git.launchpad.net/~ubuntu-core-dev/ubuntu/+source/initramfs- tools/commit/?id=62e08aa207e9f49fbf891891eb87b130e93426cf -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2093164 Title: initramfs-tools generates deprecated netplan config gateway4 and gateway6 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2093164] Re: initramfs-tools generates deprecated netplan config gateway4 and gateway6
debdiff for oracular ** Patch added: "oracular.debdiff" https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+attachment/5860272/+files/oracular.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2093164 Title: initramfs-tools generates deprecated netplan config gateway4 and gateway6 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2093164] Re: initramfs-tools generates deprecated netplan config gateway4 and gateway6
debdiff for focal ** Patch added: "focal.debdiff" https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+attachment/5860269/+files/focal.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2093164 Title: initramfs-tools generates deprecated netplan config gateway4 and gateway6 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2093164] Re: initramfs-tools generates deprecated netplan config gateway4 and gateway6
I've also added an ipv6 test case, will upload debdiffs later -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2093164 Title: initramfs-tools generates deprecated netplan config gateway4 and gateway6 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2093164] Re: initramfs-tools generates deprecated netplan config gateway4 and gateway6
Currently, focal and jammy are blocked by this SRU https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2056187 noble and oracular are waiting to release to -updates for this SRU https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2091904 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2093164 Title: initramfs-tools generates deprecated netplan config gateway4 and gateway6 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2093164] Re: initramfs-tools generates deprecated netplan config gateway4 and gateway6
debdiff for plucky ** Patch added: "plucky.debdiff" https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+attachment/5860273/+files/plucky.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2093164 Title: initramfs-tools generates deprecated netplan config gateway4 and gateway6 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2093164] Re: initramfs-tools generates deprecated netplan config gateway4 and gateway6
debdiff for noble ** Patch added: "noble.debdiff" https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+attachment/5860271/+files/noble.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2093164 Title: initramfs-tools generates deprecated netplan config gateway4 and gateway6 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2093164] Re: initramfs-tools generates deprecated netplan config gateway4 and gateway6
debdiff for jammy ** Patch added: "jammy.debdiff" https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+attachment/5860270/+files/jammy.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2093164 Title: initramfs-tools generates deprecated netplan config gateway4 and gateway6 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2093164] Re: initramfs-tools generates deprecated netplan config gateway4 and gateway6
Sure, thank you Benjamin for reviewing this SRU, I will add a test case for it. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2093164 Title: initramfs-tools generates deprecated netplan config gateway4 and gateway6 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2093164] Re: initramfs-tools generates deprecated netplan config gateway4 and gateway6
It would be useful to add a test case that has an IPv4 and IPv6 gateway. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2093164 Title: initramfs-tools generates deprecated netplan config gateway4 and gateway6 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2093164] Re: initramfs-tools generates deprecated netplan config gateway4 and gateway6
updated debdiffs and test PPA based on Lukas's suggestion: https://launchpad.net/~gerald-yang-tw/+archive/ubuntu/402790-test -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2093164 Title: initramfs-tools generates deprecated netplan config gateway4 and gateway6 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2093164] Re: initramfs-tools generates deprecated netplan config gateway4 and gateway6
debdiff for focal ** Patch added: "focal.debdiff" https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+attachment/5851998/+files/focal.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2093164 Title: initramfs-tools generates deprecated netplan config gateway4 and gateway6 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2093164] Re: initramfs-tools generates deprecated netplan config gateway4 and gateway6
debdiff for noble ** Patch added: "noble.debdiff" https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+attachment/5852001/+files/noble.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2093164 Title: initramfs-tools generates deprecated netplan config gateway4 and gateway6 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2093164] Re: initramfs-tools generates deprecated netplan config gateway4 and gateway6
debdiff for plucky ** Patch added: "plucky.debdiff" https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+attachment/5852003/+files/plucky.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2093164 Title: initramfs-tools generates deprecated netplan config gateway4 and gateway6 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2093164] Re: initramfs-tools generates deprecated netplan config gateway4 and gateway6
debdiff for oracular ** Patch added: "oracular.debdiff" https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+attachment/5852002/+files/oracular.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2093164 Title: initramfs-tools generates deprecated netplan config gateway4 and gateway6 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2093164] Re: initramfs-tools generates deprecated netplan config gateway4 and gateway6
debdiff for jammy ** Patch added: "jammy.debdiff" https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+attachment/5852000/+files/jammy.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2093164 Title: initramfs-tools generates deprecated netplan config gateway4 and gateway6 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2093164] Re: initramfs-tools generates deprecated netplan config gateway4 and gateway6
Thanks Lukas for reviewing this, that makes sense I will update the debdiff to set different default routes for gateway4 and gateway6 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2093164 Title: initramfs-tools generates deprecated netplan config gateway4 and gateway6 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2093164] Re: initramfs-tools generates deprecated netplan config gateway4 and gateway6
Can there only ever be a single gateway4 or gateway6 be defined in initramfs-tools? What happens if both $gateway4 and $gateway6 are defined? I think we'd need to define two actual default routes below the "routes" stanza, e.g.: network: version: 2 ethernets: enp5s0: addresses: - "10.194.146.91/24" routes: - to: default via: "10.194.146.1" - to: default via: "2001:16b8:bda3:6900:adc8:76e7:6435:1eeb" nameservers: addresses: ["10.194.146.1"] -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2093164 Title: initramfs-tools generates deprecated netplan config gateway4 and gateway6 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2093164] Re: initramfs-tools generates deprecated netplan config gateway4 and gateway6
test PPA: https://launchpad.net/~gerald-yang-tw/+archive/ubuntu/402790-test -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2093164 Title: initramfs-tools generates deprecated netplan config gateway4 and gateway6 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2093164] Re: initramfs-tools generates deprecated netplan config gateway4 and gateway6
debdiff for oracular ** Patch added: "oracular.debdiff" https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+attachment/5850722/+files/oracular.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2093164 Title: initramfs-tools generates deprecated netplan config gateway4 and gateway6 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2093164] Re: initramfs-tools generates deprecated netplan config gateway4 and gateway6
debdiff for plucky ** Patch added: "plucky.debdiff" https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+attachment/5850723/+files/plucky.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2093164 Title: initramfs-tools generates deprecated netplan config gateway4 and gateway6 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2093164] Re: initramfs-tools generates deprecated netplan config gateway4 and gateway6
The attachment "focal.debdiff" 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 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2093164 Title: initramfs-tools generates deprecated netplan config gateway4 and gateway6 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2093164] Re: initramfs-tools generates deprecated netplan config gateway4 and gateway6
debdiff for noble ** Patch added: "noble.debdiff" https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+attachment/5850582/+files/noble.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2093164 Title: initramfs-tools generates deprecated netplan config gateway4 and gateway6 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2093164] Re: initramfs-tools generates deprecated netplan config gateway4 and gateway6
debdiff for focal ** Patch added: "focal.debdiff" https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+attachment/5850580/+files/focal.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2093164 Title: initramfs-tools generates deprecated netplan config gateway4 and gateway6 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2093164] Re: initramfs-tools generates deprecated netplan config gateway4 and gateway6
debdiff for jammy ** Patch added: "jammy.debdiff" https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+attachment/5850581/+files/jammy.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2093164 Title: initramfs-tools generates deprecated netplan config gateway4 and gateway6 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs