Bug 34589 - Conflicting slurm libraries after security updates
Summary: Conflicting slurm libraries after security updates
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 9
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: MGA9-64-OK
Keywords: advisory, validated_update
Depends on:
Blocks:
 
Reported: 2025-08-27 14:39 CEST by Chris Denice
Modified: 2025-09-02 17:17 CEST (History)
4 users (show)

See Also:
Source RPM: slurm-23.11.11-1.mga9
CVE:
Status comment:


Attachments

Description Chris Denice 2025-08-27 14:39:04 CEST
This update of slurm:

https://bugs.mageia.org/show_bug.cgi?id=34453

triggered a change of major of the associated library libslurm.so, from 39 to 40. Due to a packaging bug, slurm binary is missing a Requires to the library package matching the same version.

As such, an user upgrading slurm is allowed to install the new binary without an upgrade of the library.

Most probably QA-tests were made without a previous version of slurm installed and the bug has not been spotted.

A fix is coming, adding a Requires and an Obsoletes to the old lib.


Assigning the bug to myself of course.
Comment 1 Chris Denice 2025-08-28 09:21:23 CEST
slurm-23.11.11-1.2 landing on updates_testing for mga9

For QA-tester, a minimal check is that during the install of "slurm" you see the install of lib(64)slurm40 triggered.

In order to maximize possible errors, I would recommend that, before the testing of this package, you do:

1) urpmi slurm
Here you get a choice of the library (this should not occur but that is precisely related to the bug).

"In order to satisfy the 'libslurmfull.so()(64bit)' dependency, one of the following packages is needed:
 1- lib64slurm40-23.11.11-1.mga9.x86_64: Shared libraries for Slurm (to install)
 2- lib64slurm39-23.02.3-1.mga9.x86_64: Shared libraries for Slurm (to install)"

Choose the wrong one, option 2 (lib64slurm39).

2) Confirm that this choice leads to a non-working slurm by entering "sinfo --version" on the command line. You should get a message like this:
"sinfo: Symbol `slurm_conf' has different size in shared object, consider re-linking"

3) Switch on updates_testing repository to allow for the current package to be installed, update the database and do "urpmi slurm" or "urpmi --auto-update".
You should observe the new version of slurm to be installed, together with the lib64slurm40 package as well as the removal of the lib64slurm39 package.

4) Check that "sinfo --version" is now working


Advisory:
========================

Updated slurm package to fix a packaging issue allowing for conflicting libraries to be installed.

========================

Updated packages in core/updates_testing:
========================

slurm-23.11.11-1.2.mga9
lib64slurm-devel-23.11.11-1.2.mga9
lib64slurm40-23.11.11-1.2.mga9

from

slurm-23.11.11-1.2.mga9.src.rpm

Assignee: eatdirt => qa-bugs
CC: (none) => eatdirt

katnatek 2025-08-28 21:18:50 CEST

Keywords: (none) => advisory
Source RPM: slurm-23.11.11-1.mga9.src.rpm => slurm-23.11.11-1.mga9

Comment 2 katnatek 2025-08-29 04:08:46 CEST
The previous update not requires the updated library

LC_ALL=C urpmi slurm-23.02.3-1.mga9
In order to satisfy the 'libslurmfull.so' dependency, one of the following packages is needed:
 1- libslurm40-23.11.11-1.mga9.i586: Shared libraries for Slurm (to install)
 2- libslurm39-23.02.3-1.mga9.i586: Shared libraries for Slurm (to install)
What is your choice? (1-2) 2
To satisfy dependencies, the following packages are going to be installed:
  Package                        Version      Release       Arch    
(medium "Core Release (distrib1)")
  libfreeipmi17                  1.6.10       2.mga9        i586    
  libhwloc15                     2.9.1        2.mga9        i586    
  libipmimonitoring6             1.6.10       2.mga9        i586    
  libslurm39                     23.02.3      1.mga9        i586    
  slurm                          23.02.3      1.mga9        i586    
25MB of additional disk space will be used.
6.5MB of packages will be retrieved.
Proceed with the installation of the 5 packages? (Y/n) y


    http://mirror.math.princeton.edu/pub/mageia/distrib/9/i586/media/core/release/libhwloc15-2.9.1-2.mga9.i586.rpm
    http://mirror.math.princeton.edu/pub/mageia/distrib/9/i586/media/core/release/libfreeipmi17-1.6.10-2.mga9.i586.rpm   
    http://mirror.math.princeton.edu/pub/mageia/distrib/9/i586/media/core/release/slurm-23.02.3-1.mga9.i586.rpm          
    http://mirror.math.princeton.edu/pub/mageia/distrib/9/i586/media/core/release/libipmimonitoring6-1.6.10-2.mga9.i586.rpm
    http://mirror.math.princeton.edu/pub/mageia/distrib/9/i586/media/core/release/libslurm39-23.02.3-1.mga9.i586.rpm     
