Your message dated Mon, 03 Oct 2005 13:17:52 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#319258: fixed in mailscanner 4.46.2-1
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; 20 Jul 2005 18:41:17 +0000
>From [EMAIL PROTECTED] Wed Jul 20 11:41:17 2005
Return-path: <[EMAIL PROTECTED]>
Received: from homer.panici.net [207.234.224.187] 
        by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
        id 1DvJVN-0001rR-00; Wed, 20 Jul 2005 11:41:17 -0700
Received: from homer.panici.net (localhost.localdomain [127.0.0.1])
        by homer.panici.net (8.13.4/8.13.4/Debian-3) with ESMTP id 
j6KIfAaa022354
        for <[EMAIL PROTECTED]>; Wed, 20 Jul 2005 18:41:10 GMT
Received: (from [EMAIL PROTECTED])
        by homer.panici.net (8.13.4/8.13.4/Submit) id j6KIfACR022353;
        Wed, 20 Jul 2005 18:41:10 GMT
Message-Id: <[EMAIL PROTECTED]>
Content-Type: multipart/mixed; boundary="===============1214084466=="
MIME-Version: 1.0
From: Paddy Smith <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: mailscanner: respawn broken - what happenned to MailScanner.off lock ?
X-Mailer: reportbug 3.8
Date: Wed, 20 Jul 2005 18:41:10 +0000
X-panicinet-MailScanner: Found to be clean
X-panicinet-MailScanner-SpamCheck: not spam, SpamAssassin (score=-5.899,
        required 5, autolearn=not spam, ALL_TRUSTED -3.30, BAYES_00 -2.60)
