[uyuni-users] Removal of Ubuntu erratas in Uyuni

Hi all, I have noticed that the CVE ID were truncated, importing them from the philicious script (https://github.com/philicious/spacewalk-scripts/blob/master/errata-import.py) Truncated because of the regexp limitation "CVE = "(?P<cve>CVE-\d{4}-\d{4})". I have modified it to accept 5 digits ( CVE = "(?P<cve>CVE-\d{4}-\d{5} ), but to be able to import them again, I would need to remove all the erratas from the Ubuntu repositories. Is there an easy way to do it ? Regards, Philippe. Philippe Bidault | Unix Engineer Getronics ________________________________ M. 34617301667 | E. Philippe.Bidault@Getronics.com | W. www.getronics.com [cid:M17520GetronicsConnectingPossibilitiesE-Sig425x204_e1803ca0-99a5-4a65-abd8-074c86bf11aa.png]<http://www.getronics.com/> <http://www.linkedin.com/company/2077785>[cid:LinkedIn_4aeb630a-f385-4f22-927e-31323d2554b8.png]<https://www.linkedin.com/company/2077785> [cid:Twitter_6c9cce61-b2e3-49d4-991c-e799d031f1ae.png] <https://twitter.com/Getronics> <http://twitter.com/Getronics> [cid:Youtube_5150f807-4ba8-46a3-bbbf-038ccfdc2793.png] <https://www.youtube.com/user/getronicsonline?feature=results_main> <http://www.youtube.com/user/getronicsonline?feature=results_main> sign-info <http://www.getronics.com/knowledge-share/news-and-events/ovum.php#sthash.cbKPq4wA.bnvveIrq.dpbs> Getronics CMC Service Desk Iberia S.L - VAT No:S.L.: B66686262. Registered Office - Getronics CMC Service Desk Iberia S.L, C/Rosselloi, Porcel, 21 planta 11, 08016 Barcelona, Spain. The information transmitted is intended only for use by the addressee and may contain confidential and/or privileged material. Any review, re-transmission, dissemination or other use of it, or the taking of any action in reliance upon this information by persons and/or entities other than the intended recipient is prohibited. If you received this in error, please inform the sender and/or addressee immediately and delete the material. Thank you. Legal disclaimer: http://www.getronics.com/legal/

Auto-replying to myself, will perhaps be useful for somebody ... There is actually an existing script here https://github.com/stevemeier/cefs/blob/master/errata-wipe.pl to erase the erratas. I have adapted it to only remove the erratas from the repos I am interested in, and all good, it does exactly what I wanted. @uyuni team: What is the plan regarding the management of the erratas for CentOS + DEB OS families ? The scripts from Steve Meier/Philicious and Robert Paschedag are pretty efficient but needs to be adapted and maintained. Possible to have a new repository attached to the Uyuni project with the erratas scripts ? Regards, Philippe. Philippe Bidault | Unix Engineer Getronics ________________________________ M. 34617301667 | E. Philippe.Bidault@Getronics.com | W. www.getronics.com Getronics CMC Service Desk Iberia S.L - VAT No:S.L.: B66686262. Registered Office - Getronics CMC Service Desk Iberia S.L, C/Rosselloi, Porcel, 21 planta 11, 08016 Barcelona, Spain. The information transmitted is intended only for use by the addressee and may contain confidential and/or privileged material. Any review, re-transmission, dissemination or other use of it, or the taking of any action in reliance upon this information by persons and/or entities other than the intended recipient is prohibited. If you received this in error, please inform the sender and/or addressee immediately and delete the material. Thank you. Legal disclaimer: http://www.getronics.com/legal/ From: Bidault, Philippe Sent: viernes, 7 de agosto de 2020 17:07 To: uyuni-users@opensuse.org Subject: Removal of Ubuntu erratas in Uyuni Hi all, I have noticed that the CVE ID were truncated, importing them from the philicious script (https://github.com/philicious/spacewalk-scripts/blob/master/errata-import.py) Truncated because of the regexp limitation "CVE = "(?P<cve>CVE-\d{4}-\d{4})". I have modified it to accept 5 digits ( CVE = "(?P<cve>CVE-\d{4}-\d{5} ), but to be able to import them again, I would need to remove all the erratas from the Ubuntu repositories. Is there an easy way to do it ? Regards, Philippe. [cid:M17520GetronicsConnectingPossibilitiesE-Sig425x204_e1803ca0-99a5-4a65-abd8-074c86bf11aa.png]<http://www.getronics.com/> <http://www.linkedin.com/company/2077785>[cid:LinkedIn_4aeb630a-f385-4f22-927e-31323d2554b8.png]<https://www.linkedin.com/company/2077785> [cid:Twitter_6c9cce61-b2e3-49d4-991c-e799d031f1ae.png] <https://twitter.com/Getronics> <http://twitter.com/Getronics> [cid:Youtube_5150f807-4ba8-46a3-bbbf-038ccfdc2793.png] <https://www.youtube.com/user/getronicsonline?feature=results_main> <http://www.youtube.com/user/getronicsonline?feature=results_main> sign-info <http://www.getronics.com/knowledge-share/news-and-events/ovum.php#sthash.cbKPq4wA.bnvveIrq.dpbs>

On 11/08/2020 16.52, Bidault, Philippe wrote:
@uyuni team: What is the plan regarding the management of the erratas for CentOS + DEB OS families ? The scripts from Steve Meier/Philicious and Robert Paschedag
are pretty efficient but needs to be adapted and maintained. Possible to have a new repository attached to the Uyuni project with the erratas scripts ?
Speaking from the SUSE development team's perspective: - CentOS: we have recently contributed patches to Steve's scripts and we are now putting the finishing touches to have the latest version play well with Uyuni. There is currently no plan to make those scripts directly part of Uyuni as of today, but (as with anything else) that might change on customer and community input - Ubuntu: we want to research some viable a solution, but there is no timeline yet Pau might be able to add some more comments here. Regards, -- Silvio Moioli SUSE Manager Development Team -- To unsubscribe, e-mail: uyuni-users+unsubscribe@opensuse.org To contact the owner, e-mail: uyuni-users+owner@opensuse.org
participants (2)
-
Bidault, Philippe
-
Silvio Moioli