** Description changed:

  [Description]
  Included in Subiquity 25.10 is a rewrite of Probert network. The original 
implementation is in C (probert-network is built as a Python extension module) 
and the new one is pure Python.
  
  We would like to use the new implementation in Subiquity 24.04.4.
  
  Because the new implementation relies on a more modern version (0.7+) of
  pyroute2 than what is available in core22 (0.6.4), we would need to ship
  pyroute2 0.7 in the Subiquity snap using a PPA.
  
  PPA: https://launchpad.net/~subiquity/+archive/ubuntu/core22
  
- [Why needed]
+ [Why needed?]
  In the past, we had occurrences of the Python process crashing (e.g., 
Segmentation Fault) because of bugs in the probert network implementation. The 
code is old and it is difficult to prove that what it does is valid.
  
  The new implementation is considered more secure since it does not rely
  on a memory-unsafe language.
  
  [Where problems could occur?]
  * Using a PPA for pyroute2 means that if a new version lands in jammy-updates 
or jammy-security, we will need to replicate the update to our PPA. We will 
need to keep an eye on that possibility.
- * Shipping a different version of pyroute2 in the Subiquity snap does not 
just affect probert-network. Rather, any Python module in the Subiquity snap 
that depends on pyroute2 will now use the updated version of pyroute2.
+ * Shipping a different version of pyroute2 in the Subiquity snap does not 
just affect probert-network. Rather, any Python module in the Subiquity snap 
that depends on pyroute2 will now use the updated version of pyroute2. In 
practice today, only Subiquity itself and probert rely on pyroute2 so making 
sure that no major issue is present should be simple with careful ISO testing. 
Also, the version of pyroute2 that we're backporting is already shipped with 
Subiquity 25.04 and 25.10 so there should be no surprises there.

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

Title:
  [SRU] Pure Python implementation of probert network

To manage notifications about this bug go to:
https://bugs.launchpad.net/probert/+bug/2139131/+subscriptions


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

Reply via email to