[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#166177: xserver-common: dexconf creates temporary directory outside /tmp



Package: xserver-common
Version: 4.1.0-17
Severity: normal

dexconf created a temporary directory in my home directory:

$ ls -d ~/dex*
/home/gondolin/herbert/dexconf-tmp-22005
$

This is a bad idea because if dexconf is killed with SIGKILL, or if
there is a bug in its signal handling when it is terminated more
gracefully, the directory will be left behind until it is deleted
manually.

In my case it called bomb because I wasn't running it as root so
you probably want to setup an EXIT trap as well.

Please put this directory in /tmp by default where it will be cleaned
automatically.  You can always use ${TMPDIR:-/tmp} so that users can
override it if they wish.

-- System Information
Debian Release: testing/unstable
Kernel Version: Linux gondolin 2.4.18-686-smp #1 SMP Sun Apr 14 12:07:19 EST 2002 i686 unknown unknown GNU/Linux

Versions of the packages xserver-common depends on:
ii  debconf        1.2.10         Debian configuration management system
ii  libc6          2.2.5-14.3     GNU C Library: Shared libraries and Timezone
ii  xfree86-common 4.1.0-17       X Window System (XFree86) infrastructure




Reply to: