Debian Bug report logs - #702018
dkms loops infinitely when overflow tmp fills

version graph

Package: dkms; Maintainer for dkms is Dynamic Kernel Module System Team <dkms@packages.debian.org>; Source for dkms is src:dkms (PTS, buildd, popcon).

Reported by: Thorsten Alteholz <debian@alteholz.de>

Date: Fri, 1 Mar 2013 18:48:01 UTC

Severity: normal

Found in version dkms/2.2.0.3-1.2

Blocking fix for 620014: openafs-modules-dkms: cannot install openafs with overflow tmp mounted - no space

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Dynamic Kernel Modules Support Team <pkg-dkms-maint@lists.alioth.debian.org>:
Bug#702018; Package dkms. (Fri, 01 Mar 2013 18:48:04 GMT) (full text, mbox, link).


Acknowledgement sent to Thorsten Alteholz <debian@alteholz.de>:
New Bug report received and forwarded. Copy sent to Dynamic Kernel Modules Support Team <pkg-dkms-maint@lists.alioth.debian.org>.

Your message did not contain a Subject field. They are recommended and useful because the title of a $gBug is determined using this field. Please remember to include a Subject field in your messages in future.

(Fri, 01 Mar 2013 18:48:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Thorsten Alteholz <debian@alteholz.de>
To: submit@bugs.debian.org
Cc: Russ Allbery <rra@stanford.edu>
Date: Fri, 1 Mar 2013 19:41:48 +0100 (CET)
Package: dkms
Version: 2.2.0.3-1.2
Severity: normal

Hi,

in function invoke_command() of /usr/sbin/dkms (around line 75) you are 
waiting for a file to appear that needs to have some contents:
  ([[ -e && ! -s ]]).
This file is created in $tmp_location which is $TMPDIR or just /tmp.
In case of /tmp being full, the file will be created but won't get any
contents. So at that point dkms will loop forever.

This might sound as a far-fetched case, but as shown in bug #620014
(http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=620014) this really 
happens when overflow-/tmp is in use.

As there are other partitions that have some spare disk space, one 
solution might be to set $TMPDIR in dkms.conf. Unfortunately this is 
sourced after $tmp_location is already set.

Do you have any other idea how to solve this?

  Thorsten





Added indication that bug 702018 blocks 620014 Request was from Russ Allbery <rra@debian.org> to control@bugs.debian.org. (Wed, 06 Mar 2013 08:33:03 GMT) (full text, mbox, link).


Changed Bug title to 'dkms loops infinitely when overflow tmp fills' from '(no subject)' Request was from Russ Allbery <rra@debian.org> to control@bugs.debian.org. (Wed, 06 Mar 2013 08:33:04 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Jul 2 06:19:50 2023; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.