Your message dated Sat, 23 Jul 2005 11:37:39 +0200 with message-id <[EMAIL PROTECTED]> and subject line [bug #13774] Why is updatedb prefering /var/tmp over /tmp for temporary files? has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what I am talking about this indicates a serious mail system misconfiguration somewhere. Please contact me immediately.) Debian bug tracking system administrator (administrator, Debian Bugs database) -------------------------------------- Received: (at submit) by bugs.debian.org; 11 Jul 2005 19:02:10 +0000 >From [EMAIL PROTECTED] Mon Jul 11 12:02:10 2005 Return-path: <[EMAIL PROTECTED]> Received: from smtp.tiscali.ch [212.40.5.52] by spohr.debian.org with esmtp (Exim 3.35 1 (Debian)) id 1Ds3Xe-0000y8-00; Mon, 11 Jul 2005 12:02:10 -0700 Received: from wal.sourcepole (adsl-96-60-zh1.datacomm.ch [212.254.96.60]) by smtp.tiscali.ch (8.11.7/8.11.7) with ESMTP id j6BJ27L06883 for <[EMAIL PROTECTED]>; Mon, 11 Jul 2005 21:02:07 +0200 Received: from arthur by wal.sourcepole with local (Exim 3.36 #1 (Debian)) id 1Ds3Xp-0002OM-00 for <[EMAIL PROTECTED]>; Mon, 11 Jul 2005 21:02:21 +0200 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Arthur Korn <[EMAIL PROTECTED]> To: Debian Bug Tracking System <[EMAIL PROTECTED]> Subject: /usr/bin/updatedb: sets TMPDIR to /var/tmp/ for sort's buffers X-Mailer: reportbug 3.8 Date: Mon, 11 Jul 2005 21:02:21 +0200 Message-Id: <[EMAIL PROTECTED]> Sender: Arthur Korn <[EMAIL PROTECTED]> Delivered-To: [EMAIL PROTECTED] X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 (1.212-2003-09-23-exp) on spohr.debian.org X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE autolearn=no version=2.60-bugs.debian.org_2005_01_02 X-Spam-Level: Package: findutils Version: 4.1.20-6 Severity: minor File: /usr/bin/updatedb Hi We had a problem today on one system where /var would be full every night. We figured out that /var/tmp/ was full with hundreds of megabytes of files with names like 'sortXb87kd'. Some inspection led me to the assumption that those are buffer files from sort, which it places in TMPDIR, which is set to /var/tmp/ here: ------/usr/bin/updatedb # Directory to hold intermediate files. if test -d /var/tmp; then : ${TMPDIR=/var/tmp} elif test -d /usr/tmp; then : ${TMPDIR=/usr/tmp} else : ${TMPDIR=/tmp} fi export TMPDIR -------- Since those are absolutely temporary files, and can grow quite large on systems with many files, I suggest to prefer /tmp over /var/tmp or to reset TMPDIR to /tmp when calling sort. Overflowing /var is bad enough, but when it happens like this it can be pretty hard to track down and will lead to bizarre malfunctions. HTH, 2ri -- System Information: Debian Release: 3.1 Architecture: i386 (i686) Kernel: Linux 2.4.26 Locale: LANG=de_CH, LC_CTYPE=de_CH (charmap=ISO-8859-1) Versions of packages findutils depends on: ii libc6 2.3.2.ds1-22 GNU C Library: Shared libraries an -- no debconf information --------------------------------------- Received: (at 317815-done) by bugs.debian.org; 23 Jul 2005 09:37:52 +0000 >From [EMAIL PROTECTED] Sat Jul 23 02:37:52 2005 Return-path: <[EMAIL PROTECTED]> Received: from m26s25.vlinux.de [83.151.30.59] ([cqhlC6B+/0g0eFIInTvKFW/4TUl8krGG]) by spohr.debian.org with esmtp (Exim 3.36 1 (Debian)) id 1DwGS7-0002ZG-00; Sat, 23 Jul 2005 02:37:52 -0700 Received: from adsl-063.247.166.194.arpa.as1901.net ([194.166.247.63] helo=argenau.downhill.at.eu.org ident=[dA4VXk+KRwCWvm4FTyhURY7Nm9F64Tsp]) by m26s25.vlinux.de with esmtpa (Exim 4.50) id 1DwGOS-0002VJ-Fy for [EMAIL PROTECTED]; Sat, 23 Jul 2005 09:34:12 +0000 Received: from ametzler by argenau.downhill.at.eu.org with local (Exim 4.51) id 1DwGRv-0001Ut-9G for [EMAIL PROTECTED]; Sat, 23 Jul 2005 11:37:39 +0200 Date: Sat, 23 Jul 2005 11:37:39 +0200 From: Andreas Metzler <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Re: [bug #13774] Why is updatedb prefering /var/tmp over /tmp for temporary files? Message-ID: <[EMAIL PROTECTED]> References: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <[EMAIL PROTECTED]> X-GPG-Fingerprint: BCF7 1345 BE42 B5B8 1A57 EE09 1D33 9C65 8B8D 7663 User-Agent: Mutt/1.5.9i X-Spam-Score: -2.6 (--) Delivered-To: [EMAIL PROTECTED] X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 (1.212-2003-09-23-exp) on spohr.debian.org X-Spam-Level: X-Spam-Status: No, hits=-3.0 required=4.0 tests=BAYES_00 autolearn=no version=2.60-bugs.debian.org_2005_01_02 On 2005-07-13 anonymous <[EMAIL PROTECTED]> wrote: > Follow-up Comment #3, bug #13774 (project findutils): > Ok, I see the wisdom in this. Maybe this wisdom could be integrated into the > FHS as well. > The combination of millions of hardlinks with long names created by > storebackup and a not _that_ large /var/ partition where numerous other tasks > where working in led to the problems. > Resolved here by setting TMPDIR to /tmp/ and adding the backups to PRUNEPATH > (storebackup has it's own find tool which works on the filelists which it > maintains anyway). > I consider this issue closed, thanks. Ok. Closing the debian bug, too. cu andras -- "See, I told you they'd listen to Reason," [SPOILER] Svfurlr fnlf, fuhggvat qbja gur juveyvat tha. Neal Stephenson in "Snow Crash" http://downhill.aus.cc/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]