Your message dated Mon, 02 Nov 2009 17:17:44 +0000
with message-id <[email protected]>
and subject line Bug#553333: fixed in clamav 0.95.3+dfsg-1
has caused the Debian Bug report #553333,
regarding clamav-milter: inet milter socket configuration changes the owner of  
/root to clamav
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
553333: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=553333
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: clamav-milter
Version: 0.95.2+dfsg-1~volatile1
Severity: serious
Tags: patch

Because of some communication problems between postfix and
clamav-milter local socket, I've choosed to configure clamav-milter
with a network socket:
MilterSocket = "inet:[email protected]"

The problem is that every execution of the init.d script will change
the owner of /root directory to 'clamav'. This patch fixes the
problem:

COBRANEW:~# diff -pU2
/etc/init.d/clamav-milter_0.95.2+dfsg-1~volatile1
/etc/init.d/clamav-milter
--- /etc/init.d/clamav-milter_0.95.2+dfsg-1~volatile1   2009-07-11
21:50:02.000000000 +0300
+++ /etc/init.d/clamav-milter   2009-10-30 12:45:20.000000000 +0200
@@ -172,5 +172,5 @@ make_dir()
   [ -n "$User" ] || User=clamav
   mkdir -p -m 0755 "$DIR"
-  chown "$User:$User" "$DIR"
+  chown "$User" "$DIR"
 }

@@ -279,5 +279,5 @@ fi

 make_dir "$DataBaseDirectory"
-if [ "${SOCKET_PATH#inet}" = "${SOCKET_PATH}" ]; then
+if [ "${SOCKET_TYPE}" = "local" ]; then
   make_dir $(dirname "$SOCKET_PATH")
   chown $User $(dirname "$SOCKET_PATH")

Please include it in the next upload (probably for the new upstream
release 0.95.3).

Thanks


-- Package-specific info:
--- configuration ---
Checking configuration files in /etc/clamav

Config file: clamd.conf
-----------------------
LogFile = "/var/log/clamav/clamav.log"
LogFileUnlock disabled
LogFileMaxSize disabled
LogTime = "yes"
LogClean disabled
LogSyslog = "yes"
LogFacility = "LOG_MAIL"
LogVerbose disabled
PidFile = "/var/run/clamav/clamd.pid"
TemporaryDirectory disabled
DatabaseDirectory = "/var/lib/clamav"
LocalSocket = "/var/run/clamav/clamd.ctl"
FixStaleSocket = "yes"
TCPSocket disabled
TCPAddr disabled
MaxConnectionQueueLength = "15"
StreamMaxLength disabled
StreamMinPort = "1024"
StreamMaxPort = "2048"
MaxThreads = "12"
ReadTimeout = "180"
CommandReadTimeout = "5"
SendBufTimeout = "200"
MaxQueue = "100"
IdleTimeout = "30"
ExcludePath disabled
MaxDirectoryRecursion = "20"
FollowDirectorySymlinks disabled
FollowFileSymlinks disabled
SelfCheck = "3600"
VirusEvent disabled
ExitOnOOM disabled
Foreground disabled
Debug disabled
LeaveTemporaryFiles disabled
User = "clamav"
AllowSupplementaryGroups = "yes"
DetectPUA disabled
ExcludePUA disabled
IncludePUA disabled
AlgorithmicDetection = "yes"
ScanPE = "yes"
ScanELF = "yes"
DetectBrokenExecutables disabled
ScanMail = "yes"
MailFollowURLs disabled
ScanPartialMessages disabled
PhishingSignatures = "yes"
PhishingScanURLs = "yes"
PhishingAlwaysBlockCloak disabled
PhishingAlwaysBlockSSLMismatch disabled
HeuristicScanPrecedence disabled
StructuredDataDetection disabled
StructuredMinCreditCardCount = "3"
StructuredMinSSNCount = "3"
StructuredSSNFormatNormal = "yes"
StructuredSSNFormatStripped disabled
ScanHTML = "yes"
ScanOLE2 = "yes"
ScanPDF = "yes"
ScanArchive = "yes"
ArchiveBlockEncrypted disabled
MaxScanSize = "104857600"
MaxFileSize = "26214400"
MaxRecursion = "16"
MaxFiles = "10000"
ClamukoScanOnAccess disabled
ClamukoScanOnOpen disabled
ClamukoScanOnClose disabled
ClamukoScanOnExec disabled
ClamukoIncludePath disabled
ClamukoExcludePath disabled
ClamukoMaxFileSize = "5242880"
DevACOnly disabled
DevACDepth disabled

