[Pkg-clamav-commits] [SCM] Debian repository for ClamAV branch, debian/unstable, updated. debian/0.94.dfsg.1-1-41-g3755295

Michael Tautschnig mt at debian.org
Sat Nov 29 20:12:16 UTC 2008


The following commit has been merged in the debian/unstable branch:
commit 375529566ef21fc7086161784e22b7c8bc6d4158
Author: Michael Tautschnig <mt at debian.org>
Date:   Sat Nov 29 10:42:27 2008 -0800

    TMPDIR is overriden by TemporaryDirectory
    
    - This has actually been fixed long ago
    - Definitely closes #253080 as we configured TemporaryDirectory to /tmp by
      default anyway
    - Added a note on this to README.Debian
    
    Signed-off-by: Michael Tautschnig <mt at debian.org>

diff --git a/debian/README.Debian b/debian/README.Debian
index 5ba515c..11af79b 100644
--- a/debian/README.Debian
+++ b/debian/README.Debian
@@ -87,6 +87,11 @@ CLAMAV-DAEMON
    flaws in clamd (see http://bugs.debian.org/247574 for an example of a
    problem caused by clamd following symlinks in an archive), but will mean
    some compromises in functionality.
+
+   In case you happen to have the TMPDIR variable set in your root environment,
+   please make sure that TemporaryDirectory is set to something sane in
+   /etc/clamav/clamd.conf (the Debian packages default to /tmp), as otherwise
+   clamd will fail to operate after changing its user id as noted above. 
    
   MTA INTEGRATION
    
diff --git a/debian/changelog b/debian/changelog
index 08e88bb..20a989f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,6 +9,8 @@ clamav (0.94.dfsg.1-2) unstable; urgency=low
     clamav-global one.
   * Sync start of clamav-milter with clamav-daemon when clamav-daemon is being
     upgraded (closes: #309067)
+  * The TemporaryDirectory option has been added long ago, no need for hacks
+    via clamav-daemon.default anymore (closes: #253080)
 
  -- Michael Meskes <meskes at debian.org>  Sat, 22 Nov 2008 17:47:27 -0800
 
diff --git a/debian/clamav-daemon.default b/debian/clamav-daemon.default
deleted file mode 100644
index aa58329..0000000
--- a/debian/clamav-daemon.default
+++ /dev/null
@@ -1,7 +0,0 @@
-# This is a file designed only t0 set special environment variables
-# eg TMP or TMPDIR.  It is sourced from a shell script, so anything 
-# put in here must be in variable=value format, suitable for sourcing
-# from a shell script.
-# Examples:
-# export TMPDIR=/dev/shm
-# export TMP=/var/tmp

-- 
Debian repository for ClamAV



More information about the Pkg-clamav-commits mailing list