** 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]
- In the past, we had occurrences of the Python process crashing (e.g., 
Segmantation 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.
+ 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 means that if a new version of pyroute2 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 pyroute2 in the Subiquity snap will also affect Subiquity itself, 
not just probert. This should be fine since we've already released 25.04 and 
25.10 with the same version of pyroute2. Relevant testing before releasing 
24.04.4 should help catch any error.
+ * 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.

-- 
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