Config file: freshclam.conf
---------------------------
LogFileMaxSize disabled
LogTime disabled
LogSyslog disabled
LogFacility = "LOG_LOCAL6"
LogVerbose disabled
PidFile = "/var/run/clamav/freshclam.pid"
DatabaseDirectory = "/var/lib/clamav/"
Foreground disabled
Debug disabled
AllowSupplementaryGroups disabled
UpdateLogFile = "/var/log/clamav/freshclam.log"
DatabaseOwner = "clamav"
Checks = "24"
DNSDatabaseInfo = "current.cvd.clamav.net"
DatabaseMirror = "db.local.clamav.net", "database.clamav.net"
MaxAttempts = "5"
ScriptedUpdates = "yes"
CompressLocalDatabase disabled
HTTPProxyServer disabled
HTTPProxyPort disabled
HTTPProxyUsername disabled
HTTPProxyPassword disabled
HTTPUserAgent disabled
NotifyClamd = "/etc/clamav/clamd.conf"
OnUpdateExecute disabled
OnErrorExecute disabled
OnOutdatedExecute disabled
LocalIPAddress disabled
ConnectTimeout = "30"
ReceiveTimeout = "30"
SubmitDetectionStats disabled
DetectionStatsCountry disabled
SafeBrowsing disabled

Config file: clamav-milter.conf
-------------------------------
LogFile = "/var/log/clamav/milter.log"
LogFileUnlock disabled
LogFileMaxSize disabled
LogTime = "yes"
LogSyslog = "yes"
LogFacility = "LOG_MAIL"
LogVerbose = "yes"
PidFile = "/var/run/clamav/clamav-milter.pid"
TemporaryDirectory = "/tmp"
FixStaleSocket = "yes"
MaxThreads = "10"
ReadTimeout = "120"
Foreground disabled
User = "clamav"
AllowSupplementaryGroups = "yes"
MaxFileSize disabled
ClamdSocket = "unix:/var/run/clamav/clamd.ctl"
MilterSocket = "inet:[email protected]"
LocalNet = "local"
OnClean = "Accept"
OnInfected = "Reject"
OnFail = "Defer"
RejectMsg disabled
AddHeader = "Replace"
Chroot disabled
Whitelist disabled
SkipAuthenticated disabled
LogInfected = "Full"

Software settings
-----------------
Version: 0.95.2
Optional features supported: MEMPOOL IPv6 FRESHCLAM_DNS_FIX AUTOIT_EA06 BZIP2
Database directory: /var/lib/clamav/
main.cvd: version 51, sigs: 545035, built on Thu May 14 17:28:45 2009
daily.cld: version 9964, sigs: 96802, built on Fri Oct 30 03:39:02 2009
daily.cld: WARNING: This database requires f-level 44 (current f-level: 43)

--- data dir ---
total 26608
-rw-r--r-- 1 clamav clamav  5947392 2009-10-30 04:37 daily.cld
-rw-r--r-- 1 clamav clamav 21253696 2009-10-26 15:02 main.cvd
-rw------- 1 clamav clamav      572 2009-10-30 12:37 mirrors.dat

