Hi @raof,

Thank you very much for the feedback!

re 1/ Those are some fair thoughts, but those should likely be discussed
with the upstream contribution
(https://github.com/canonical/netplan/pull/549), which is already merged
since 6+ months. CC @crypticcoder

Looking in $PATH can be problematic, because Netplan runs as a systemd-
generator during (very) early boot, i.e. before any actuall service
units. We might not have a full environment (PATH might not be
populated) at this point in time, yet.

For the integration into Ubuntu (SRU/backport), I don't see an issue,
though. As the --prefix is defined as "/usr" (e.g.
https://launchpadlibrarian.net/815953957/buildlog_ubuntu-questing-
amd64.netplan.io_1.1.2-7ubuntu3_BUILDING.txt.gz) and --bindir is
undefined, therefore falling back to the meson default of "bin"
(https://mesonbuild.com/Builtin-options.html):

netplan 1.1

  User defined options
    buildtype         : plain
    libdir            : lib/x86_64-linux-gnu
    localstatedir     : /var
    prefix            : /usr
    python.bytecompile: -1
    python.platlibdir : /usr/lib/python3/dist-packages
    python.purelibdir : /usr/lib/python3/dist-packages
    sysconfdir        : /etc
    wrap_mode         : nodownload

re 2/ Yes, the package is in an unfortunate state, as we didn't see an
upstream release in a while. I wanted to position this as a backport
still, to make it clear form the version number. And I think the delta
of removing/adopting a bunch of SRU-compatibiliy changes is smaller than
the other way around.

re 3/ I've enhanced the [Other Info] section accordingly:

* This backport also adds a new "Suggests: systemd-resolved" to the
"netplan.io" binary package, mostly for compatibility with Debian. This
will not change behavior in Ubuntu, as systemd-resolved is already pre-
installed and Suggests wouldn't be auto-installed anyway.

** Description changed:

  Stable Release Update for netplan.io 1.1.2-7ubuntu3 to Noble (and
  Plucky). This version contains bug fixes and new features we want to
  make available to users of Ubuntu 24.04.
  
  netplan.io has an SRU exception for backporting new versions with new
  features
  https://documentation.ubuntu.com/sru/en/latest/reference/exception-
  Netplan-Updates/
  
  [ Impact ]
  
  This release contains both test fixes and new features and we would like to
  make sure all of our supported customers have access to these improvements.
  The notable ones are:
  
    * Allows non standard OVS setups (e.g. OVS from snap)
      - Switching from hard-coded /usr/bin/ovs-vsctl to dynamic detection
        of ovs-vsctl (e.g. /{usr,snap}/bin/ovs-vsctl)
    * Test improvements, especially for slower architectures such as riscv64
  
    * Note: all new features come with corresponding build-time and DEP-8
      integration tests, to confirm their functionality in autopkgtest-cloud.
  
  [ Test Plan ]
  
  The following development and SRU process was followed:
  
https://documentation.ubuntu.com/sru/en/latest/reference/exception-Netplan-Updates/
  
  Netplan contains an extensive integration test suite that is ran using
  the SRU package for each releases. This test suite's results are available 
here:
  http://autopkgtest.ubuntu.com/packages/n/netplan.io
  
  A successful run is required before the proposed netplan package
  can be let into -updates.
  
  The netplan team will be in charge of attaching the artifacts and console
  output of the appropriate run to the bug. Netplan team members will not
  mark ‘verification-done’ until this has happened.
  
  ADDITIONALLY:
  Also, we want to execute the NetworkManager DEP-8 test against the -proposed 
version of Netplan, to confirm the integration is still working as expected.
  
  Noble autopkgtest logs:
  - TBD
  
  Plucky autopkgtest logs:
  - TBD
  
  [ Where problems could occur ]
  
  * This is not a big release and has been available on Questing for some
  time without any concerning issues reported.
  
  * As usual, any backwards compatibility issue that prevents the new
  Netplan to parse existing YAML files would leave the system without
  networking configuration after a reboot or add unexpected logging
  output. Therefore, we added two patches in "d/p/sru-compat/*" to mute
  one warning and convert one error to a warning, as it used to be on
  Noble.
  
  * Notably, the feature to wait for DNS servers in systemd-networkd-wait-
  online has been dropped from the Noble backport, as it relies on
  upstream systemd functionality of systemd v258 (that has been backported
  to systemd 257.2-3ubuntu1 in Plucky)
  
  [ Other Info ]
  
  * Similar backports have been done in the past, e.g. bug #2103603
  * A PPA for testing can be found at 
https://launchpad.net/~slyon/+archive/ubuntu/lp-2127195-backport-1.1.2-7u3/+packages
  
+ * This backport also adds a new "Suggests: systemd-resolved" to the
+ "netplan.io" binary package, mostly for compatibility with Debian. This
+ will not change behavior in Ubuntu, as systemd-resolved is already pre-
+ installed and Suggests wouldn't be auto-installed anyway.
+ 
  [ Changelog ]
  
    * Backport netplan.io 1.1.2-7ubuntu3 (LP: #2127195)
      - Allows non standard OVS setups (e.g. OVS from snap)
      - Test improvements, especially for slower architectures such as riscv46
    * SRU compatibility
      - d/gbp.con: Update for Noble
      - d/libnetplan1.symbols: keep it at the original version
      - d/p/series: Keep d/p/sru-compat/* patches
      - d/p/lp2083029/*: Keep properly structured patches for SRU
      - d/p/series: Drop wait-online-dns* which is incompatible with systemd 
v255
        + d/control: Keep systemd dependency at v248
  
  [ Git Changelog ]
  
  9d15a9ba changelog
  97305316 d/p/series,d/control: Drop wait-online-dns* which is incompatible 
with Noble.  # NOBLE ONLY
  9c6cd0cf d/p/lp2083029/*: Keep properly structured patches for SRU
  a250bb25 d/p/series: Keep d/p/sru-compat/* patches  # NOBLE ONLY
  2db99894 d/libnetplan1.symbols: keep it at the original version  # NOBLE ONLY
  a917e41a d/gbp.conf: Update for Noble
  4ec2437a changelog: Backport netplan.io 1.1.2-7ubuntu3 (LP: #2127195)

** Changed in: netplan.io (Ubuntu Plucky)
       Status: Incomplete => New

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

Title:
  [SRU] Backport netplan.io 1.1.2-7ubuntu3 to 24.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/netplan.io/+bug/2127195/+subscriptions


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

Reply via email to