X-panicinet-MailScanner-From: [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-Level: 
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

This is a multi-part MIME message sent by reportbug.

--===============1214084466==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Package: mailscanner
Version: 4.41.3-2
Severity: important
Tags: patch


Hi Mathias,

I take /etc/cron.d/mailscanner (and its equivalent upstream) to be a 
respawn mechanism: If the service ceases to function, the periodic respawn 
starts it up again.

The upstream init.d script and cron respawn script use a lockfile
Mailscanner.off, but this is missing in the Debian version.  

The lockfile enables the least surprise behaviour of when I (the admin)
stops the service, it stays stopped.  Or when I change to a runlevel in 
which the service is not stopped, it stays stopped.  And so on ...

Clearly I could abuse the $run_mailscanner /etc/default variable to
get this effect, but the default behaviour would still wrong.

I attach an (untested!) patch against 4.41.3-2 which attempts to simply 
reinstate this mechanism.

Please consider fixing this in future sarge point releases.

Regards,
Paddy

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-k7
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages mailscanner depends on:
hi  debconf                       1.4.30.13  Debian configuration management sy
hi  libarchive-zip-perl           1.14-1     Module for manipulation of ZIP arc
hi  libcompress-zlib-perl         1.34-1     Perl module for creation and manip
hi  libconvert-binhex-perl        1.119-2    Perl5 module for extracting data f
hi  libconvert-tnef-perl          0.17-4     Perl module to read TNEF files
hi  libhtml-parser-perl           3.45-2     A collection of modules that parse
hi  libmime-perl                  5.417-1    Perl5 modules for MIME-compliant m
hi  libnet-cidr-perl              0.10-1     Manipulate IPv4/IPv6 netblocks in 
hi  perl                          5.8.4-8    Larry Wall's Practical Extraction 
hi  sendmail-bin [mail-transport- 8.13.4-3   powerful, efficient, and scalable 
ii  spamassassin                  3.0.3-2    Perl-based spam filter using text 
hi  ucf                           1.17       Update Configuration File: preserv
hi  unzip                         5.52-1     De-archiver for .zip files
hi  wget                          1.9.1-12   retrieves files from the web

--===============1214084466==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
        filename="mailscanner_reinstate_respawn_lock.diff"

diff -urN mailscanner-4.41.3/debian/cron.d mailscanner-4.41.3-0hs1/debian/cron.d
--- mailscanner-4.41.3/debian/cron.d    2005-07-20 19:25:32.611364026 +0100
+++ mailscanner-4.41.3-0hs1/debian/cron.d       2005-07-20 19:30:54.755422483 
+0100
@@ -9,4 +9,4 @@
 # them from stepping on each other's toes.  The worst that will
 # happen is that they will temporarily corrupt the database...
 
[EMAIL PROTECTED]       root    [ -f $LOCKFILE ] && exit 0; run_mailscanner=0; 
run_nice=0; if [ -f /etc/default/mailscanner ]; then . 
/etc/default/mailscanner; fi; [ $run_mailscanner = 0 ] && exit 0; trap "rm -f 
$LOCKFILE" EXIT; touch $LOCKFILE; /usr/bin/nice -$run_nice 
/usr/sbin/check_mailscanner >/dev/null 2>&1; exit 0
[EMAIL PROTECTED]       root    [ -f $LOCKFILE ] && exit 0; run_mailscanner=0; 
run_nice=0; if [ -f /etc/default/mailscanner ]; then . 
/etc/default/mailscanner; fi; [ $run_mailscanner = 0 ] && exit 0; [ -f 
/var/lock/subsys/MailScanner.off ] && exit 0; trap "rm -f $LOCKFILE" EXIT; 
touch $LOCKFILE; /usr/bin/nice -$run_nice /usr/sbin/check_mailscanner 
>/dev/null 2>&1; exit 0
diff -urN mailscanner-4.41.3/debian/init.d mailscanner-4.41.3-0hs1/debian/init.d
--- mailscanner-4.41.3/debian/init.d    2005-07-20 19:25:32.637361367 +0100
+++ mailscanner-4.41.3-0hs1/debian/init.d       2005-07-20 19:32:29.949687953 
+0100
@@ -90,6 +90,7 @@
        RETVAL=$?
        if [ $RETVAL -eq 0 ]; then
            rm -f /var/lock/subsys/mailscanner
+           touch /var/lock/subsys/MailScanner.off
        fi
        if ps axww | grep -i $DAEMON | grep -qv grep; then
            echo -n "(waiting"

--===============1214084466==--

---------------------------------------
Received: (at 319258-close) by bugs.debian.org; 3 Oct 2005 20:23:37 +0000
>From [EMAIL PROTECTED] Mon Oct 03 13:23:37 2005
Return-path: <[EMAIL PROTECTED]>
Received: from katie by spohr.debian.org with local (Exim 3.36 1 (Debian))
        id 1EMWky-00005b-00; Mon, 03 Oct 2005 13:17:52 -0700
From: Matthias Klose <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.56 $
Subject: Bug#319258: fixed in mailscanner 4.46.2-1
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Mon, 03 Oct 2005 13:17:52 -0700
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=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-CrossAssassin-Score: 8

Source: mailscanner
Source-Version: 4.46.2-1

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

mailscanner_4.46.2-1.diff.gz
  to pool/main/m/mailscanner/mailscanner_4.46.2-1.diff.gz
mailscanner_4.46.2-1.dsc
  to pool/main/m/mailscanner/mailscanner_4.46.2-1.dsc
mailscanner_4.46.2-1_all.deb
  to pool/main/m/mailscanner/mailscanner_4.46.2-1_all.deb
mailscanner_4.46.2.orig.tar.gz
  to pool/main/m/mailscanner/mailscanner_4.46.2.orig.tar.gz



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.
Matthias Klose <[EMAIL PROTECTED]> (supplier of updated mailscanner 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.7
Date: Mon,  3 Oct 2005 18:16:33 +0000
Source: mailscanner
Binary: mailscanner
Architecture: source all
Version: 4.46.2-1
Distribution: unstable
Urgency: low
Maintainer: Matthias Klose <[EMAIL PROTECTED]>
Changed-By: Matthias Klose <[EMAIL PROTECTED]>
Description: 
 mailscanner - email virus scanner and spam tagger
Closes: 293667 309641 309778 312747 318137 319258 320734 321039 330451 330780
Changes: 
 mailscanner (4.46.2-1) unstable; urgency=low
 .
   * New upstream version.
   * Drop dependency on ncftp | wget, add it to the recommends (closes: 
#309778).
   * Add debconf translations (closes: #312747, #330451, #330780).
   * Tweak logcheck rules for postfix (closes: #320734).
   * Ignore errors from writing on /dev/tty (closes: #321039).
   * Don't distribute /etc/spam.assassin.prefs.conf (closes: #309641).
   * Fix lockfile name in init and cron scripts (closes: #319258).
   * Depend on debconf (>= 0.5) | debconf-2.0 (closes: #293667).
   * Make autoupdate scripts executable (closes: #318137).
Files: 
 2699853c636c54280bef8db05f215cb4 605 mail optional mailscanner_4.46.2-1.dsc
 4de1781a70a17ab51032067755ef6606 2423761 mail optional 
mailscanner_4.46.2.orig.tar.gz
 990f1eb0b241bf9e69702472d7832463 30324 mail optional 
mailscanner_4.46.2-1.diff.gz
 b6ba494d189d2e7dccbaa8df603bd358 2445668 mail optional 
mailscanner_4.46.2-1_all.deb

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

iD8DBQFDQYOoStlRaw+TLJwRAtghAKC1c0+X5RMQFGKHMOwjFDPfwOQ3EwCfVgTB
zoEvxYpdQjGau3HQ+3VlL+Q=
=oDRR
-----END PGP SIGNATURE-----


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to