View Issue Details

IDProjectCategoryView StatusLast Update
0001428channel: elrepo/el9kmod-drbd90public2024-11-19 19:14
Reportertoracat Assigned Totoracat  
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Summary0001428: Cannot install kmod-drbd9x in the elrepo-testing repository
DescriptionOriginally reported by Strahil Nikolov:

From: Strahil Nikolov <hunter86_bg@yahoo.com>
To: "elrepo@lists.elrepo.org" <elrepo@lists.elrepo.org>
Date: Fri, 2 Feb 2024 10:05:30 +0000 (UTC)
Subject: drbd 9.2.6 - missing dependencies
Hello All,

Does anyone know where I can find the dependencies for the kmod-drbd9x-9.2.6-1.el9_2.elrepo.x86_64 from elrepo-testing ?
I want to test the encrypted DRBD replication.

Here is the output when I tried to update from stable to testing:

# yum update kmod-drbd9x drbd9x-utils --nobest

Updating Subscription Management repositories.
ELRepo.org Community Enterprise Linux Repository - el9 9.8 kB/s | 3.0 kB 00:00
ELRepo.org Community Enterprise Linux Testing Repository - el9 9.5 kB/s | 3.0 kB 00:00
ELRepo.org Community Enterprise Linux Kernel Repository - el9 9.9 kB/s | 3.0 kB 00:00

Dependencies resolved.

 Problem: cannot install the best update candidate for package kmod-drbd9x-9.1.18-2.el9_3.elrepo.x86_64

  - nothing provides ksym(tls_client_hello_x509) = 0xdc6e1a05 needed by kmod-drbd9x-9.2.6-1.el9_2.elrepo.x86_64 from elrepo-testing
  - nothing provides ksym(tls_handshake_cancel) = 0xd156d53d needed by kmod-drbd9x-9.2.6-1.el9_2.elrepo.x86_64 from elrepo-testing
  - nothing provides ksym(tls_server_hello_x509) = 0x7810b390 needed by kmod-drbd9x-9.2.6-1.el9_2.elrepo.x86_64 from elrepo-testing
============================================================================================================

 Package Architecture Version Repository Size

============================================================================================================
Installing:
 kernel x86_64 5.14.0-362.18.1.el9_3 rhel-9-for-x86_64-baseos-rpms 4.9 M
Upgrading:
 kmod-drbd9x x86_64 9.2.5-1.el9_2.elrepo elrepo-testing 383 k
Installing dependencies:
 kernel-core x86_64 5.14.0-284.25.1.el9_2 rhel-9-for-x86_64-baseos-rpms 17 M
 kernel-core x86_64 5.14.0-284.30.1.el9_2 rhel-9-for-x86_64-baseos-rpms 17 M
 kernel-modules x86_64 5.14.0-284.30.1.el9_2 rhel-9-for-x86_64-baseos-rpms 37 M
 kernel-modules x86_64 5.14.0-362.18.1.el9_3 rhel-9-for-x86_64-baseos-rpms 37 M
 kernel-modules-core x86_64 5.14.0-284.25.1.el9_2 rhel-9-for-x86_64-baseos-rpms 36 M
 kernel-modules-core x86_64 5.14.0-284.30.1.el9_2 rhel-9-for-x86_64-baseos-rpms 36 M
Removing:
kernel-core x86_64 5.14.0-70.30.1.el9_0 @rhel-9-for-x86_64-baseos-rpms 73 M
 kernel-core x86_64 5.14.0-362.13.1.el9_3 @rhel-9-for-x86_64-baseos-rpms 63 M
 kernel-modules-core x86_64 5.14.0-362.13.1.el9_3 @rhel-9-for-x86_64-baseos-rpms 26 M
Removing dependent packages:
 kernel x86_64 5.14.0-70.30.1.el9_0 @rhel-9-for-x86_64-baseos-rpms 0
 kernel x86_64 5.14.0-362.13.1.el9_3 @rhel-9-for-x86_64-baseos-rpms 0
 kernel-modules x86_64 5.14.0-70.30.1.el9_0 @rhel-9-for-x86_64-baseos-rpms 20 M
 kernel-modules x86_64 5.14.0-362.13.1.el9_3 @rhel-9-for-x86_64-baseos-rpms 31 M
