Your message dated Sun, 06 Jul 2008 22:02:06 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#488085: fixed in fetchmail 6.3.9~rc2-3
has caused the Debian Bug report #488085,
regarding /etc/init.d/fetchmail try-restart should be able to not start 
fetchmail if it is not running
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.)


-- 
488085: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=488085
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: fetchmail
Version: 6.3.9~rc2-2
Severity: wishlist
Tags: patch


I'm using DHCP here on my computer and the client for DHCP starts fetchmail 
when my computer got a response. The problem is that with that fetchmail is 
started before postfix and spamd, which is not only ugly but leads to at least 
one uncheckt spammail per boot. So I investigated that problem and found 
try-restart behaving like it does, starting the daemon if it is not running 
already (which, in my opinion, is not intuitive). And so it came to this 
wishlist item.

To lessen the pain (if you should recon this item), I already made that small 
change:

diff --git a/debian/fetchmail.default b/debian/fetchmail.default
index c145c37..9e2a5d1 100644
--- a/debian/fetchmail.default
+++ b/debian/fetchmail.default
@@ -9,3 +9,6 @@

 # Declare here if we want to start fetchmail. 'yes' or 'no'
 START_DAEMON=no
+
+# Start fetchmail on try-restart ('normal') or not ('dontstart').
+TRY_RESTART=normal
diff --git a/debian/init b/debian/init
index e5c94ff..8931cb8 100644
--- a/debian/init
+++ b/debian/init
@@ -177,7 +177,9 @@ case "$1" in
                                exit 0
                        fi
                fi
-               test -f /etc/rc`/sbin/runlevel | cut -d' ' -f2`.d/S*fetchmail* 
&& $0 start
+               if [ ! "x$TRY_RESTART" = "xdontstart" ]; then
+                   test -f /etc/rc`/sbin/runlevel | cut -d' ' 
-f2`.d/S*fetchmail* && $0 start
+               fi
                ;;
        awaken)
                log_begin_msg "Awakening mail retriever agent:" "fetchmail"


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (900, 'unstable'), (300, 'testing'), (100, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.25-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages fetchmail depends on:
ii  adduser               3.108              add and remove users and groups
ii  debianutils           2.29               Miscellaneous utilities specific t
ii  libc6                 2.7-12             GNU C Library: Shared libraries
ii  libcomerr2            1.40.11-1          common error description library
ii  libkrb53              1.6.dfsg.4~beta1-3 MIT Kerberos runtime libraries
ii  libssl0.9.8           0.9.8g-10.1        SSL shared libraries
ii  lsb-base              3.2-12             Linux Standard Base 3.2 init scrip

Versions of packages fetchmail recommends:
ii  ca-certificates               20080617   Common CA certificates

-- no debconf information



--- End Message ---
--- Begin Message ---
Source: fetchmail
Source-Version: 6.3.9~rc2-3

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

fetchmail_6.3.9~rc2-3.diff.gz
  to pool/main/f/fetchmail/fetchmail_6.3.9~rc2-3.diff.gz
fetchmail_6.3.9~rc2-3.dsc
  to pool/main/f/fetchmail/fetchmail_6.3.9~rc2-3.dsc
fetchmail_6.3.9~rc2-3_i386.deb
  to pool/main/f/fetchmail/fetchmail_6.3.9~rc2-3_i386.deb
fetchmailconf_6.3.9~rc2-3_all.deb
  to pool/main/f/fetchmail/fetchmailconf_6.3.9~rc2-3_all.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.
Hector Garcia <[EMAIL PROTECTED]> (supplier of updated fetchmail 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: Fri, 04 Jul 2008 18:28:29 +0200
Source: fetchmail
Binary: fetchmail fetchmailconf
Architecture: source all i386
Version: 6.3.9~rc2-3
Distribution: unstable
Urgency: low
Maintainer: Fetchmail Maintainers <[EMAIL PROTECTED]>
Changed-By: Hector Garcia <[EMAIL PROTECTED]>
Description: 
 fetchmail  - SSL enabled POP3, APOP, IMAP mail gatherer/forwarder
 fetchmailconf - fetchmail configurator
Closes: 488085
Changes: 
 fetchmail (6.3.9~rc2-3) unstable; urgency=low
 .
   * Updated debian/resolvconf to call awake instead of try-restart.
        (Closes: #488085).
Checksums-Sha1: 
 45788fa93aff78b9d2b8951d6834d12641075905 1347 fetchmail_6.3.9~rc2-3.dsc
 2127fe2161056aae488d05557da6fbb26e05dd0e 46585 fetchmail_6.3.9~rc2-3.diff.gz
 5d3553d1a8cc919dd29a23f9f6231dbaa74d5576 63216 
fetchmailconf_6.3.9~rc2-3_all.deb
 7f4e1c994ff2a7f06e105f5eda04cda223846c79 655566 fetchmail_6.3.9~rc2-3_i386.deb
Checksums-Sha256: 
 62a609e015d0f42a75843f5294cc2c5d1d844bbec75aaf941fc9eeb2ac6af073 1347 
fetchmail_6.3.9~rc2-3.dsc
 8064ca7ed5a091ea08aa18b46f85abfcce24d383cf82512b63b27c9c69eb42cd 46585 
fetchmail_6.3.9~rc2-3.diff.gz
 5ae5facc5e23e43375c010c83b7a49789554d4cbdc54f063bbd27f6d4cc0c85a 63216 
fetchmailconf_6.3.9~rc2-3_all.deb
 7c9bd39b4fdb1e2592192ba6336c5c1b9db27124818008d1992df40a05f694d3 655566 
fetchmail_6.3.9~rc2-3_i386.deb
Files: 
 fcb57dafee33c397b20039296be7f92c 1347 mail optional fetchmail_6.3.9~rc2-3.dsc
 c3d1fad71d9e9aac3db8b4b88079ab1d 46585 mail optional 
fetchmail_6.3.9~rc2-3.diff.gz
 c7f0121f2ec079f0460165d89c2cd414 63216 mail optional 
fetchmailconf_6.3.9~rc2-3_all.deb
 c37d9a73042dcd0eb50191682c276603 655566 mail optional 
fetchmail_6.3.9~rc2-3_i386.deb

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

iEYEARECAAYFAkhxPVEACgkQMwsDi2xjdG348ACg+vdVtUGDyTlHMjC04vAQSAKA
CGMAoJjCXlMifkf4FZiHP/ZoTsUqdc/0
=4rH3
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to