Bug 1331541 - RFE: Potentially long running hook scripts of kernel RPMs should say something
Summary: RFE: Potentially long running hook scripts of kernel RPMs should say something
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: rawhide
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-28 18:15 UTC by Matthew Cline
Modified: 2016-05-26 19:15 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-05-26 19:15:40 UTC
Type: Bug


Attachments (Terms of Use)

Description Matthew Cline 2016-04-28 18:15:45 UTC
Some of the postinstall and postuninstall script hooks in kernel RPMs (like depmod) can take a long time, leading one (or at least leading me) to wonder "what's taking so long".  These scripts should echo out something like "doing depmod, this might take a while..."

Comment 1 Josh Boyer 2016-04-28 19:05:44 UTC
How long do you see this taking?  On a relatively slow machine with a spinning rust drive and a kernel with full debugging enabled, it takes 20 seconds.  On an x1 with an SSD, it takes 5s.

While I understand your reasoning, output to the terminal or console from an RPM scriptlet has always been discouraged.  It breaks the output of yum/dnf and typically we get a bug filed to remove it or redirect it to /dev/null if it exists.


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