Skipping packages with broken dependencies:
 kmod-drbd9x x86_64 9.2.6-1.el9_2.elrepo elrepo-testing 402 k

Transaction Summary
==============================================================================================================

Install 7 Packages
Upgrade 1 Package
Remove 7 Packages
Skip 1 Package

Total download size: 185 M
Is this ok [y/N]: N
Operation aborted.
TagsNo tags attached.

Relationships

related to 0001489 closedtoracat channel: elrepo/el8 Cannot install kmod-drbd90-9.2.12 in the elrepo-testing repository 

Activities

toracat

2024-02-07 13:34

administrator   ~0009555

On Feb 2, 2024:

I've just released 2 kmod-drbd9x packages to the elrepo-testing repository.

kmod-drbd9x-9.2.7-1.el9_3.elrepo.x86_64.rpm
kmod-drbd9x-9.2.7-2.el9_3.elrepo.x86_64.rpm

The first one was built against the EL9.3 GA kernel 5.14.0-362.8.1.el9_3.
The second one was built against the current kernel 5.14.0-362.18.1.el9_3.

toracat

2024-02-07 13:36

administrator   ~0009556

Strahil Nikolov answered:

It seems that those kernel symbols do not exist in the latest 9.3 kernel but I found them in the rhel9 beta kernel:

[root@jenkins1 tmp]# rpm -ql --provides kernel-core-5.14.0-412.el9.x86_64.rpm | grep -E 'tls_client_hello_x509|tls_handshake_cancel|tls_server_hello_x509'
kernel(tls_client_hello_x509) = 0xa03174d2
kernel(tls_handshake_cancel) = 0x25344133
kernel(tls_server_hello_x509) = 0x5edf8f92
[root@jenkins1 tmp]# rpm -qlR ./kmod-drbd9x-9.2.7-2.el9_3.elrepo.x86_64.rpm | grep -E 'tls_client_hello_x509|tls_handshake_cancel|tls_server_hello_x509'
ksym(tls_client_hello_x509) = 0x9f11203c
ksym(tls_handshake_cancel) = 0x0b03591d
ksym(tls_server_hello_x509) = 0xd9eb9e44

[root@jenkins1 ~]# yum update kmod-drbd9x-9.2.7-2.el9_3.elrepo.x86_64

Updating Subscription Management repositories.
Last metadata expiration check: 0:01:49 ago on Mon 05 Feb 2024 11:54:37 AM EET.

Error:

 Problem: cannot install the best update candidate for package kmod-drbd9x-9.1.18-2.el9_3.elrepo.x86_64
  - nothing provides ksym(tls_client_hello_x509) = 0x9f11203c needed by kmod-drbd9x-9.2.7-2.el9_3.elrepo.x86_64 from elrepo-testing
  - nothing provides ksym(tls_handshake_cancel) = 0x0b03591d needed by kmod-drbd9x-9.2.7-2.el9_3.elrepo.x86_64 from elrepo-testing
  - nothing provides ksym(tls_server_hello_x509) = 0xd9eb9e44 needed by kmod-drbd9x-9.2.7-2.el9_3.elrepo.x86_64 from elrepo-testing

