Bug 32920 - Revert openafs to 1.8.11 for kernel 6.6 and above
Summary: Revert openafs to 1.8.11 for kernel 6.6 and above
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: 32813
  Show dependency treegraph
 
Reported: 2024-03-01 10:46 CET by Nicolas Salguero
Modified: 2024-03-28 04:54 CET (History)
2 users (show)

See Also:
Source RPM: openafs-1.9.1-2.mga9.src.rpm
CVE:
Status comment:


Attachments

Description Nicolas Salguero 2024-03-01 10:46:04 CET
version 1.9.1 is the latest one of the development series but is older than version 1.8.11pre1, which is in the stable series and seems to support kernel 6.6+.

I think we need to wait for version 1.8.11 and not the "pre1" one.
Nicolas Salguero 2024-03-01 10:46:57 CET

Assignee: bugsquad => nicolas.salguero
Blocks: (none) => 32813
Source RPM: (none) => openafs-1.9.1-2.mga9.src.rpm
Version: 9 => Cauldron
Whiteboard: (none) => MGA9TOO

Comment 1 Nicolas Salguero 2024-03-26 10:19:42 CET
Suggested advisory:
========================

The openafs package has been updated to version 1.8.11, with full support for the 6.6 series Linux kernels, bug fixes, and other enhancements.  See the upstream announcement for details.

References:
https://www.openafs.org/dl/openafs/1.8.11/RELNOTES-1.8.11
========================

Updated packages in core/updates_testing:
========================
dkms-libafs-1.8.11-1.mga9
lib(64)openafs2-1.8.11-1.mga9
lib(64)openafs-devel-1.8.11-1.mga9
lib(64)openafs-static-devel-1.8.11-1.mga9
openafs-1.8.11-1.mga9
openafs-client-1.8.11-1.mga9
openafs-doc-1.8.11-1.mga9
openafs-server-1.8.11-1.mga9

from SRPM:
openafs-1.8.11-1.mga9.src.rpm

Whiteboard: MGA9TOO => (none)
Status: NEW => ASSIGNED
Version: Cauldron => 9
Assignee: nicolas.salguero => qa-bugs

katnatek 2024-03-26 17:32:02 CET

Keywords: (none) => advisory

katnatek 2024-03-27 01:36:51 CET

Assignee: qa-bugs => nicolas.salguero

Comment 2 katnatek 2024-03-27 01:39:34 CET
Sorry Nicolas the packages not update well

LC_ALL=C urpmi --auto --auto-update 
medium "QA Testing (32-bit)" is up-to-date
medium "QA Testing (64-bit)" is up-to-date
medium "Core Release (distrib1)" is up-to-date
medium "Core Updates (distrib3)" is up-to-date
medium "Nonfree Release (distrib11)" is up-to-date
medium "Nonfree Updates (distrib13)" is up-to-date
medium "Tainted Release (distrib21)" is up-to-date
medium "Tainted Updates (distrib23)" is up-to-date
medium "Core 32bit Release (distrib31)" is up-to-date
medium "Core 32bit Updates (distrib32)" is up-to-date
medium "Nonfree 32bit Release (distrib36)" is up-to-date
medium "Tainted 32bit Release (distrib41)" is up-to-date
medium "Tainted 32bit Updates (distrib42)" is up-to-date
Some requested packages cannot be installed:
lib64openafs-devel-1.8.11-1.mga9.x86_64 (due to unsatisfied lib64openafs2[== 1.8.11-1.mga9])
lib64openafs-static-devel-1.8.11-1.mga9.x86_64 (due to unsatisfied lib64openafs2[== 1.8.11-1.mga9])
openafs-client-1.8.11-1.mga9.x86_64 (due to unsatisfied openafs[== 1.8.11])
openafs-server-1.8.11-1.mga9.x86_64 (due to unsatisfied openafs-client[== 1.8.11])
The following packages have to be removed for others to be upgraded:
lib64openafs-devel-1.9.1-2.mga9.x86_64
 (due to unsatisfied lib64openafs2 == 1.9.1-2.mga9)
