Oneiric regression: dkms invokes the PRE_BUILD command from the wrong working directory

Bug #812088 reported by Darik Horn
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dkms (Ubuntu)
Fix Released

Bug Description

Upstream commit "Make the install command chain all the way back to adding the module" (SHA: e409c1681d433c4bea04deb2a9c2be6d02b3f83c) caused a regression of LP #702638 in the dkms- release for Ubuntu Oneiric.

The current working directory for PRE_ and POST_ invocations is the system root.

For example, if "PRE_BUILD=./configure" is set in the dkms.conf file, then generated files like "Makefile" and "config.status" are written to "/".

Tags: patch
Revision history for this message
Darik Horn (dajhorn) wrote :
tags: added: patch
Revision history for this message
Mario Limonciello (superm1) wrote :

Looks good, thanks for the patch.

Applied in 45346f52d540e0de313f39b76712d094d560f5b4. Will include in the next release.

Changed in dkms (Ubuntu):
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package dkms -

dkms ( unstable; urgency=low

  [ Mario Limonciello ]
  * [c5846b6] Imported Upstream version
    - Doesn't leave files in /tmp (Closes: #633802)
    - Autoinstall works on multiple kernels (Closes: #634979) (LP: #812979)
    - PRE_BUILD command working directory fix. (LP: #812088)
  * [83b5f6e] Drop kfreebsd.patch. Merged upstream

  [ Giuseppe Iuculano ]
  * [a80ecc5] Updated VCS control field

dkms ( unstable; urgency=low

  * [c9f7ed0] Fixed kFreeBSD subdirs check
  * [57c5c9d] Removed improved-error-messages.patch
  * [370ff7b] Remove debian-lsb.patch. Now Ubuntu can sync from Debian

dkms ( unstable; urgency=low

  * [6b2d392] Run depmod command only in Linux.
    Thanks to Robert Millan (Closes: #631657)

dkms ( unstable; urgency=low

  * [18353fe] Imported Upstream version
  * [2a56b4e] Refreshed and removed patches merged upstream.
  * [c552af9] Use linux-headers-686-pae and linux-headers-amd64 in Recommends
    (Closes: #628873)
 -- Mario Limonciello <email address hidden> Wed, 03 Aug 2011 06:05:34 +0000

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

Other bug subscribers

Remote bug watches

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