(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

[root@jenkins1 ~]# uname -r
5.14.0-362.18.1.el9_3.x86_64

[root@jenkins1 ~]# rpm -q ktls-utils
ktls-utils-0.10-1.el9.x86_64

toracat

2024-02-07 13:40

administrator   ~0009557

As Strahil noted, those missing kernel symbols are in the current CentOS Stream 9 kernel. Therefore, EL9.4 kernels are likely to have them as well.

toracat

2024-02-07 13:50

administrator   ~0009558

The testing below indicates that the problematic kernel symbols were added to kmod-drbd9x-9.2.6. Therefore a workaround will be to stay with drbd version 9.2.5 until the missing kernel symbols appear in the distro kernel (el9.4 ?).

$ rpm -qlR kmod-drbd9x-9.2.2-1.el9_1.elrepo.x86_64.rpm | grep -E 'tls_client_hello_x509|tls_handshake_cancel|tls_server_hello_x509'
$
$ rpm -qlR kmod-drbd9x-9.2.3-1.el9_1.elrepo.x86_64.rpm | grep -E 'tls_client_hello_x509|tls_handshake_cancel|tls_server_hello_x509'
$
$ rpm -qlR kmod-drbd9x-9.2.5-1.el9_2.elrepo.x86_64.rpm | grep -E 'tls_client_hello_x509|tls_handshake_cancel|tls_server_hello_x509'
$
$ rpm -qlR kmod-drbd9x-9.2.6-1.el9_2.elrepo.x86_64.rpm | grep -E 'tls_client_hello_x509|tls_handshake_cancel|tls_server_hello_x509'
ksym(tls_client_hello_x509) = 0xdc6e1a05 <=== net/sunrpc/xprtsock.c (added to linux 6.7.1)
ksym(tls_handshake_cancel) = 0xd156d53d <=== net/sunrpc/xprtsock.c (added to linux 6.5.1)
ksym(tls_server_hello_x509) = 0x7810b390

$ rpm -qlR kmod-drbd9x-9.2.7-2.el9_3.elrepo.x86_64.rpm | grep -E 'tls_client_hello_x509|tls_handshake_cancel|tls_server_hello_x509'
ksym(tls_client_hello_x509) = 0x9f11203c
ksym(tls_handshake_cancel) = 0x0b03591d
ksym(tls_server_hello_x509) = 0xd9eb9e44

toracat

2024-02-07 17:27

administrator   ~0009559

I've released 2 kmod-drbd9x packages to the elrepo-testing repository.

kmod-drbd9x-9.2.5-2.el9_3.elrepo.x86_64.rpm
kmod-drbd9x-9.2.5-3.el9_3.elrepo.x86_64.rpm

The first one was built against the EL9.3 GA kernel 5.14.0-362.8.1.el9_3.
The second one was built against the current kernel 5.14.0-362.18.1.el9_3. This one is not backward-compatible.

toracat

2024-04-04 14:08

administrator   ~0009657

RHEL 9.4 beta is out. The kernel is 5.14.0-427.el9. It does indeed have the symbols referenced earlier.

$ rpm -ql --provides kernel-core-5.14.0-427.el9.x86_64.rpm | grep -E 'tls_client_hello_x509|tls_handshake_cancel|tls_server_hello_x509'
kernel(tls_client_hello_x509) = 0x740a2bb0
kernel(tls_handshake_cancel) = 0x0cd2cfe3
kernel(tls_server_hello_x509) = 0x82a24a31

Once the 9.4 GA is out, we can update our kmod-drbd9x package.

toracat

2024-05-02 19:10

administrator   ~0009721

Last edited: 2024-05-04 15:35

RHEL 9.4 is out.

As expected, kmod-drbd9x newer than 9.2.5 builds ok under EL9.4. The following package has been released to the elrepo-testing repository:

kmod-drbd9x-9.2.8-1.el9_4.elrepo.x86_64.rpm

Issue History

Date Modified Username Field Change
2024-02-07 13:31 toracat New Issue
2024-02-07 13:31 toracat Status new => assigned
2024-02-07 13:31 toracat Assigned To => toracat
2024-02-07 13:32 toracat Description Updated
2024-02-07 13:34 toracat Note Added: 0009555
2024-02-07 13:36 toracat Note Added: 0009556
2024-02-07 13:40 toracat Note Added: 0009557
2024-02-07 13:50 toracat Note Added: 0009558
2024-02-07 17:27 toracat Note Added: 0009559
2024-04-04 14:08 toracat Note Added: 0009657
2024-05-02 19:10 toracat Note Added: 0009721
2024-05-04 15:35 toracat Note Edited: 0009721
2024-05-16 12:58 toracat Status assigned => resolved
2024-05-16 12:58 toracat Resolution open => fixed
2024-11-19 19:14 toracat Relationship added related to 0001489