installing libhwloc15-2.9.1-2.mga9.i586.rpm libfreeipmi17-1.6.10-2.mga9.i586.rpm slurm-23.02.3-1.mga9.i586.rpm libipmimonitoring6-1.6.10-2.mga9.i586.rpm libslurm39-23.02.3-1.mga9.i586.rpm from /var/cache/urpmi/rpms
Preparing...                     #######################################################################################
      1/5: libfreeipmi17         #######################################################################################
      2/5: libhwloc15            #######################################################################################
      3/5: libipmimonitoring6    #######################################################################################
      4/5: libslurm39            #######################################################################################
      5/5: slurm                 #######################################################################################

LC_ALL=C urpmi --auto --auto-update

    http://mirror.math.princeton.edu/pub/mageia/distrib/9/i586/media/core/updates/slurm-23.11.11-1.mga9.i586.rpm
installing slurm-23.11.11-1.mga9.i586.rpm from /var/cache/urpmi/rpms                                                     
Preparing...                     #######################################################################################
      1/1: slurm                 #######################################################################################
      1/1: removing slurm-23.02.3-1.mga9.i586
                                 #######################################################################################

With the updated packages the old library is replaced

LC_ALL=C urpmi --auto --auto-update


installing slurm-23.11.11-1.2.mga9.i586.rpm libslurm40-23.11.11-1.2.mga9.i586.rpm from //home/katnatek/qa-testing/i586
Preparing...                     #######################################################################################
      1/2: libslurm40            #######################################################################################
      2/2: slurm                 #######################################################################################
      1/2: removing slurm-23.11.11-1.mga9.i586
                                 #######################################################################################
removing package libslurm39-23.02.3-1.mga9.i586
      2/2: removing libslurm39-23.02.3-1.mga9.i586
                                 #######################################################################################

I let additional test to others
Comment 3 Herman Viaene 2025-09-01 15:14:48 CEST
MGA9-64 server Plasma Wayland on Compaq H000SB
No installation issues.
Ref bug 34453
# systemctl start slurmctld
# systemctl -l status slurmctld
● slurmctld.service - Slurm controller daemon
     Loaded: loaded (/usr/lib/systemd/system/slurmctld.service; disabled; preset: disabled)
     Active: active (running) since Mon 2025-09-01 15:08:35 CEST; 40s ago
    Process: 41653 ExecStart=/usr/sbin/slurmctld $SLURMCTLD_OPTIONS (code=exited, status=0/SUCCESS)
   Main PID: 41655 (slurmctld)
      Tasks: 14
     Memory: 2.3M
        CPU: 820ms
     CGroup: /system.slice/slurmctld.service
             ├─41655 /usr/sbin/slurmctld
             └─41656 "slurmctld: slurmscriptd"

Sep 01 15:08:35 mach3.hviaene.thuis slurmctld[41655]: No memory enforcing mechanism configured.
Sep 01 15:08:35 mach3.hviaene.thuis systemd[1]: Started slurmctld.service.
Sep 01 15:08:35 mach3.hviaene.thuis slurmctld[41655]: Recovered state of 1 nodes
Sep 01 15:08:35 mach3.hviaene.thuis slurmctld[41655]: Recovered information about 0 jobs
Sep 01 15:08:35 mach3.hviaene.thuis slurmctld[41655]: select/cons_tres: part_data_create_array: select/cons_tres: preparing for 1 partitions
Sep 01 15:08:35 mach3.hviaene.thuis slurmctld[41655]: Recovered state of 0 reservations
Sep 01 15:08:35 mach3.hviaene.thuis slurmctld[41655]: read_slurm_conf: backup_controller not specified
Sep 01 15:08:35 mach3.hviaene.thuis slurmctld[41655]: select/cons_tres: select_p_reconfigure: select/cons_tres: reconfigure
Sep 01 15:08:35 mach3.hviaene.thuis slurmctld[41655]: select/cons_tres: part_data_create_array: select/cons_tres: preparing for 1 partitions
Sep 01 15:08:35 mach3.hviaene.thuis slurmctld[41655]: Running as primary controller

$ sinfo
PARTITION AVAIL  TIMELIMIT  NODES  STATE NODELIST
debug*       up   infinite      1   idle localhost

sview also gives expected gui window.
So OK for me.

Whiteboard: (none) => MGA9-64-OK
CC: (none) => herman.viaene

Comment 4 Thomas Andrews 2025-09-02 15:48:30 CEST
Validating.

Keywords: (none) => validated_update
CC: (none) => andrewsfarm, sysadmin-bugs

Comment 5 Chris Denice 2025-09-02 16:07:50 CEST
Thank you!
Comment 6 Mageia Robot 2025-09-02 17:17:27 CEST
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGAA-2025-0080.html

Status: NEW => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.