lib64openafs-static-devel-1.9.1-2.mga9.x86_64
 (due to unsatisfied lib64openafs2 == 1.9.1-2.mga9)
openafs-client-1.9.1-2.mga9.x86_64
 (due to unsatisfied openafs == 1.9.1)
openafs-server-1.9.1-2.mga9.x86_64
 (due to unsatisfied openafs-client == 1.9.1)


installing lib64openafs2-1.8.11-1.mga9.x86_64.rpm openafs-1.8.11-1.mga9.x86_64.rpm dkms-libafs-1.8.11-1.mga9.noarch.rpm from //home/katnatek/qa-testing/x86_64
Preparing...                     ##################################################################################################
      1/3: dkms-libafs           ##################################################################################################

Creating symlink /var/lib/dkms/libafs/1.8.11-1.mga9/source ->
                 /usr/src/libafs-1.8.11-1.mga9

DKMS: add Completed.

Preparing kernel 6.6.22-desktop-1.mga9 for module build:
(This is not compiling a kernel, just preparing kernel symbols)
/sbin/dkms: line 939: warning: command substitution: ignored null byte in input
Storing current .config to be restored when complete
Running Generic preparation routine
make mrproper....
using /proc/config.gz
make oldconfig....
make prepare....

Building module:
cleaning build area....(bad exit status: 2)
SMP=SP; eval `grep CONFIG_SMP /boot/config-6.6.22-desktop-1.mga9`; [ -n "$CONFIG_SMP" ] && SMP=MP; ./configure --with-linux-kernel-headers=/lib/modules/6.6.22-desktop-1.mga9/build; make -j4 MPS=$SMP; mv src/libafs/MODLOAD-*/libafs.ko ............................................................................................................................................................
cleaning build area....
cleaning kernel tree (make mrproper)....

DKMS: build Completed.

libafs.ko.xz:
 - Installation
   - Installing to /lib/modules/6.6.22-desktop-1.mga9/dkms/3rdparty/libafs//

depmod........

DKMS: install Completed.
      2/3: lib64openafs2         ##################################################################################################
      3/3: openafs               ##################################################################################################
removing package lib64openafs-static-devel-1.9.1-2.mga9.x86_64
      1/7: removing lib64openafs-static-devel-1.9.1-2.mga9.x86_64
                                 ##################################################################################################
removing package lib64openafs-devel-1.9.1-2.mga9.x86_64
      2/7: removing lib64openafs-devel-1.9.1-2.mga9.x86_64
                                 ##################################################################################################
removing package openafs-server-1.9.1-2.mga9.x86_64
      3/7: removing openafs-server-1.9.1-2.mga9.x86_64
                                 ##################################################################################################
removing package openafs-client-1.9.1-2.mga9.x86_64
      4/7: removing openafs-client-1.9.1-2.mga9.x86_64
                                 ##################################################################################################
      5/7: removing openafs-1.9.1-2.mga9.x86_64
                                 ##################################################################################################

------------------------------
Deleting module version: 1.9.1-2.mga9
completely from the DKMS tree.
------------------------------
Done.
      6/7: removing dkms-libafs-1.9.1-2.mga9.noarch
                                 ##################################################################################################
      7/7: removing lib64openafs2-1.9.1-2.mga9.x86_64
                                 ##################################################################################################
While some packages may have been installed, there were failures.
Some requested packages cannot be installed:
lib64openafs-devel-1.8.11-1.mga9.x86_64 (due to unsatisfied lib64openafs2[== 1.8.11-1.mga9])
lib64openafs-static-devel-1.8.11-1.mga9.x86_64 (due to unsatisfied lib64openafs2[== 1.8.11-1.mga9])
openafs-client-1.8.11-1.mga9.x86_64 (due to unsatisfied openafs[== 1.8.11])
openafs-server-1.8.11-1.mga9.x86_64 (due to unsatisfied openafs-client[== 1.8.11])


