Bug#407581: cron.daily/mailscanner has exim4 specific cruft.

2007-01-19 Thread pr-reportbug
Package: mailscanner
Version: 4.57.6-1
Severity: important


/etc/cron.daily/mailscanner:
/etc/cron.daily/mailscanner: line 33: exim4: command not found
/etc/cron.daily/mailscanner: line 36: [: eq: unary operator expected


Two problems here.

1) Script is largely exim4 specific.  Logic to determine the MTA in use on the 
system should be run prior to MTA specific code.
At current moment, I would suggest adding logic to detect the presence
of exim4 before proceeding with the exim specific portion of the  cron.daily 
script.

2) Poor quoting of variables in script.

>From the script
if [ ! $SPOOLDIR eq $SPOOLDIRDEFAULT ]; then
# and there is the default spool directory
if [ -d $SPOOLDIRDEFAULT ]; then


Should be something of the form
if [ ! "$SPOOLDIR" eq "$SPOOLDIRDEFAULT" ]; then
# and there is the default spool directory
if [ -d "$SPOOLDIRDEFAULT" ]; then

$SPOOLDIR may be the empty string.  Without quoting this will
confuse the test builtin ("[") in the shell leading to erroneous
results.



-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-xen-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages mailscanner depends on:
ii  debconf [debconf-2.0]   1.5.11   Debian configuration management sy
ii  libarchive-zip-perl 1.16-1   Module for manipulation of ZIP arc
ii  libcompress-zlib-perl   1.42-2   Perl module for creation and manip
ii  libconvert-binhex-perl  1.119+pristine-1 Perl5 module for extracting data f
ii  libconvert-tnef-perl0.17-5   Perl module to read TNEF files
ii  libdbd-sqlite3-perl 1.13-1.1 Perl DBI driver with a self-contai
ii  libfilesys-df-perl  0.92-2   Module to obtain filesystem disk s
ii  libhtml-parser-perl 3.55-1   A collection of modules that parse
ii  libmime-perl5.420-1  Perl5 modules for MIME-compliant m
ii  libnet-cidr-perl0.11-1   Manipulate IPv4/IPv6 netblocks in 
ii  libsys-hostname-long-pe 1.4-1Figure out the long (fully-qualifi
ii  libsys-syslog-perl  0.18-2   Perl interface to the UNIX syslog(
ii  perl5.8.8-7  Larry Wall's Practical Extraction 
ii  postfix [mail-transport 2.3.6-1  A high-performance mail transport 
ii  spamassassin3.1.7-1  Perl-based spam filter using text 
ii  ucf 2.0017   Update Configuration File: preserv
ii  unzip   5.52-9   De-archiver for .zip files

Versions of packages mailscanner recommends:
ii  libnet-cidr-lite-perl 0.20-1 Merge IPv4 or IPv6 CIDR address ra
ii  ncftp 2:3.2.0-1  A user-friendly and well-featured 
ii  tnef  1.4.3-1Tool to unpack MIME application/ms
ii  wget  1.10.2-2   retrieves files from the web

-- debconf information:
  mailscanner/v3_upgrade: Don't upgrade


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



Bug#408161: mailscanner: Option for debconf managed config.

2007-01-23 Thread pr-reportbug
Package: mailscanner
Version: 4.57.6-1
Severity: wishlist


I only ask this because arno-iptables-firewall provides something similar.
It would be nice to have debconf driven configuration of mailscanner
for the site name, MTA, spool directories, and other standard config
tweaks.
For those that like to customize the whole thing by hand have a debconf
question of "Manage mailscanner.conf"


-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-xen-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages mailscanner depends on:
ii  debconf [debconf-2.0]   1.5.11   Debian configuration management sy
ii  libarchive-zip-perl 1.16-1   Module for manipulation of ZIP arc
ii  libcompress-zlib-perl   1.42-2   Perl module for creation and manip
ii  libconvert-binhex-perl  1.119+pristine-1 Perl5 module for extracting data f
ii  libconvert-tnef-perl0.17-5   Perl module to read TNEF files
ii  libdbd-sqlite3-perl 1.13-1.1 Perl DBI driver with a self-contai
ii  libfilesys-df-perl  0.92-2   Module to obtain filesystem disk s
ii  libhtml-parser-perl 3.56-1   A collection of modules that parse
ii  libmime-perl5.420-1  Perl5 modules for MIME-compliant m
ii  libnet-cidr-perl0.11-1   Manipulate IPv4/IPv6 netblocks in 
ii  libsys-hostname-long-pe 1.4-1Figure out the long (fully-qualifi
ii  libsys-syslog-perl  0.18-2   Perl interface to the UNIX syslog(
ii  perl5.8.8-7  Larry Wall's Practical Extraction 
ii  postfix [mail-transport 2.3.6-1  A high-performance mail transport 
ii  spamassassin3.1.7-1  Perl-based spam filter using text 
ii  ucf 2.0018.1 Update Configuration File: preserv
ii  unzip   5.52-9   De-archiver for .zip files

Versions of packages mailscanner recommends:
ii  libnet-cidr-lite-perl 0.20-1 Merge IPv4 or IPv6 CIDR address ra
ii  ncftp 2:3.2.0-1  A user-friendly and well-featured 
ii  tnef  1.4.3-1Tool to unpack MIME application/ms
ii  wget  1.10.2-2   retrieves files from the web

-- debconf information:
  mailscanner/v3_upgrade: Don't upgrade


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



Bug#417802: tasksel: Depends on dmidecode which won't work under a Xen domU

2007-04-04 Thread pr-reportbug
Package: tasksel
Version: 2.66
Severity: normal


This started with
/dev/mem: mmap: Bad address during apt-get -u dist-upgrade on my
Xen domUs.

A little research found the following
http://forum.slicehost.com/comments.php?DiscussionID=82
and then the bottom of
http://bitfolk.com/customer_information.html

[EMAIL PROTECTED]:/var/lib/dpkg$ sudo apt-get --purge remove dmidecode
Reading package lists... Done
Building dependency tree... Done
The following packages will be REMOVED:
  dmidecode* laptop-detect* tasksel* tasksel-data*
0 upgraded, 0 newly installed, 4 to remove and 0 not upgraded.
Need to get 0B of archives.
After unpacking 3645kB disk space will be freed.
Do you want to continue [Y/n]?


Which removes a bit more than I'd like.

Looking through the bug reports, I don't know whether to start here,
thereby hurting users using tasksel to select the desktop task,
or punt the bug over the dmidecode folks to run a test for Xen 
before doing the mmap().

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-xen-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages tasksel depends on:
ii  aptitude  0.4.4-4terminal-based apt frontend
ii  debconf [debconf-2.0] 1.5.13 Debian configuration management sy
ii  liblocale-gettext-perl1.05-1 Using libc functions for internati
ii  tasksel-data  2.66   Official tasks used for installati

tasksel recommends no packages.

-- debconf information:
  tasksel/first:
  tasksel/tasks:
  tasksel/title:


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