Bug 506759

Summary: modprobe folly with sha modules
Product: [Fedora] Fedora Reporter: Jarod Wilson <jarod>
Component: module-init-toolsAssignee: Jon Masters <jcm>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: high    
Version: 15CC: herbert.xu, jcm, jonathan, jscotka, mitr
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-06 20:06:24 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 516998, 677885    

Description Jarod Wilson 2009-06-18 15:28:19 UTC
Description of problem:
modprobe and modinfo are falling down somewhere with respect to sha* modules.

# modinfo sha512
modinfo: could not find module sha512

And yet...

# modprobe sha512

...works just fine.

# lsmod |grep sha
sha512_generic          5536  0

Its even worse for sha384 though, which is provided by the sha512 module:

# modprobe sha384
FATAL: Module sha512 not found.

This happens both with and without sha512_generic already loaded.

This is also the root cause of sha384 crypto self-test failures:

http://www.mail-archive.com/linux-crypto@vger.kernel.org/msg03282.html


Version-Release number of selected component (if applicable):
module-init-tools-3.7-9.fc11.x86_64

Comment 2 Miloslav Trmač 2010-07-16 19:59:37 UTC
Still seeing this on Fedora 13.

From my POV, it's fine that modinfo ignores aliases.  This is not:

$ modprobe sha384
FATAL: Module sha512 not found
$ modprobe -C /dev/null sha384
$ # OK

Details:
Per (modinfo sha512_generic), this module has aliases "sha512" and "sha384".  These apparently work.

/etc/modprobe.conf.d/dist.conf contains:
   alias sha384 sha512
which is an alias to an alias, and as the (modprobe -C /dev/null ) above shows, apparently breaks things.

Comment 3 Miloslav Trmač 2010-07-16 20:00:44 UTC
(That's module-init-tools-3.11.1-2.fc13.x86_64)

Comment 4 Jon Masters 2010-11-10 04:21:10 UTC
This bug was assigned to the wrong user name (I have two) and is now fixed. I will address it in a module-init-tools update. Currently, I am working to fix compressed module support before pushing an update as Anaconda will need that.

Comment 5 Jon Masters 2011-04-19 00:20:25 UTC
Checking status of this.

Comment 6 Bug Zapper 2011-06-02 18:00:49 UTC
This message is a reminder that Fedora 13 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 13.  It is Fedora's policy to close all
bug reports from releases that are no longer maintained.  At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '13'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 13's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 13 is end of life.  If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora please change the 'version' of this 
bug to the applicable version.  If you are unable to change the version, 
please add a comment here and someone will do it for you.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 7 Miloslav Trmač 2011-06-03 13:02:09 UTC
I can still reproduce comment#2 with module-init-tools-3.12-5.fc15.x86_64.

Comment 8 Fedora End Of Life 2012-08-06 20:06:24 UTC
This message is a notice that Fedora 15 is now at end of life. Fedora 
has stopped maintaining and issuing updates for Fedora 15. It is 
Fedora's policy to close all bug reports from releases that are no 
longer maintained.  At this time, all open bugs with a Fedora 'version'
of '15' have been closed as WONTFIX.

(Please note: Our normal process is to give advanced warning of this 
occurring, but we forgot to do that. A thousand apologies.)

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, feel free to reopen 
this bug and simply change the 'version' to a later Fedora version.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we were unable to fix it before Fedora 15 reached end of life. If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora, you are encouraged to click on 
"Clone This Bug" (top right of this page) and open it against that 
version of Fedora.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 9 Fedora End Of Life 2012-08-06 20:06:24 UTC
This message is a notice that Fedora 15 is now at end of life. Fedora 
has stopped maintaining and issuing updates for Fedora 15. It is 
Fedora's policy to close all bug reports from releases that are no 
longer maintained.  At this time, all open bugs with a Fedora 'version'
of '15' have been closed as WONTFIX.

(Please note: Our normal process is to give advanced warning of this 
occurring, but we forgot to do that. A thousand apologies.)

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, feel free to reopen 
this bug and simply change the 'version' to a later Fedora version.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we were unable to fix it before Fedora 15 reached end of life. If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora, you are encouraged to click on 
"Clone This Bug" (top right of this page) and open it against that 
version of Fedora.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping