Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1153924 > unrolled thread

Bug#1040924: clevis-udisks2: Depends on NBS libblockdev-crypto2

Started byChristoph Biedl <debian.axhn@manchmal.in-ulm.de>
First post2023-07-12 19:30 +0200
Last post2023-07-17 23:30 +0200
Articles 4 — 2 participants

Back to article view | Back to linux.debian.bugs.dist

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Bug#1040924: clevis-udisks2: Depends on NBS libblockdev-crypto2 Christoph Biedl <debian.axhn@manchmal.in-ulm.de> - 2023-07-12 19:30 +0200
    Bug#1040924: clevis-udisks2: Depends on NBS libblockdev-crypto2 Michael Biebl <biebl@debian.org> - 2023-07-17 13:20 +0200
      Bug#1040924: clevis-udisks2: Depends on NBS libblockdev-crypto2 Michael Biebl <biebl@debian.org> - 2023-07-17 13:30 +0200
        Bug#1040924: clevis-udisks2: Depends on NBS libblockdev-crypto2 Christoph Biedl <debian.axhn@manchmal.in-ulm.de> - 2023-07-17 23:30 +0200

#1153924 — Bug#1040924: clevis-udisks2: Depends on NBS libblockdev-crypto2

FromChristoph Biedl <debian.axhn@manchmal.in-ulm.de>
Date2023-07-12 19:30 +0200
SubjectBug#1040924: clevis-udisks2: Depends on NBS libblockdev-crypto2
Message-ID<GQLP3-e3q-1@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

Control: tags 1040924 moreinfo

Jeremy Bícha wrote...

> clevis-udisks2 depends on libblockdev-crypto2 which is no longer built
> by libblockdev in Unstable. Please update the manual dependency to
> libblockdev-crypto3

I fail to understand what is happening here. Is this supposed to be a
transition? Then it didn't quite follow the procedure as outlined in
https://wiki.debian.org/Teams/ReleaseTeam/Transitions

    Christoph

[toc] | [next] | [standalone]


#1154596

FromMichael Biebl <biebl@debian.org>
Date2023-07-17 13:20 +0200
Message-ID<GSuqJ-Qy2-5@gated-at.bofh.it>
In reply to#1153924

[Multipart message — attachments visible in raw view] — view raw

On Thu, 13 Jul 2023 07:59:45 +0200 Christoph Biedl 
<debian.axhn@manchmal.in-ulm.de> wrote:
> Control: Tags 1040924 +pending
> 
> Jeremy Bícha wrote...
> 
> > Yes, it's a transition. Sorry that it didn't follow the recommended procedure.
> 
> Thanks for the clarification. New version is underway, I'd like to do
> some thourough testing, though.
> 

libblockdev plugins did have a soname bump (2→3), and I indeed missed 
clevis (sorry for that), otherwise I would have filed a bug report in 
advance.

Just a side-note:
Due to the way udisks 2.10 treats missing libraries, libblockdev-crypto3 
is now a hard dependency of udisks2. See [1] for further information.

So, instead of changing the dependency from libblockdev-crypto2 to 
libblockdev-crypto3, you might consider dropping the dependency 
altogether, as clevis-udisks2 already depends on udisks2 and 
clevis-crypto2 doesn't actually use libblockdev-crypto directly.


Michael



[1] https://github.com/storaged-project/udisks/issues/1142

[toc] | [prev] | [next] | [standalone]


#1154599

FromMichael Biebl <biebl@debian.org>
Date2023-07-17 13:30 +0200
Message-ID<GSuAp-QC5-5@gated-at.bofh.it>
In reply to#1154596

[Multipart message — attachments visible in raw view] — view raw

Am 17.07.23 um 13:07 schrieb Michael Biebl:
> So, instead of changing the dependency from libblockdev-crypto2 to 
> libblockdev-crypto3, you might consider dropping the dependency 
> altogether, as clevis-udisks2 already depends on udisks2 and 
> clevis-crypto2 doesn't actually use libblockdev-crypto directly.
> 

If (bookworm-) backports are a concern, you might also use something 
like this


diff --git a/debian/control b/debian/control
index c33360c..e542b2a 100644
--- a/debian/control
+++ b/debian/control
@@ -107,7 +107,7 @@ Architecture: linux-any
  Depends: ${misc:Depends}, ${shlibs:Depends},
      adduser,
      clevis-luks (= ${binary:Version}),
-    libblockdev-crypto2,
+    udisks2 (>= 2.10) | libblockdev-crypto2,
      udisks2,
  Description: UDisks2/Storaged integration for clevis
   Clevis is a plugable framework for automated decryption. This package



This is what cockpit-storaged has done.

Regards,
Michael

[toc] | [prev] | [next] | [standalone]


#1154691

FromChristoph Biedl <debian.axhn@manchmal.in-ulm.de>
Date2023-07-17 23:30 +0200
Message-ID<GSDX3-Wka-3@gated-at.bofh.it>
In reply to#1154599

[Multipart message — attachments visible in raw view] — view raw

Michael Biebl wrote...

> If (bookworm-) backports are a concern, you might also use something like
> this
> 
> -    libblockdev-crypto2,
> +    udisks2 (>= 2.10) | libblockdev-crypto2,

Thanks for the suggestion, will adjust the still-not-yet-happened upload.

    Christoph

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.bugs.dist


csiph-web