I think is a provides/requires issue

LC_ALL=C urpmq --provides qa-testing/x86_64/lib64openafs2-1.8.11-1.mga9.x86_64.rpm 
lib64openafs2[== 1:1.8.11-1.mga9]
lib64openafs2(x86-64)[== 1:1.8.11-1.mga9]
libafsauthent.so.2()(64bit)
libafshcrypto.so.2()(64bit)
libafsrpc.so.2()(64bit)
libkopenafs.so.2()(64bit)
librokenafs.so.2()(64bit)
Comment 3 Nicolas Salguero 2024-03-27 10:22:21 CET
The problem seems to come from the fact that I had to add an epoch, in order to be able to upgrade from version 1.9.1 to version 1.8.11.  I hope the new version fixes that problem.

Updated packages in core/updates_testing:
========================
dkms-libafs-1.8.11-2.mga9
lib(64)openafs2-1.8.11-2.mga9
lib(64)openafs-devel-1.8.11-2.mga9
lib(64)openafs-static-devel-1.8.11-2.mga9
openafs-1.8.11-2.mga9
openafs-client-1.8.11-2.mga9
openafs-doc-1.8.11-2.mga9
openafs-server-1.8.11-2.mga9

from SRPM:
openafs-1.8.11-2.mga9.src.rpm

Assignee: nicolas.salguero => qa-bugs

Comment 4 katnatek 2024-03-27 21:47:18 CET
RH mageia 9 x86_64

LC_ALL=C urpmi dkms-libafs lib64openafs2 lib64openafs-devel lib64openafs-static-devel openafs openafs-client openafs-server
To satisfy dependencies, the following packages are going to be installed:
  Package                        Version      Release       Arch    
(medium "Core Release (distrib1)")
  dkms-libafs                    1.9.1        2.mga9        noarch  
  flex                           2.6.4        6.mga9        x86_64  
  lib64openafs-devel             1.9.1        2.mga9        x86_64  
  lib64openafs-static-devel      1.9.1        2.mga9        x86_64  
  lib64openafs2                  1.9.1        2.mga9        x86_64  
  openafs                        1.9.1        2.mga9        x86_64  
  openafs-client                 1.9.1        2.mga9        x86_64  
  openafs-server                 1.9.1        2.mga9        x86_64  
83MB of additional disk space will be used.
14MB of packages will be retrieved.
Proceed with the installation of the 8 packages? (Y/n) y


    https://mirror.math.princeton.edu/pub/mageia/distrib/9/x86_64/media/core/release/openafs-1.9.1-2.mga9.x86_64.rpm
    https://mirror.math.princeton.edu/pub/mageia/distrib/9/x86_64/media/core/release/openafs-client-1.9.1-2.mga9.x86_64.rpm         
    https://mirror.math.princeton.edu/pub/mageia/distrib/9/x86_64/media/core/release/dkms-libafs-1.9.1-2.mga9.noarch.rpm            
    https://mirror.math.princeton.edu/pub/mageia/distrib/9/x86_64/media/core/release/openafs-server-1.9.1-2.mga9.x86_64.rpm         
    https://mirror.math.princeton.edu/pub/mageia/distrib/9/x86_64/media/core/release/lib64openafs-devel-1.9.1-2.mga9.x86_64.rpm     
    https://mirror.math.princeton.edu/pub/mageia/distrib/9/x86_64/media/core/release/flex-2.6.4-6.mga9.x86_64.rpm                   
    https://mirror.math.princeton.edu/pub/mageia/distrib/9/x86_64/media/core/release/lib64openafs-static-devel-1.9.1-2.mga9.x86_64.rpm
    https://mirror.math.princeton.edu/pub/mageia/distrib/9/x86_64/media/core/release/lib64openafs2-1.9.1-2.mga9.x86_64.rpm          
