Package: spamassassin
Version: 3.3.1-1
Severity: wishlist

/etc/cron.daily/spamassassin sleeps for up to 3600 seconds, probably to
distribute the load on SpamAssassin servers when using sa-update:

  # Sleep for up to 3600 seconds
  RANGE=3600
  number=`od -vAn -N2 -tu4 < /dev/urandom`
  number=`expr $number "%" $RANGE`
  sleep $number

  # Update
  umask 022
  sa-update

This has the disadvantage that cron is blocked while the script is
sleeping; it's also annoying when running the script manually.

If this block would be put in a detached subshell:

(
  # Sleep for up to 3600 seconds
  RANGE=3600
  number=`od -vAn -N2 -tu4 < /dev/urandom`
  number=`expr $number "%" $RANGE`
  sleep $number

  # Update
  umask 022
  sa-update
) &

these problems should be resolved.

-- System Information:
Debian Release: 6.0.5
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/8 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages spamassassin depends on:
pn  libarchive-tar-perl    <none>            (no description available)
ii  libdigest-sha1-perl    2.13-1            NIST SHA-1 message digest algorith
ii  libhtml-parser-perl    3.66-1            collection of modules that parse H
ii  libnet-dns-perl        0.66-2            Perform DNS queries from a Perl sc
ii  libnetaddr-ip-perl     4.028+dfsg-1      IP address manipulation module
ii  libsocket6-perl        0.23-1            Perl extensions for IPv6
ii  libsys-hostname-long-p 1.4-2             Figure out the long (fully-qualifi
ii  libwww-perl            5.836-1           Perl HTTP/WWW client/server librar
ii  perl                   5.10.1-17squeeze3 Larry Wall's Practical Extraction 
ii  perl-modules [libio-zl 5.10.1-17squeeze3 Core Perl modules

Versions of packages spamassassin recommends:
ii  gcc                    4:4.4.5-1         The GNU C compiler
ii  gnupg                  1.4.10-4          GNU privacy guard - a free PGP rep
ii  libc6-dev              2.11.3-3          Embedded GNU C Library: Developmen
ii  libio-socket-inet6-per 2.65-1.1          Object interface for AF_INET6 doma
ii  libmail-spf-perl       2.007-1           Perl implementation of Sender Poli
ii  make                   3.81-8            An utility for Directing compilati
ii  perl [libsys-syslog-pe 5.10.1-17squeeze3 Larry Wall's Practical Extraction 
pn  re2c                   <none>            (no description available)
ii  spamc                  3.3.1-1           Client for SpamAssassin spam filte

Versions of packages spamassassin suggests:
ii  libcompress-zlib-perl  2.024-1           Transitional dummy package for Com
ii  libdbi-perl            1.612-1           Perl Database Interface (DBI)
ii  libio-socket-ssl-perl  1.33-1+squeeze1   Perl module implementing object or
ii  libmail-dkim-perl      0.38-1            cryptographically identify the sen
pn  libnet-ident-perl      <none>            (no description available)
ii  perl [libcompress-zlib 5.10.1-17squeeze3 Larry Wall's Practical Extraction 
ii  pyzor                  1:0.5.0-2         spam-catcher using a collaborative
ii  razor                  1:2.85-3          spam-catcher using a collaborative

-- Configuration Files:
/etc/default/spamassassin changed [not included]

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to