sync/merge krb5

Bug #1959101 reported by Andreas Hasenack
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
krb5 (Ubuntu)
Fix Released
Undecided
Andreas Hasenack

Bug Description

We went ahead of debian because of openssl3:
krb5 (1.19.2-0ubuntu1) jammy; urgency=medium

  [ Sam Hartman ]
  * New Upstream version
  * Depend on tex-gyre, Closes: #997407

  [Simon Chopin]
  * d/p/0012-Fix-softpkcs11-build-issues-with-openssl-3.0.patch:
    Cherry-picked from upstream master to fix OpenSSL3 build.
    Closes: #995152, LP: #1945795

 -- Simon Chopin <email address hidden> Tue, 30 Nov 2021 10:54:17 +0100

Debian unstable still has 1.18.3-7, but experimental got 1.19.2-1:
krb5 (1.19.2-1) experimental; urgency=medium

  * New Upstream version
  * Include patch to work with OpenSSL 3.0, Closes: #995152
  * Depend on tex-gyre, Closes: #997407

 -- Sam Hartman <email address hidden> Wed, 27 Oct 2021 14:04:42 -0600

Since we are already at 1.19.2, we might as well merge/sync with experimental.

Tags: needs-merge
Changed in krb5 (Ubuntu):
milestone: none → ubuntu-22.01
Changed in krb5 (Ubuntu):
assignee: nobody → Andreas Hasenack (ahasenack)
milestone: ubuntu-22.01 → ubuntu-22.02
Revision history for this message
Andreas Hasenack (ahasenack) wrote :

This can indeed be a sync, the only change wrt ubuntu is the openssl3 patch was renamed:

--- krb5-1.19.2-ubuntu/debian/patches/series 2021-11-30 06:54:14.000000000 -0300
+++ krb5-1.19.2-debian/debian/patches/series 2021-10-27 17:04:42.000000000 -0300
@@ -8,4 +8,4 @@
 debian-local/0008-Use-isystem-for-include-paths.patch
 0009-Add-.gitignore.patch
 0011-Fix-KDC-null-deref-on-TGS-inner-body-null-server.patch
-0012-Fix-softpkcs11-build-issues-with-openssl-3.0.patch
+0011-Fix-softpkcs11-build-issues-with-openssl-3.0.patch

Contents are "the same":
$ diff -u krb5-1.19.2-ubuntu/debian/patches/0012-Fix-softpkcs11-build-issues-with-openssl-3.0.patch krb5-1.19.2-debian/debian/patches/0011-Fix-softpkcs11-build-issues-with-openssl-3.0.patch
--- krb5-1.19.2-ubuntu/debian/patches/0012-Fix-softpkcs11-build-issues-with-openssl-3.0.patch 2021-11-30 06:54:17.000000000 -0300
+++ krb5-1.19.2-debian/debian/patches/0011-Fix-softpkcs11-build-issues-with-openssl-3.0.patch 2021-10-27 17:04:42.000000000 -0300
@@ -1,7 +1,6 @@
-From 7c1bf1c800ef9837179d78fab95a2103623558db Mon Sep 17 00:00:00 2001
 From: Robbie Harwood <email address hidden>
 Date: Sat, 15 May 2021 17:35:25 -0400
-Subject: [PATCH] Fix softpkcs11 build issues with openssl 3.0
+Subject: Fix softpkcs11 build issues with openssl 3.0

 EVP_PKEY_get0_RSA() has been modified to have const return type. Remove
 its usages in favor of the EVP_PKEY interface. Also remove calls to
@@ -15,12 +14,14 @@
 Move several argument validation checks to the top of their functions.

 Fix some incorrect/inconsistent log messages.
+
+(cherry picked from commit 00de1aad7b3647b91017c7009b0bc65cd0c8b2e0)
 ---
- src/tests/softpkcs11/main.c | 290 +++++++++++++-----------------------
+ src/tests/softpkcs11/main.c | 290 ++++++++++++++++----------------------------
  1 file changed, 106 insertions(+), 184 deletions(-)

 diff --git a/src/tests/softpkcs11/main.c b/src/tests/softpkcs11/main.c
