Project

General

Profile

Tâche #29272

Scénario #29216: Traitement express MEN (45-47)

Les modules et extra modules des anciens noyaux ne sont pas supprimés

Added by Daniel Dehennin 10 months ago. Updated 10 months ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
11/15/2019
Due date:
% Done:

100%

Estimated time:
2.00 h
Remaining (hours):
0.0

Description

En faisant des tests pour #29205 je me suis rendu compte que les paquets de modules n’étaient pas supprimé pendant reconfigure :

root@scribe:~# dpkg -l linux-* | grep ^ii
ii  linux-base                             4.5ubuntu1   all          Linux image base package
ii  linux-firmware                         1.173.12     all          Firmware for Linux kernel drivers
ii  linux-generic                          4.15.0.71.73 amd64        Complete Generic Linux kernel and headers
ii  linux-headers-4.15.0-70                4.15.0-70.79 all          Header files related to Linux kernel version 4.15.0
ii  linux-headers-4.15.0-70-generic        4.15.0-70.79 amd64        Linux kernel headers for version 4.15.0 on 64 bit x86 SMP
ii  linux-headers-4.15.0-71                4.15.0-71.80 all          Header files related to Linux kernel version 4.15.0
ii  linux-headers-4.15.0-71-generic        4.15.0-71.80 amd64        Linux kernel headers for version 4.15.0 on 64 bit x86 SMP
ii  linux-headers-generic                  4.15.0.71.73 amd64        Generic Linux kernel headers
ii  linux-image-4.15.0-70-generic          4.15.0-70.79 amd64        Signed kernel image generic
ii  linux-image-4.15.0-71-generic          4.15.0-71.80 amd64        Signed kernel image generic
ii  linux-image-generic                    4.15.0.71.73 amd64        Generic Linux kernel image
ii  linux-image-unsigned-4.15.0-69-generic 4.15.0-69.78 amd64        Linux kernel image for version 4.15.0 on 64 bit x86 SMP
ii  linux-modules-4.15.0-66-generic        4.15.0-66.75 amd64        Linux kernel extra modules for version 4.15.0 on 64 bit x86 SMP
ii  linux-modules-4.15.0-69-generic        4.15.0-69.78 amd64        Linux kernel extra modules for version 4.15.0 on 64 bit x86 SMP
ii  linux-modules-4.15.0-70-generic        4.15.0-70.79 amd64        Linux kernel extra modules for version 4.15.0 on 64 bit x86 SMP
ii  linux-modules-4.15.0-71-generic        4.15.0-71.80 amd64        Linux kernel extra modules for version 4.15.0 on 64 bit x86 SMP
ii  linux-modules-extra-4.15.0-70-generic  4.15.0-70.79 amd64        Linux kernel extra modules for version 4.15.0 on 64 bit x86 SMP
ii  linux-modules-extra-4.15.0-71-generic  4.15.0-71.80 amd64        Linux kernel extra modules for version 4.15.0 on 64 bit x86 SMP

On voit que les modules en version 4.15.0-66 et 4.15.0-69 sont toujours installés.


Related issues

Related to Distribution EOLE - Scénario #29205: plantage du reconfigure après mise à jour de noyau Nouveau

Associated revisions

Revision 3411442a (diff)
Added by Daniel Dehennin 10 months ago

We need to purge all modules with associated removed kernels

If the “linux-modules” and “linux-modules-extra” packages are
installed, they are not purge during reconfigure.

  • creole/fonctionseole.py (get_kernel_to_remove): add “linux-modules”
    and “linux-modules-extra” to list of installed kernels.
    Make sure to keep modules and extra modules of kernels to keep.

Ref: #29272

History

#1 Updated by Daniel Dehennin 10 months ago

  • Status changed from Nouveau to En cours
  • Assigned To set to Daniel Dehennin

#2 Updated by Daniel Dehennin 10 months ago

  • Related to Scénario #29205: plantage du reconfigure après mise à jour de noyau added

#3 Updated by Daniel Dehennin 10 months ago

  • % Done changed from 0 to 90
  • Remaining (hours) changed from 2.0 to 1.0

