Bug 2386115 - post_transaction running dracut greatly increases uninstall times
Summary: post_transaction running dracut greatly increases uninstall times
Keywords:
Status: NEW
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: dkms
Version: epel9
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Simone Caronni
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-08-02 17:49 UTC by Gabe Jones
Modified: 2025-08-02 17:49 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Gabe Jones 2025-08-02 17:49:47 UTC
As of 3.2.0, DKMS now runs dracut to rebuild initramfs every time a DKMS package is removed.
 
(https://src.fedoraproject.org/rpms/dkms/c/11bcc820ca36ce51254d7015bdb18405d5babf3c?branch=rawhide)

When uninstalling or upgrading a significant number of DKMS packages, this can increase the total uninstall time from the order of seconds to the order of 10s of minutes.


Reproducible: Always

Steps to Reproduce:
1. Install dkms 3.2.1
2. Install NI-DAQmx
   a. Download the ZIP file from
      https://www.ni.com/en/support/downloads/drivers/download/unpackaged-linux.ni-linux-device-drivers.569185.html
   b. Install the appropriate RPM from the ZIP file (e.g., ni-rhel9-drivers-2025Q3.rpm)
   c. dnf install ni-daqmx
3. dkms autoinstall
4. Remove the NI DKMS packages with, e.g., "dnf remove ni-*dkms*"

Actual Results:
Uninstall takes 20 minutes or so

Expected Results:
Uninstall should proceed reasonably quickly


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