openafs-modules-dkms should depend on dkms

Bug #368471 reported by Jesper Larsen
40
This bug affects 5 people
Affects Status Importance Assigned to Milestone
openafs (Ubuntu)
Fix Released
Undecided
Anders Kaseorg
Jaunty
Fix Released
Undecided
Unassigned
Karmic
Fix Released
Undecided
Anders Kaseorg

Bug Description

Impact:
openafs-modules-dkms fails to install because the postinst scripts cannot complete without dkms being installed

How the bug is addressed:
Add dkms to the dependency list for the openafs-modules-dkms package

Patch:
There's a debdiff in comment 1 for jaunty-proposed.

TEST CASE;
Without having dkms installed, run "sudo aptitude install openafs-modules-dkms" and watch it fail to install

Regression Potential:
None, openafs-modules-dkms doesn't install at the moment.

Anders Kaseorg (andersk)
Changed in openafs (Ubuntu):
assignee: nobody → Anders Kaseorg (anders-kaseorg)
status: New → Confirmed
Revision history for this message
Anders Kaseorg (andersk) wrote :

This might be worth a quick SRU.

Revision history for this message
Anders Kaseorg (andersk) wrote :

For Karmic, this will be fixed by my patch in bug #370458.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package openafs - 1.4.10+dfsg1-1+ubuntu1

---------------
openafs (1.4.10+dfsg1-1+ubuntu1) karmic; urgency=low

  * Merge from Debian unstable (LP: #370458), remaining changes:
    - Reenable DKMS support, which was commented out of 1.4.8.dfsg1-1.
  * Make openafs-modules-dkms depend on dkms. (LP: #368471)
  * Parse $(VERSION) and $(DEBVERS) from debian/changelog.
    (LP: #364426)

openafs (1.4.10+dfsg1-1) unstable; urgency=high

  * New upstream release.
    - OPENAFS-SA-2009-001: Avoid a potential kernel memory overrun if more
      items than requested are returned from an InlineBulk or BulkStatus
      message. (CVE-2009-1251)
    - OPENAFS-SA-2009-002: Avoid converting negative errors into invalid
      kernel memory pointers. (CVE-2009-1250)
    - Preliminary support for 2.6.30 kernels.
    - Dynamic vcache allocation support to deal with inotify vcache
      pinning.
    - Do appropriate locking for CellServDB in /proc.
    - Use +dfsg instead of .dfsg for saner version sorting.
  * Debian's 2.6.29 packages no longer include symlinks from the
    architecture-specific header tree to the common header tree and
    instead overlay both header trees using kbuild. Change the Autoconf
    probes to always use kbuild and generate stub headers in the paths
    that OpenAFS expects that include the linux headers. Patch from Aaron
    M. Ucko. (Closes: #521745)
  * Build PIC versions of libafsauthent and libafsrpc and install them in
    libopenafs-dev for use when AFS code should be embedded into shared
    libraries. Patch from Garrett Wollman.
  * Update CellServDB to 2008-11-07 version. (Closes: #522451)
  * Update debian/watch for +dfsg naming instead of .dfsg.
  * Update standards version to 3.8.1 (no changes required).
  * Translation updates:
    - Japanese, thanks Hideki Yamane. (Closes: #521518)

 -- Anders Kaseorg <email address hidden> Wed, 29 Apr 2009 02:31:47 -0400

Changed in openafs (Ubuntu):
status: Confirmed → Fix Released
description: updated
description: updated
Changed in openafs (Ubuntu Jaunty):
assignee: nobody → Scott Kitterman (kitterman)
status: New → In Progress
Anders Kaseorg (andersk)
description: updated
Revision history for this message
John Dong (jdong) wrote :

ACK from MOTU-SRU for Jaunty

Revision history for this message
Sarah Kowalik (hobbsee-deactivatedaccount) wrote :

Accepted into jaunty proposed, please solicit the usual testing.

Revision history for this message
Anders Kaseorg (andersk) wrote :

Works for me.

Revision history for this message
Steve Beattie (sbeattie) wrote :

I've reproduced the installation failure with openafs-modules-dkms 1.4.9.dfsg1-0+ubuntu3. When I tried to verify the fix, the upgrade from the broken version to the version in jaunty-proposed, 1.4.9.dfsg1-0+ubuntu3.1, failed in the prerm script in the 'dkms remove -m openafs -v "$version" --all' command with the message:

  Error! There are no instances of module: openafs
1.4.9 located in the DKMS tree.

But the 'dkms add' command in the postinst succeeded, so doing dpkg-reconfigure on the openafs-modules-dkms package caused the build to happen. It seems to me that the fix is incomplete and that prerm script ought to wrap the 'dkms remove' call to prevent its failure from causing the upgrade to fail.

Victornurse (v-nurse)
Changed in openafs (Ubuntu Karmic):
status: Fix Released → Confirmed
Revision history for this message
Anders Kaseorg (andersk) wrote :

Victornurse: No, I assure you this bug is already fixed in Karmic.

Package: openafs-modules-dkms
Version: 1.4.11+dfsg-1
Depends: dkms, bison, flex
         ^^^^

This bug is about a Jaunty SRU. If you’re seeing some other bug in the Karmic package, don’t hesitate to open a new bug report.

Changed in openafs (Ubuntu Karmic):
status: Confirmed → Fix Released
Changed in openafs (Ubuntu Jaunty):
assignee: Scott Kitterman (kitterman) → nobody
Revision history for this message
Martin Pitt (pitti) wrote :

Marked as verification-failed according to Steve Beattie's test in comment 7.

tags: added: verification-failed
Revision history for this message
Benjamin Drung (bdrung) wrote :

Nothing to do for ubuntu-universe-sponsors. Therefore I unsubscribe them.

Revision history for this message
Martin Pitt (pitti) wrote :

It seems that the updated package helps, but doesn't fix it completely. I'll send it to -updates but keep the bug open for the remaining case that Steve pointed out.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package openafs - 1.4.9.dfsg1-0+ubuntu3.1

---------------
openafs (1.4.9.dfsg1-0+ubuntu3.1) jaunty-proposed; urgency=low

  * Make openafs-modules-dkms depend on dkms. (LP: #368471)

 -- Anders Kaseorg <email address hidden> Fri, 01 May 2009 12:59:29 -0400

Changed in openafs (Ubuntu Jaunty):
status: In Progress → Fix Released
Martin Pitt (pitti)
Changed in openafs (Ubuntu Jaunty):
status: Fix Released → Triaged
tags: removed: verification-failed
Revision history for this message
Evan Broder (broder) wrote :

I'm going to go ahead and close this bug - I'll be including a patch for the remaining issue as part of my fix for bug #463429.

Changed in openafs (Ubuntu Jaunty):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.