Package: postfix
Version: 2.9.5-1
Severity: normal

Dear Maintainer,
*** Please consider answering these questions, where appropriate ***

   * What led up to the situation?
   * What exactly did you do (or not do) that was effective (or
     ineffective)?
   * What was the outcome of this action?
   * What outcome did you expect instead?

*** End of the template - remove these lines ***

Package: postfix
Version: 2.9.5-1
Severity: normal

Dear Maintainer,

Because of "echo -e", init.d script fails to create /dev/random in
/var/spool/postfix if /bin/sh is pointed to dash.
As the result, postfix-ldap cannot use SSL out of the box.

The following change should fix this problem:

diff --git a/init.d/postfix b/init.d/postfix
--- a/init.d/postfix
+++ b/init.d/postfix
@@ -156,7 +156,7 @@ configure_instance() {
            if [ -f  ${file} ]; then chmod a+rX ${file}; fi
        done
        # ldaps needs this. debian bug 572841
-       echo -e /dev/random\\n/dev/urandom | cpio -pdL --quiet . 2>/dev/null || 
true
+       printf /dev/random\\n/dev/urandom | cpio -pdL --quiet . 2>/dev/null || 
true
        rm -f usr/lib/zoneinfo/localtime
        mkdir -p usr/lib/zoneinfo
        ln -sf /etc/localtime usr/lib/zoneinfo/localtime

Regards,

-- System Information:
Debian Release: 7.0
  APT prefers unstable
  APT policy: (510, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages postfix depends on:
ii  adduser                3.113+nmu3
ii  cpio                   2.11+dfsg-0.1
ii  debconf [debconf-2.0]  1.5.49
ii  dpkg                   1.16.9
ii  libc6                  2.13-38
ii  libdb5.1               5.1.29-5
ii  libsasl2-2             2.1.25.dfsg1-6
ii  libsqlite3-0           3.7.15.2-1
ii  libssl1.0.0            1.0.1c-4
ii  lsb-base               4.1+Debian9
ii  netbase                5.0
ii  ssl-cert               1.0.32

Versions of packages postfix recommends:
ii  python  2.7.3-3

Versions of packages postfix suggests:
ii  bsd-mailx [mail-reader]  8.1.2-0.20111106cvs-1
pn  dovecot-common           <none>
ii  emacs23 [mail-reader]    23.4+1-4
ii  emacs24 [mail-reader]    24.2+1-1
ii  libsasl2-modules         2.1.25.dfsg1-6
ii  mutt [mail-reader]       1.5.21-6.2
pn  postfix-cdb              <none>
pn  postfix-doc              <none>
pn  postfix-ldap             <none>
pn  postfix-mysql            <none>
pn  postfix-pcre             <none>
pn  postfix-pgsql            <none>
ii  procmail                 3.22-20
ii  resolvconf               1.69
pn  sasl2-bin                <none>
ii  sylpheed [mail-reader]   3.3.0-1
pn  ufw                      <none>

-- Configuration Files:
/etc/init.d/postfix changed [not included]

-- debconf information excluded

-- System Information:
Debian Release: 7.0
  APT prefers unstable
  APT policy: (510, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages postfix depends on:
ii  adduser                3.113+nmu3
ii  cpio                   2.11+dfsg-0.1
ii  debconf [debconf-2.0]  1.5.49
ii  dpkg                   1.16.9
ii  libc6                  2.13-38
ii  libdb5.1               5.1.29-5
ii  libsasl2-2             2.1.25.dfsg1-6
ii  libsqlite3-0           3.7.15.2-1
ii  libssl1.0.0            1.0.1c-4
ii  lsb-base               4.1+Debian9
ii  netbase                5.0
ii  ssl-cert               1.0.32

Versions of packages postfix recommends:
ii  python  2.7.3-3

Versions of packages postfix suggests:
ii  bsd-mailx [mail-reader]  8.1.2-0.20111106cvs-1
pn  dovecot-common           <none>
ii  emacs23 [mail-reader]    23.4+1-4
ii  emacs24 [mail-reader]    24.2+1-1
ii  libsasl2-modules         2.1.25.dfsg1-6
ii  mutt [mail-reader]       1.5.21-6.2
pn  postfix-cdb              <none>
pn  postfix-doc              <none>
pn  postfix-ldap             <none>
pn  postfix-mysql            <none>
pn  postfix-pcre             <none>
pn  postfix-pgsql            <none>
ii  procmail                 3.22-20
ii  resolvconf               1.69
pn  sasl2-bin                <none>
ii  sylpheed [mail-reader]   3.3.0-1
pn  ufw                      <none>

-- Configuration Files:
/etc/init.d/postfix changed [not included]

-- debconf information excluded


-- 
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