View Issue Details

IDProjectCategoryView StatusLast Update
0000656AlmaLinux-10Generalpublic2026-07-27 11:25
Reportermbartosik Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Summary0000656: ELevate-NG 9→10: PES Split event (id 20203) removes samba/sssd stack — discards available AlmaLinux 10 samba-common-libs
DescriptionUpgrading AlmaLinux 9.8 → 10 with ELevate-NG on an x86_64_v2 host. leapp drops the samba/sssd stack during the upgrade. The trigger is a Package Evolution (PES) Split event that makes leapp discard samba-common-libs — even though AlmaLinux 10 does ship it — and everything that depends on it cascades out.

Environment

- Source: AlmaLinux 9.8, target AlmaLinux 10.2 (x86_64_v2)
- ELevate-NG repo: https://repo.almalinux.org/elevate/testing/elevate-ng-el9.repo
- leapp-upgrade-el9toel10 0.24.0, leapp-data-almalinux-x86_64_v2-0.13-6.el9.20260622

Symptom — verified by rpm -qa before/after a real upgrade. These are removed with no replacement:

samba-common-libs
samba-client-libs
samba-common
cifs-utils
sssd
sssd-ad
sssd-ipa
sssd-common-pac

Root cause

pes-events.json has an action: 4 (Split):

samba-common-libs → samba-core-libs + samb

The leapp log confirms it applies this:

Applying event 20203 (SPLIT): replacing samba-common-libs with samba-core-libs, samba-ndr-libs

Because of that event, leapp treats samba-common-libs as replaced and excludes it from the target set. But:

1. samba-core-libs / samba-ndr-libs don't exist in AlmaLinux 10 — so nothing replaces it, and
2. samba-common-libs itself does exist in AlmaLinux 10 and is perfectly installable:

# AlmaLinux 10.2 BaseOS (x86_64_v2)
samba-common-libs 4.23.5-107.el10_2 # present (also -109)
samba-core-libs → not found
samba-ndr-libs → not found

So leapp discards an available package for nonexistent successors. On el10, samba-common-libs is a hard dependof much of the stack, so the exclusion cas

samba-common-libs ← excluded by the split (root cause)
  ↑ Requires
samba-client-libs → removed
  ↑ Requires
sssd-ad, sssd-ipa → removed
cifs-utils (via libwbclient → samba-client-libs) → removed samba-common, sssd, sssd-common-pac → remo
                                                                                                              Why the event exists: the split is real upStream 10 with samba 4.24.3(samba-core-libs/samba-ndr-libs 4.24.3-100.el10). But AlmaLinux 10.2 still ships pre-split samba 4.23.5, so the Stream-derived PES event fires against a target that hasn't made the split.

Question: what's the recommended handling? It seems the samba Split event should be gated/held in leapp-data-almalinux until AlmaLinux 10 actually ships the split (samba 4.24.3+), so leapp keeps the existing samba-common-libs instead of dropping it. ake a Split event conditional on the targetpackage actually being present?
Steps To Reproduce# 1. AlmaLinux 9.x host with the samba/sssd stack installed
# (sssd-ad / sssd-ipa are what pull in samba-client-libs)
dnf install -y sssd-ad sssd-ipa cifs-utils samba-common

# 2. Add the ELevate-NG repo
curl -fsS -o /etc/yum.repos.d/elevate-ng.repo \
  https://repo.almalinux.org/elevate/testing/elevate-ng-el9.repo

# 3. Install the NG el9->el10 tooling + target data
# (x86_64_v2 shown; on a v3 CPU use leapp-data-almalinux instead)
dnf install -y --allowerasing leapp-upgrade leapp-data-almalinux-x86_64_v2

# 4. (x86_64_v2 only) stage the prebuilt v2 target userspace
mkdir -p /etc/leapp/files/rootfs && cd /etc/leapp/files/rootfs
curl -LJO https://github.com/AlmaLinux/container-images/raw/refs/heads/10/default/amd64_v2/almalinux-10-default-amd64_v2.tar.xz

# 5. Run the upgrade
leapp preupgrade
leapp upgrade
reboot

# 6. After it lands on AlmaLinux 10, check the stack:
rpm -q samba-common-libs samba-client-libs samba-common cifs-utils \
       sssd sssd-ad sssd-ipa sssd-common-pac
# -> all report "not installed"

Expected: the samba/sssd stack is upgraded to el10 (AlmaLinux 10 ships all of these).
Actual: all of the above are removed.

Tags"leapp upgrade", elevate

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2026-07-27 11:21 mbartosik New Issue
2026-07-27 11:21 mbartosik Tag Attached: "leapp upgrade"
2026-07-27 11:21 mbartosik Tag Attached: elevate