installing lib64openafs2-1.9.1-2.mga9.x86_64.rpm lib64openafs-static-devel-1.9.1-2.mga9.x86_64.rpm flex-2.6.4-6.mga9.x86_64.rpm lib64openafs-devel-1.9.1-2.mga9.x86_64.rpm openafs-client-1.9.1-2.mga9.x86_64.rpm openafs-server-1.9.1-2.mga9.x86_64.rpm dkms-libafs-1.9.1-2.mga9.noarch.rpm openafs-1.9.1-2.mga9.x86_64.rpm from /var/cache/urpmi/rpms
Preparing...                     ##################################################################################################
      1/8: lib64openafs2         ##################################################################################################
      2/8: flex                  ##################################################################################################
      3/8: dkms-libafs           ##################################################################################################

Creating symlink /var/lib/dkms/libafs/1.9.1-2.mga9/source ->
                 /usr/src/libafs-1.9.1-2.mga9

DKMS: add Completed.

Preparing kernel 6.6.22-desktop-1.mga9 for module build:
(This is not compiling a kernel, just preparing kernel symbols)
Storing current .config to be restored when complete
Running Generic preparation routine
make mrproper....
using /proc/config.gz
make oldconfig....
make prepare....

Building module:
cleaning build area....(bad exit status: 2)
SMP=SP; eval `grep CONFIG_SMP /boot/config-6.6.22-desktop-1.mga9`; [ -n "$CONFIG_SMP" ] && SMP=MP; ./configure --with-linux-kernel-headers=/lib/modules/6.6.22-desktop-1.mga9/build; make -j4 MPS=$SMP; mv src/libafs/MODLOAD-*/libafs.ko ................................................................................................................................(bad exit status: 1)

Error! Bad return status for module build on kernel: 6.6.22-desktop-1.mga9 (x86_64)
Consult the make.log in the build directory
/var/lib/dkms/libafs/1.9.1-2.mga9/build/ for more information.

Error! Could not locate libafs.ko.xz for module libafs in the DKMS tree.
You must run a dkms build for kernel 6.6.22-desktop-1.mga9 (x86_64) first.
warning: %post(dkms-libafs-1.9.1-2.mga9.noarch) scriptlet failed, exit status 4
ERROR: 'script' failed for dkms-libafs-1.9.1-2.mga9.noarch
      4/8: openafs               ##################################################################################################
      5/8: openafs-client        ##################################################################################################
      6/8: openafs-server        ##################################################################################################
      7/8: lib64openafs-static-devel
                                 ##################################################################################################
      8/8: lib64openafs-devel    ##################################################################################################

LC_ALL=C urpmi --auto --auto-update 
medium "QA Testing (32-bit)" is up-to-date
medium "QA Testing (64-bit)" is up-to-date
medium "Core Release (distrib1)" is up-to-date
medium "Core Updates (distrib3)" is up-to-date
medium "Nonfree Release (distrib11)" is up-to-date
medium "Nonfree Updates (distrib13)" is up-to-date
medium "Tainted Release (distrib21)" is up-to-date
medium "Tainted Updates (distrib23)" is up-to-date
medium "Core 32bit Release (distrib31)" is up-to-date
medium "Core 32bit Updates (distrib32)" is up-to-date
medium "Nonfree 32bit Release (distrib36)" is up-to-date
medium "Tainted 32bit Release (distrib41)" is up-to-date
medium "Tainted 32bit Updates (distrib42)" is up-to-date
medium "BDK-Free-x86_64" is up-to-date
medium "BDK-Free-noarch" is up-to-date
medium "BDK-NonFree-x86_64" is up-to-date
medium "MLO_core (MLO1)" is up-to-date
medium "MLO_nonfree (MLO2)" is up-to-date
medium "MLO_tainted (MLO3)" is up-to-date


