Package: dkms Version: 2.1.1.2-5ubuntu1 Severity: normal Tags: patch dkms leaves a tmp file in /tmp each time it is run.
$ ls -l /tmp/dkms* ls: cannot access /tmp/dkms*: No such file or directory $ /usr/sbin/dkms $ echo $? 0 $ ls -l /tmp/dkms* -rw------- 1 smoser smoser 0 2011-07-13 16:32 /tmp/dkms.gooAoqPK $ dpkg-query --show dkms dkms 2.1.1.2-5ubuntu1 This was introduced in the debian patch use-system-tmpdir.patch The following patch will fix the issue: --- debian/patches/use-system-tmpdir.patch 2010-06-04 13:53:23 +0000 +++ debian/patches/use-system-tmpdir.patch 2011-07-13 20:40:21 +0000 @@ -1,14 +1,16 @@ Description: Use system setting for tmpdir Author: Michael Gilbert <michael.s.gilb...@gmail.com> +Last-update: 2011-07-13 --- dkms-2.1.1.2.orig/dkms +++ dkms-2.1.1.2/dkms -@@ -3592,7 +3592,8 @@ current_kernel=`uname -r` +@@ -3592,7 +3592,9 @@ current_kernel=`uname -r` dkms_tree="/var/lib/dkms" source_tree="/usr/src" install_tree="/lib/modules" -tmp_location="/tmp" +tmp_file=`mktemp --tmpdir dkms.XXXXXXXX` +tmp_location=`dirname $tmp_file` ++rm -f "$tmp_file" verbose="" dkms_frameworkconf="/etc/dkms/framework.conf" -- System Information: Debian Release: wheezy/sid APT prefers oneiric-updates APT policy: (500, 'oneiric-updates'), (500, 'oneiric-security'), (500, 'oneiric') Architecture: amd64 (x86_64) Kernel: Linux 3.0-2-generic (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages dkms depends on: ii build-essential 11.5ubuntu1 Informational list of build-essent ii coreutils 8.5-1ubuntu6 GNU core utilities ii dpkg-dev 1.16.0.3ubuntu3 Debian package development tools ii gcc 4:4.6.0-5ubuntu1 The GNU C compiler ii make 3.81-8.1ubuntu1 An utility for Directing compilati ii module-init-tools 3.16-1ubuntu1 tools for managing Linux kernel mo ii patch 2.6.1-2 Apply a diff file to an original Versions of packages dkms recommends: ii fakeroot 1.16-1 tool for simulating superuser priv ii linux-headers-2.6.39-3 2.6.39-3.10 Header files related to Linux kern ii linux-headers-2.6.39-3- 2.6.39-3.10 Linux kernel headers for version 2 ii linux-headers-3.0.0-5 [ 3.0.0-5.6 Header files related to Linux kern ii linux-headers-3.0.0-5-g 3.0.0-5.6 Linux kernel headers for version 3 ii linux-headers-generic 3.0.0.5.6 Generic Linux kernel headers ii linux-image-3.0.0-5-gen 3.0.0-5.6 Linux kernel image for version 3.0 ii menu 2.1.45ubuntu1 generates programs menu for all me ii sudo 1.7.4p6-1ubuntu1 Provide limited super user privile dkms suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org