J’ai refait le paquet en 2.7.2.

Il reste à voir jusqu’où le rétroporter (je suis parti du plus loin possible ce qui a donné 2.4.1)

#4 Updated by Daniel Dehennin 10 months ago

Je viens de faire un test sur 2.6 et les modules ne sont pas supprimés non plus :

root@scribe:~# dpkg -l linux-* | grep ^ii
ii  linux-base                             4.5ubuntu1~16.04.1   all          Linux image base package
ii  linux-firmware                         1.157.22             all          Firmware for Linux kernel drivers
ii  linux-generic-hwe-16.04                4.15.0.68.88         amd64        Complete Generic Linux kernel and headers
ii  linux-headers-4.15.0-67                4.15.0-67.76~16.04.1 all          Header files related to Linux kernel version 4.15.0
ii  linux-headers-4.15.0-67-generic        4.15.0-67.76~16.04.1 amd64        Linux kernel headers for version 4.15.0 on 64 bit x86 SMP
ii  linux-headers-4.15.0-68                4.15.0-68.77~16.04.1 all          Header files related to Linux kernel version 4.15.0
ii  linux-headers-4.15.0-68-generic        4.15.0-68.77~16.04.1 amd64        Linux kernel headers for version 4.15.0 on 64 bit x86 SMP
ii  linux-headers-generic-hwe-16.04        4.15.0.68.88         amd64        Generic Linux kernel headers
ii  linux-image-4.15.0-67-generic          4.15.0-67.76~16.04.1 amd64        Signed kernel image generic
ii  linux-image-4.15.0-68-generic          4.15.0-68.77~16.04.1 amd64        Signed kernel image generic
ii  linux-image-generic-hwe-16.04          4.15.0.68.88         amd64        Generic Linux kernel image
ii  linux-image-unsigned-4.15.0-52-generic 4.15.0-52.56~16.04.1 amd64        Linux kernel image for version 4.15.0 on 64 bit x86 SMP
ii  linux-modules-4.15.0-51-generic        4.15.0-51.55~16.04.1 amd64        Linux kernel extra modules for version 4.15.0 on 64 bit x86 SMP
ii  linux-modules-4.15.0-52-generic        4.15.0-52.56~16.04.1 amd64        Linux kernel extra modules for version 4.15.0 on 64 bit x86 SMP
ii  linux-modules-4.15.0-67-generic        4.15.0-67.76~16.04.1 amd64        Linux kernel extra modules for version 4.15.0 on 64 bit x86 SMP
ii  linux-modules-4.15.0-68-generic        4.15.0-68.77~16.04.1 amd64        Linux kernel extra modules for version 4.15.0 on 64 bit x86 SMP
ii  linux-modules-extra-4.15.0-67-generic  4.15.0-67.76~16.04.1 amd64        Linux kernel extra modules for version 4.15.0 on 64 bit x86 SMP
ii  linux-modules-extra-4.15.0-68-generic  4.15.0-68.77~16.04.1 amd64        Linux kernel extra modules for version 4.15.0 on 64 bit x86 SMP

#5 Updated by Daniel Dehennin 10 months ago

  • % Done changed from 90 to 100

Rétroporté :

  • 2.6.0-118
  • 2.6.1-134
  • 2.6.2-113
  • 2.7.0-86
  • 2.7.1-15

#6 Updated by Daniel Dehennin 10 months ago

  • Remaining (hours) changed from 1.0 to 0.5

#7 Updated by Daniel Dehennin 10 months ago

  • Status changed from En cours to Résolu

#8 Updated by Joël Cuissinat 10 months ago

  • Remaining (hours) changed from 0.5 to 0.0

En complément, je propose de compléter le test SC-T01-012 - reconfigure, les noyaux et le redémarrage avec la vérification des paquets "linux-modules-*".

FAIT et exécuté avec succès : https://dev-eole.ac-dijon.fr/squash/executions/10141

#9 Updated by Joël Cuissinat 10 months ago

  • Status changed from Résolu to Fermé

Also available in: Atom PDF