Bug 31015 - drakrpm and urpme/urpmi allows removal of the currently running kernel package
Summary: drakrpm and urpme/urpmi allows removal of the currently running kernel package
Status: NEW
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: High major
Target Milestone: ---
Assignee: Mageia tools maintainers
QA Contact:
URL:
Whiteboard: MGA9TOO
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-24 12:38 CEST by Barry Jackson
Modified: 2026-01-02 18:12 CET (History)
1 user (show)

See Also:
Source RPM: rpmdrake-6.32-2.mga9, urpmi-8.131-1.mga9
CVE:
Status comment:
marja11: affects_mga9+


Attachments

Description Barry Jackson 2022-10-24 12:38:16 CEST
Description of problem:
As summary
Surely this should not be allowed to happen.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
Barry Jackson 2022-10-24 12:39:45 CEST

Whiteboard: (none) => MGA8TOO
Severity: normal => major

Comment 1 Barry Jackson 2022-10-24 14:35:50 CEST
Referenced in https://bugs.mageia.org/show_bug.cgi?id=24403#c119
Comment 2 Lewis Smith 2022-10-26 10:21:13 CEST
That other bug is a new feature request for removing old kernels. [In fact, such a script - very thorough, it looks - was recently offered on the French forum; I will note on that bug].

Which does not negate Barry's complaint here. An old problem.

Assigning to the MageiaTools people.

Assignee: bugsquad => mageiatools
Source RPM: (none) => rpmdrake-6.32-2.mga9

Lewis Smith 2022-10-26 10:26:28 CEST

See Also: (none) => https://bugs.mageia.org/show_bug.cgi?id=24403

Comment 3 Barry Jackson 2023-01-11 23:09:38 CET
Still valid in Cauldron today.
Comment 4 Morgan Leijström 2023-11-27 11:58:21 CET
Still valid mga9 today

Both drakrpm and urpme uninstall a running kernel without complaining.

CC: (none) => fri
Whiteboard: MGA8TOO => MGA8TOO, MGA9TOO

Comment 5 Morgan Leijström 2024-02-20 13:35:36 CET
Testing a dkms-anbox update candidate which had added conflict to 6.6 kernels, the urpmi command uninstalled all 6.6 kernels including the running one.

Bug 32834 Comment 12

Priority: Normal => High
Summary: drakrpm allows removal of the currently running kernel package => drakrpm and urpme/urpmi allows removal of the currently running kernel package
Source RPM: rpmdrake-6.32-2.mga9 => rpmdrake-6.32-2.mga9, urpmi-8.131-1.mga9

Comment 6 Marja Van Waes 2025-12-31 14:04:22 CET
Adding the flag: affects_mga9 +
to all bugs with MGA9TOO on the whiteboard, without removing MGA9TOO (for now).

Flags: (none) => affects_mga9+

Comment 7 Morgan Leijström 2026-01-02 18:12:43 CET
mga8 is EOL

Whiteboard: MGA8TOO, MGA9TOO => MGA9TOO


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