-- System Information:
Debian Release: 5.0.3
  APT prefers stable
  APT policy: (990, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-2-amd64 (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/bash

Versions of packages clamav-milter depends on:
ii  adduser          3.110                   add and remove users and groups
ii  clamav-base      0.95.2+dfsg-1~volatile1 anti-virus utility for Unix - base
ii  clamav-freshclam 0.95.2+dfsg-1~volatile1 anti-virus utility for Unix - viru
ii  debconf [debconf 1.5.24                  Debian configuration management sy
ii  libc6            2.7-18                  GNU C Library: Shared libraries
ii  libmilter1.0.1   8.14.3-5                Sendmail Mail Filter API (Milter)
ii  logrotate        3.7.1-5                 Log rotation utility
ii  lsb-base         3.2-20                  Linux Standard Base 3.2 init scrip
ii  ucf              3.0016                  Update Configuration File: preserv
ii  zlib1g           1:1.2.3.3.dfsg-12       compression library - runtime

Versions of packages clamav-milter recommends:
ii  clamav-daemon    0.95.2+dfsg-1~volatile1 anti-virus utility for Unix - scan

Versions of packages clamav-milter suggests:
pn  clamav-docs                   <none>     (no description available)
pn  daemon                        <none>     (no description available)

-- debconf information:
* clamav-milter/LogFile: /var/log/clamav/milter.log
* clamav-milter/LogSyslog: true
* clamav-milter/MilterSocket: inet:[email protected]
* clamav-milter/OnInfected: Reject
* clamav-milter/User: clamav
* clamav-milter/LogInfected: Full
* clamav-milter/MaxFileSize: 0
* clamav-milter/FixStaleSocket: true
* clamav-milter/LogFileUnlock: false
* clamav-milter/Chroot:
* clamav-milter/ReadTimeout: 120
  clamav-milter/AddGroups:
* clamav-milter/LogFileMaxSize: 0
* clamav-milter/OnFail: Defer
* clamav-milter/LocalNet: local
* clamav-milter/debconf: true
* clamav-milter/LogTime: true
* clamav-milter/RejectMsg:
* clamav-milter/TemporaryDirectory: /tmp
* clamav-milter/LogFacility: LOG_MAIL
* clamav-milter/ClamdSocket: unix:/var/run/clamav/clamd.ctl
* clamav-milter/PidFile: /var/run/clamav/clamav-milter.pid
* clamav-milter/Foreground: false
* clamav-milter/AddHeader: Replace
* clamav-milter/LogVerbose: true
* clamav-milter/Whitelist:



--- End Message ---
--- Begin Message ---
Source: clamav
Source-Version: 0.95.3+dfsg-1

We believe that the bug you reported is fixed in the latest version of
clamav, which is due to be installed in the Debian FTP archive:

clamav-base_0.95.3+dfsg-1_all.deb
  to main/c/clamav/clamav-base_0.95.3+dfsg-1_all.deb
clamav-daemon_0.95.3+dfsg-1_amd64.deb
  to main/c/clamav/clamav-daemon_0.95.3+dfsg-1_amd64.deb
clamav-dbg_0.95.3+dfsg-1_amd64.deb
  to main/c/clamav/clamav-dbg_0.95.3+dfsg-1_amd64.deb
clamav-docs_0.95.3+dfsg-1_all.deb
  to main/c/clamav/clamav-docs_0.95.3+dfsg-1_all.deb
clamav-freshclam_0.95.3+dfsg-1_amd64.deb
  to main/c/clamav/clamav-freshclam_0.95.3+dfsg-1_amd64.deb
clamav-milter_0.95.3+dfsg-1_amd64.deb
  to main/c/clamav/clamav-milter_0.95.3+dfsg-1_amd64.deb
clamav-testfiles_0.95.3+dfsg-1_all.deb
  to main/c/clamav/clamav-testfiles_0.95.3+dfsg-1_all.deb
clamav_0.95.3+dfsg-1.diff.gz
  to main/c/clamav/clamav_0.95.3+dfsg-1.diff.gz
clamav_0.95.3+dfsg-1.dsc
  to main/c/clamav/clamav_0.95.3+dfsg-1.dsc
clamav_0.95.3+dfsg-1_amd64.deb
  to main/c/clamav/clamav_0.95.3+dfsg-1_amd64.deb
clamav_0.95.3+dfsg.orig.tar.gz
  to main/c/clamav/clamav_0.95.3+dfsg.orig.tar.gz
libclamav-dev_0.95.3+dfsg-1_amd64.deb
  to main/c/clamav/libclamav-dev_0.95.3+dfsg-1_amd64.deb
libclamav6_0.95.3+dfsg-1_amd64.deb
  to main/c/clamav/libclamav6_0.95.3+dfsg-1_amd64.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Michael Tautschnig <[email protected]> (supplier of updated clamav package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Mon, 02 Nov 2009 10:24:35 +0100
Source: clamav
Binary: clamav-base clamav-docs clamav-dbg clamav libclamav-dev libclamav6 
clamav-daemon clamav-testfiles clamav-freshclam clamav-milter
Architecture: source all amd64
Version: 0.95.3+dfsg-1
Distribution: unstable
Urgency: low
Maintainer: ClamAV Team <[email protected]>
Changed-By: Michael Tautschnig <[email protected]>
Description: 
 clamav     - anti-virus utility for Unix - command-line interface
 clamav-base - anti-virus utility for Unix - base package
 clamav-daemon - anti-virus utility for Unix - scanner daemon
 clamav-dbg - debug symbols for ClamAV
 clamav-docs - anti-virus utility for Unix - documentation
 clamav-freshclam - anti-virus utility for Unix - virus database update utility
 clamav-milter - anti-virus utility for Unix - sendmail integration
 clamav-testfiles - anti-virus utility for Unix - test files
 libclamav-dev - anti-virus utility for Unix - development files
 libclamav6 - anti-virus utility for Unix - library
Closes: 534443 537629 553333
Changes: 
 clamav (0.95.3+dfsg-1) unstable; urgency=low
 .
   [ Michael Tautschnig ]
   * New upstream version
   * Should fix clamd segfault on startup (closes: #537629)
   * Updated info in clamd.conf man page (closes: #534443)
   * Proper socket ownership setup, no chgrp in make_dir (closes: #553333)
Checksums-Sha1: 
 79073d3ba59cecf79e2e7c98e204ced0c331a9e1 1436 clamav_0.95.3+dfsg-1.dsc
 2d4294e55d8471985104e723d3e17978f14de99f 26892533 
clamav_0.95.3+dfsg.orig.tar.gz
 68ef13cef28cecbd17dc6094f35dfaa6657a257f 262781 clamav_0.95.3+dfsg-1.diff.gz
 d6755a11149a32c03b023c25cf26a3b753d2f3c6 24049236 
clamav-base_0.95.3+dfsg-1_all.deb
 c2f30c4925a70f775f44bc05744109a5bc7b444a 229266 
clamav-testfiles_0.95.3+dfsg-1_all.deb
 26c2d8eec5cacdc01310480fe60118d4f965ce6c 1124576 
clamav-docs_0.95.3+dfsg-1_all.deb
 25c71fdddac47fe327191e85c67e0ca763aa3f67 572612 
libclamav6_0.95.3+dfsg-1_amd64.deb
 01f838159ca1a210e51aa3c8268e0b58bf8565d6 276170 clamav_0.95.3+dfsg-1_amd64.deb
 81860fa2a1e3d67368d1b637f6b01b67310ea729 375506 
clamav-daemon_0.95.3+dfsg-1_amd64.deb
 709ce5e09f8a2889175f1d7aa206da054acc94c0 282244 
clamav-freshclam_0.95.3+dfsg-1_amd64.deb
 114c33c38caa9c5c387dd8ce0af6a866ddb16c5b 302732 
clamav-milter_0.95.3+dfsg-1_amd64.deb
 552e3dbaaef7489cd20a43530980f0d86a2f2a80 607286 
libclamav-dev_0.95.3+dfsg-1_amd64.deb
 d87d79f834a67074844f15c4b7ebf9f3492ecad6 1104806 
clamav-dbg_0.95.3+dfsg-1_amd64.deb
Checksums-Sha256: 
 e35136937b752743cac38031fc1566fa6023837eb6e9dbc8ed1e2288c6fc9ca7 1436 
clamav_0.95.3+dfsg-1.dsc
 755442ca97937234230f2007766e758424be8f9d478836dd60dd9d35deefa6db 26892533 
clamav_0.95.3+dfsg.orig.tar.gz
 0dceb30ddd46c84b19272682b6ef3031429d37c6dccc815ed49239c791aa56c9 262781 
clamav_0.95.3+dfsg-1.diff.gz
 b2b1052cc17f51f9af90e3f8165fd0d5523f1d188a8cb3da39385c3741604975 24049236 
clamav-base_0.95.3+dfsg-1_all.deb
 d9435e71988b22a586d46545dedf6e010d61d1130f8eb2eb567c868bac37b8bb 229266 
clamav-testfiles_0.95.3+dfsg-1_all.deb
 55017703f57ca79009f686df110eee4219c950cc3040fa5cc585b9bdb1facb96 1124576 
clamav-docs_0.95.3+dfsg-1_all.deb
 88fc8f2546b1f399f2093f4a8d726e309f79b3995ca27f299c73eba6c4374902 572612 
libclamav6_0.95.3+dfsg-1_amd64.deb
 4ce8d93e3652c307b6899a8f671031877196bc778dd55c038bc3e9535101f7d8 276170 
clamav_0.95.3+dfsg-1_amd64.deb
 9b24551d2460146141ae7df2b51a1c4cc13f355de7ba9751dfadf0574af8df7b 375506 
clamav-daemon_0.95.3+dfsg-1_amd64.deb
 7b41526191f6b32a62f15037c7081da24bc1acb77ada981665eb1fe3125d99e8 282244 
clamav-freshclam_0.95.3+dfsg-1_amd64.deb
 a37e122a7ade16a7cf3e8dbebfbf37d6f4a8dec05cfbd8c30f92d5064d05a7bb 302732 
clamav-milter_0.95.3+dfsg-1_amd64.deb
 f73021a65bdf7e6f6c23930558793e526d8fff9236c628756828f7e470a1a078 607286 
libclamav-dev_0.95.3+dfsg-1_amd64.deb
 07c5750d5f6ffb8604af8555dc08c073b321da5bb0d87dca5ab298a5c63ca021 1104806 
clamav-dbg_0.95.3+dfsg-1_amd64.deb
Files: 
 1a0e0b49da185564cae7354a3818af3d 1436 utils optional clamav_0.95.3+dfsg-1.dsc
 dfe1348c52223ab48f049123021aea4a 26892533 utils optional 
clamav_0.95.3+dfsg.orig.tar.gz
 109cf27f544412bdf44df06ddfb203f9 262781 utils optional 
clamav_0.95.3+dfsg-1.diff.gz
 91de3d438410598ab85d7bbed7161e51 24049236 utils optional 
clamav-base_0.95.3+dfsg-1_all.deb
 f81442bd535ea5226eca74a04c0921a9 229266 utils optional 
clamav-testfiles_0.95.3+dfsg-1_all.deb
 2d3a822c09899381c931472b2fcdcca8 1124576 doc optional 
clamav-docs_0.95.3+dfsg-1_all.deb
 e402706096e5b4952733e67816f5b4df 572612 libs optional 
libclamav6_0.95.3+dfsg-1_amd64.deb
 4df9c934ad063424a649895296ee24c2 276170 utils optional 
clamav_0.95.3+dfsg-1_amd64.deb
 6da41e0bb60e0c91d1e6eef74fb3715d 375506 utils optional 
clamav-daemon_0.95.3+dfsg-1_amd64.deb
 78bc19b7bec48c90e0aa408068771fba 282244 utils optional 
clamav-freshclam_0.95.3+dfsg-1_amd64.deb
 f5518fa27e11db0aa0809a31bd344885 302732 utils extra 
clamav-milter_0.95.3+dfsg-1_amd64.deb
 cc455309f7e1bda0e5c69d29fed86eb6 607286 libdevel optional 
libclamav-dev_0.95.3+dfsg-1_amd64.deb
 15086775732343c37b7cf9b66454ce34 1104806 debug extra 
clamav-dbg_0.95.3+dfsg-1_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAkrvBeIACgkQvx6dH3bVKsQizACfYtRlkIYEiuAzJ6wwNrbE22vv
Wa8An19Duvgr4xLqlTwKJaGvJk1Ufc5E
=ENjC
-----END PGP SIGNATURE-----



--- End Message ---
_______________________________________________
Pkg-clamav-devel mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-clamav-devel

Reply via email to