Bug 1722

Summary: kmod-openafs fails to automatically update with new kernel
Product: Fedora Reporter: L. Gabriel Somlo <somlo>
Component: openafsAssignee: Jack Neely <jjneely>
Status: RESOLVED INVALID    
Severity: normal    
Priority: P5    
Version: 14   
Hardware: All   
OS: GNU/Linux   
namespace:

Description L. Gabriel Somlo 2011-04-29 03:01:56 CEST
Description:
------------

Whenever a newer kernel version becomes available, yum does not automatically install the corresponding kmod-openafs package, even though one is installed for the already running kernel.

Steps to reproduce and actual results:
--------------------------------------

# rpm -qa | grep kmod-openafs
kmod-openafs-2.6.35.12-88.fc14.i686.PAE-1.4.14-1.fc14.2.i686

# uname -a
Linux linux-prot.example.edu 2.6.35.12-88.fc14.i686.PAE #1 SMP Thu Mar 31 21:54:35 UTC 2011 i686 i686 i386 GNU/Linux

# yum update
...
================================================================================
 Package                 Arch   Version            Repository              Size
================================================================================
Installing:
 kernel-PAE              i686   2.6.35.12-90.fc14  updates                 21 M
 kernel-PAE-devel        i686   2.6.35.12-90.fc14  updates                6.6 M
Updating:
 ...
Installing for dependencies:
 python-bunch            noarch 1.0.0-2.fc14       fedora                  11 k

Transaction Summary
================================================================================
...

Expected results:
-----------------

# yum update
...
================================================================================
 Package                 Arch   Version            Repository              Size
================================================================================
Installing:
 kernel-PAE              i686   2.6.35.12-90.fc14  updates                 21 M
 kernel-PAE-devel        i686   2.6.35.12-90.fc14  updates                6.6 M
Updating:
 ...
Installing for dependencies:
 kmod-openafs-2.6.35.12-90.fc14.i686.PAE
                         i686   1.4.14-1.fc14.3    rpmfusion-free-updates 207 k
 python-bunch            noarch 1.0.0-2.fc14       fedora                  11 k


Other comments:
---------------

I'm also using kmod-wl (broadcom-wl) on a different machine, and that package does manage to pull this operation off successfully. Although during a cursory comparison of wl's and openafs' kmod spec files I couldn't pinpoint the relevant difference :(

Thanks for looking into this,
--Gabriel
Comment 1 Jack Neely 2011-06-07 21:00:34 CEST
Hi,

You should have 2 openafs kmods installed.  The name of the first one is 'kmod-openafs-PAE' and the second on is 'kmod-openafs-<kernel-version>'.

Looks like you have just the latter installed.  Its the former package that enables the behaviour of updating the kmod when the kernel updates.

Try doing a "yum install kmod-openafs-PAE"
Comment 2 L. Gabriel Somlo 2011-06-07 21:29:25 CEST
> Try doing a "yum install kmod-openafs-PAE"

Ah, I see. I always started with 'openafs-client' from my kickstart file, which
pulls in 'kmod-openafs-<kernel-version>.fcX.i686.PAE' and 'openafs', but not 'kmod-openafs-PAE'.

If I ask for 'kmod-openafs-PAE' first, it will pull in all three of 'kmod-openafs-<kernel-version>.fcX.i686.PAE', 'openafs', and 'openafs-client'.

A bit counter-intuitive, but definitely workable. Thanks much for the hint !

(now that I look at it, I am asking for kmod-wl-PAE in the case of broadcom-wl as well, so at least things are consistent :) )
Comment 3 Jack Neely 2011-06-07 23:18:52 CEST
Yes, yum install kmod-openafs-PAE will pull in all the needed packages to run a client setup.  Its the same kernel module packaging standard as the other kmods here so it should all work similarly.

Jack