installing dkms-libafs-1.8.11-2.mga9.noarch.rpm lib64openafs-devel-1.8.11-2.mga9.x86_64.rpm lib64openafs-static-devel-1.8.11-2.mga9.x86_64.rpm lib64openafs2-1.8.11-2.mga9.x86_64.rpm openafs-1.8.11-2.mga9.x86_64.rpm openafs-server-1.8.11-2.mga9.x86_64.rpm openafs-client-1.8.11-2.mga9.x86_64.rpm from //home/katnatek/qa-testing/x86_64
Preparing...                     ##################################################################################################
      1/7: lib64openafs2         ##################################################################################################
      2/7: dkms-libafs           ##################################################################################################

Creating symlink /var/lib/dkms/libafs/1.8.11-2.mga9/source ->
                 /usr/src/libafs-1.8.11-2.mga9

DKMS: add Completed.

Preparing kernel 6.6.22-desktop-1.mga9 for module build:
(This is not compiling a kernel, just preparing kernel symbols)
/sbin/dkms: line 939: warning: command substitution: ignored null byte in input
Storing current .config to be restored when complete
Running Generic preparation routine
make mrproper....
using /proc/config.gz
make oldconfig....
make prepare....

Building module:
cleaning build area....(bad exit status: 2)
SMP=SP; eval `grep CONFIG_SMP /boot/config-6.6.22-desktop-1.mga9`; [ -n "$CONFIG_SMP" ] && SMP=MP; ./configure --with-linux-kernel-headers=/lib/modules/6.6.22-desktop-1.mga9/build; make -j4 MPS=$SMP; mv src/libafs/MODLOAD-*/libafs.ko .................................................................................................................................................................
cleaning build area....
cleaning kernel tree (make mrproper)....

DKMS: build Completed.

libafs.ko.xz:
 - Installation
   - Installing to /lib/modules/6.6.22-desktop-1.mga9/dkms/3rdparty/libafs//

depmod........

DKMS: install Completed.
      3/7: openafs               ##################################################################################################
      4/7: openafs-client        ##################################################################################################
      5/7: openafs-server        ##################################################################################################
      6/7: lib64openafs-devel    ##################################################################################################
      7/7: lib64openafs-static-devel
                                 ##################################################################################################
      1/7: removing openafs-server-1.9.1-2.mga9.x86_64
                                 ##################################################################################################
      2/7: removing openafs-client-1.9.1-2.mga9.x86_64
                                 ##################################################################################################
      3/7: removing openafs-1.9.1-2.mga9.x86_64
                                 ##################################################################################################
      4/7: removing lib64openafs-devel-1.9.1-2.mga9.x86_64
                                 ##################################################################################################
      5/7: removing lib64openafs-static-devel-1.9.1-2.mga9.x86_64
                                 ##################################################################################################
      6/7: removing lib64openafs2-1.9.1-2.mga9.x86_64
                                 ##################################################################################################

------------------------------
Deleting module version: 1.9.1-2.mga9
completely from the DKMS tree.
------------------------------
Done.
      7/7: removing dkms-libafs-1.9.1-2.mga9.noarch
                                 ##################################################################################################
katnatek 2024-03-27 21:47:39 CET

CC: (none) => andrewsfarm

Comment 5 katnatek 2024-03-27 21:52:29 CET
As we can see in comment#4 the current dkms package fail to build for kernel 6.6.22, in the update process the testing dkms package build right.

All the packages now update without issues

Whiteboard: (none) => MGA9-64-OK

Comment 6 katnatek 2024-03-27 21:55:03 CET
Advisory updated
Comment 7 Thomas Andrews 2024-03-28 00:59:55 CET
Looks good. Validating.

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

Comment 8 Mageia Robot 2024-03-28 04:54:04 CET
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGAA-2024-0117.html

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


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