Bug#395448: exim4-base: cron script uses "echo -e", which is not recognized by dash

Ming Hua minghua at rice.edu
Fri Oct 27 01:05:25 UTC 2006


Package: exim4-base
Version: 4.63-7
Severity: normal

In the /etc/cron.daily/exim4-base script, it uses
    echo -e "Subject: exim paniclog...\nTo: root\n..."
to send a mail to root about non-empty paniclog.

However this seems to only have desired result in bash.  After I set my
/bin/sh to dash, I am getting mails about paniclog with empty subject,
but "-e Subject: exim paniclog on ..." in the mail body.  Testing with
dash confirms that dash doesn't recognize the "-e" option, and just echo
it literally.

I have exim4 4.63-7 installed here, but I see that 4.63-8 has the same
cron script, so it should also apply.  Also I removed the debconf and
exim4 configuration information, if they are needed, please let me know.

Thanks,
Ming
2006.10.26

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.17-2-k7
Locale: LANG=POSIX, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages exim4-base depends on:
ii  adduser                      3.99        Add and remove users and groups
ii  cron                         3.0pl1-99   management of regular background p
ii  debconf [debconf-2.0]        1.5.6       Debian configuration management sy
ii  exim4-config [exim4-config-2 4.63-7      configuration for the exim MTA (v4
ii  libc6                        2.3.6.ds1-6 GNU C Library: Shared libraries
ii  libdb4.3                     4.3.29-6    Berkeley v4.3 Database Libraries [
ii  lsb-base                     3.1-17      Linux Standard Base 3.1 init scrip
ii  netbase                      4.27        Basic TCP/IP networking system

Versions of packages exim4-base recommends:
ii  psmisc                        22.3-1     Utilities that use the proc filesy

-- debconf information excluded




More information about the Pkg-exim4-maintainers mailing list