-index 1cccdfb43..caa537b68 100644
+index 1cccdfb..caa537b 100644
 --- a/src/tests/softpkcs11/main.c
 +++ b/src/tests/softpkcs11/main.c
 @@ -375,10 +375,9 @@ add_st_object(void)
@@ -522,6 +523,3 @@
  CK_FUNCTION_LIST funcs = {
      { 2, 11 },
      C_Initialize,
---
-2.32.0
-

Changed in krb5 (Ubuntu):
status: New → In Progress
Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Sync requested, I'll wait for the package to migrate before closing the bug.

Revision history for this message
Sergio Durigan Junior (sergiodj) wrote : Re: [Bug 1959101] Re: sync/merge krb5

On Wednesday, February 02 2022, Andreas Hasenack wrote:

> Sync requested, I'll wait for the package to migrate before closing the
> bug.

You can also invoke "syncpackage" using the "--bug" option, FWIW.

--
Sergio
GPG key ID: E92F D0B3 6B14 F1F4 D8E0 EB2F 106D A1C8 C3CB BF14

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

I did, and it asked me to wait for the sync to be complete before closing
the bug, this time I obeyed ;)

On Wed, Feb 2, 2022, 20:16 Sergio Durigan Junior <email address hidden>
wrote:

> On Wednesday, February 02 2022, Andreas Hasenack wrote:
>
> > Sync requested, I'll wait for the package to migrate before closing the
> > bug.
>
> You can also invoke "syncpackage" using the "--bug" option, FWIW.
>
> --
> Sergio
> GPG key ID: E92F D0B3 6B14 F1F4 D8E0 EB2F 106D A1C8 C3CB BF14
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1959101
>
> Title:
> sync/merge krb5
>
> Status in krb5 package in Ubuntu:
> In Progress
>
> Bug description:
> We went ahead of debian because of openssl3:
> krb5 (1.19.2-0ubuntu1) jammy; urgency=medium
>
> [ Sam Hartman ]
> * New Upstream version
> * Depend on tex-gyre, Closes: #997407
>
> [Simon Chopin]
> * d/p/0012-Fix-softpkcs11-build-issues-with-openssl-3.0.patch:
> Cherry-picked from upstream master to fix OpenSSL3 build.
> Closes: #995152, LP: #1945795
>
> -- Simon Chopin <email address hidden> Tue, 30 Nov 2021
> 10:54:17 +0100
>
> Debian unstable still has 1.18.3-7, but experimental got 1.19.2-1:
> krb5 (1.19.2-1) experimental; urgency=medium
>
> * New Upstream version
> * Include patch to work with OpenSSL 3.0, Closes: #995152
> * Depend on tex-gyre, Closes: #997407
>
> -- Sam Hartman <email address hidden> Wed, 27 Oct 2021 14:04:42 -0600
>
> Since we are already at 1.19.2, we might as well merge/sync with
> experimental.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/krb5/+bug/1959101/+subscriptions
>
> Launchpad-Notification-Type: bug
> Launchpad-Bug: distribution=ubuntu; sourcepackage=krb5; component=main;
> milestone=ubuntu-22.02; status=In Progress; importance=Undecided; assignee=
> <email address hidden>;
> Launchpad-Bug-Tags: needs-merge
> Launchpad-Bug-Information-Type: Public
> Launchpad-Bug-Private: no
> Launchpad-Bug-Security-Vulnerability: no
> Launchpad-Bug-Commenters: ahasenack sergiodj
> Launchpad-Bug-Reporter: Andreas Hasenack (ahasenack)
> Launchpad-Bug-Modifier: Sergio Durigan Junior (sergiodj)
> Launchpad-Message-Rationale: Subscriber
> Launchpad-Message-For: ahasenack
>
>

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

I struggled as well to use that syncpackage behavior right. The time you trigger the sync is often too far away from the actual migration to -release to happen. I happened to find my own way around (Not perfect, but a suggestion).

I call it with --bug and once it has built (but not yet migrated) I say "y". This adds the nice changelog style info to the bug. Then I go to the bug and set it back from "Fix Released" to "Fix Committed" saying that it is in -proposed but we wait for migration to be fully complete.

It is a useful update/info on the bug, but still needs someone to - potentially much - later close the bug for real.

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

It migrated, closing bug.

Changed in krb5 (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.