after apt-get upgraded bash to 3.0, postfix-{pcre, ldap, pgsql, mysql} failed to configure

Bug #7234 reported by Debian Bug Importer
6
Affects Status Importance Assigned to Milestone
postfix (Debian)
Fix Released
Unknown
postfix (Ubuntu)
Invalid
High
Unassigned

Bug Description

Automatically imported from Debian bug report #262127 http://bugs.debian.org/262127

Revision history for this message
In , LaMont Jones (lamont) wrote : severity of 262127 is serious

# Automatically generated email from bts, devscripts version 2.7.95.1
severity 262127 serious

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Automatically imported from Debian bug report #262127 http://bugs.debian.org/262127

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-Id: <email address hidden>
Date: Thu, 29 Jul 2004 21:17:51 +0000
From: "James H. Cloos Jr." <email address hidden>
To: Debian Bug Tracking System <email address hidden>
Subject: after apt-get upgraded bash to 3.0, postfix-{pcre, ldap, pgsql, mysql} failed to configure

Package: postfix
Version: 2.1.4-2
Severity: important

In sid, after today's upgrade -- which includes bash 3.0 and postifx
packages -- config of postifx-{pcre,ldap,pgsql,mysql} fail with this:

Setting up postfix-ldap (2.1.4-2) ...
/usr/share/postfix/postinst.functions: line 4: $2: cannot assign in this way
dpkg: error processing postfix-ldap (--configure):
 subprocess post-installation script returned error exit status 1
Setting up postfix-mysql (2.1.4-2) ...
/usr/share/postfix/postinst.functions: line 4: $2: cannot assign in this way
dpkg: error processing postfix-mysql (--configure):
 subprocess post-installation script returned error exit status 1
Setting up postfix-pcre (2.1.4-2) ...
/usr/share/postfix/postinst.functions: line 4: $2: cannot assign in this way
dpkg: error processing postfix-pcre (--configure):
 subprocess post-installation script returned error exit status 1
Setting up postfix-pgsql (2.1.4-2) ...
/usr/share/postfix/postinst.functions: line 4: $2: cannot assign in this way
dpkg: error processing postfix-pgsql (--configure):
 subprocess post-installation script returned error exit status 1
Setting up bug (4.0.0) ...
Errors were encountered while processing:
 postfix-ldap
 postfix-mysql
 postfix-pcre
 postfix-pgsql
E: Sub-process /usr/bin/dpkg returned an error code (1)

all look to be bash-related.

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.4.24-1um
Locale: LANG=C, LC_CTYPE=C

Versions of packages postfix depends on:
ii adduser 3.58 Add and remove users and groups
ii debconf [debconf-2.0] 1.4.30 Debian configuration management sy
ii dpkg 1.10.23 Package maintenance system for Deb
ii libc6 2.3.2.ds1-13 GNU C Library: Shared libraries an
ii libdb4.2 4.2.52-16 Berkeley v4.2 Database Libraries [
ii libgdbm3 1.8.3-2 GNU dbm database routines (runtime
ii netbase 4.18 Basic TCP/IP networking system

-- debconf information excluded

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-Id: <email address hidden>
Date: Thu, 29 Jul 2004 20:01:20 -0600
From: LaMont Jones <email address hidden>
To: <email address hidden>
Subject: severity of 262127 is serious

# Automatically generated email from bts, devscripts version 2.7.95.1
severity 262127 serious

Revision history for this message
Matt Zimmerman (mdz) wrote :

We don't have bash 3.0, and I am SO GLAD

Revision history for this message
In , Andreas Schultz (aschultz) wrote : postfix: invalid variable substitution in postinst.functions

Package: postfix
Version: 2.1.4-2
Followup-For: Bug #262127

The problem is caused by the variable substitution in line 4 of
postinst.functions. This line reads:

     mkmap=${2:=}

The := substitution is not allowed for positional paramters and is IMHO
not what is intended here anyway. If have solved the problem by replacing
the line with:

     mkmap=${2:-}

However, i suspect that the correct solution is something like:

     mkmap=${2:-/usr/bin/postmap}

Andreas

PS: somebody pls upgrade this bug to grave and merge with #262194

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.4.24-pre1-vs1.22
Locale: LANG=C, LC_CTYPE=C

Versions of packages postfix depends on:
ii adduser 3.58 Add and remove users and groups
ii debconf [debconf-2.0] 1.4.30 Debian configuration management sy
ii dpkg 1.10.23 Package maintenance system for Deb
ii libc6 2.3.2.ds1-13 GNU C Library: Shared libraries an
ii libdb4.2 4.2.52-16 Berkeley v4.2 Database Libraries [
ii libgdbm3 1.8.3-2 GNU dbm database routines (runtime
ii netbase 4.18 Basic TCP/IP networking system

-- debconf information excluded

Revision history for this message
In , LaMont Jones (lamont) wrote : Bug#262127: fixed in postfix 2.1.4-3
Download full text (3.4 KiB)

Source: postfix
Source-Version: 2.1.4-3

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

postfix-dev_2.1.4-3_all.deb
  to pool/main/p/postfix/postfix-dev_2.1.4-3_all.deb
postfix-doc_2.1.4-3_all.deb
  to pool/main/p/postfix/postfix-doc_2.1.4-3_all.deb
postfix-ldap_2.1.4-3_i386.deb
  to pool/main/p/postfix/postfix-ldap_2.1.4-3_i386.deb
postfix-mysql_2.1.4-3_i386.deb
  to pool/main/p/postfix/postfix-mysql_2.1.4-3_i386.deb
postfix-pcre_2.1.4-3_i386.deb
  to pool/main/p/postfix/postfix-pcre_2.1.4-3_i386.deb
postfix-pgsql_2.1.4-3_i386.deb
  to pool/main/p/postfix/postfix-pgsql_2.1.4-3_i386.deb
postfix-tls_2.1.4-3_i386.deb
  to pool/main/p/postfix/postfix-tls_2.1.4-3_i386.deb
postfix_2.1.4-3.diff.gz
  to pool/main/p/postfix/postfix_2.1.4-3.diff.gz
postfix_2.1.4-3.dsc
  to pool/main/p/postfix/postfix_2.1.4-3.dsc
postfix_2.1.4-3_i386.deb
  to pool/main/p/postfix/postfix_2.1.4-3_i386.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 address hidden>,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
LaMont Jones <email address hidden> (supplier of updated postfix 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 address hidden>)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Fri, 30 Jul 2004 01:39:49 -0600
Source: postfix
Binary: postfix-doc postfix-pgsql postfix-ldap postfix-dev postfix-tls postfix-pcre postfix postfix-mysql
Architecture: source all i386
Version: 2.1.4-3
Distribution: unstable
Urgency: low
Maintainer: LaMont Jones <email address hidden>
Changed-By: LaMont Jones <email address hidden>
Description:
 postfix - A high-performance mail transport agent
 postfix-dev - Postfix loadable modules development environment
 postfix-doc - Postfix documentation
 postfix-ldap - LDAP map support for Postfix
 postfix-mysql - MYSQL map support for Postfix
 postfix-pcre - PCRE map support for Postfix
 postfix-pgsql - PGSQL map support for Postfix
 postfix-tls - TLS and SASL support for Postfix
Closes: 258775 262127 262194
Changes:
 postfix (2.1.4-3) unstable; urgency=low
 .
   * Cleanup typos in postinst. Closes: #262194,#262127
   * Fix typo in smtp/TLS. Closes: #258775
Files:
 c025660ab9042b06c0422919c68b4518 832 mail extra postfix_2.1.4-3.dsc
 9ef8265514b11311f96b7aaadfc2d279 421357 mail extra postfix_2.1.4-3.diff.gz
 88712fc5d6026969a9749a93e73a3e19 793716 mail extra postfix_2.1.4-3_i386.deb
 0cecd04f98f5304905efe8ac3ad24c0b 34756 mail extra postfix-ldap_2.1.4-3_i386.deb
 ce42d84f960a9c791c39b60056b3908b 29812 mail extra postfix-pcre_2.1.4-3_i386.deb
 d81beb17836e58f01d1552392dcd6dd2 30092 mail extra postfix-mysql_2.1.4-3_i386.deb
 90b58aed808919973821a09c64413f0b 30498 mail extra postfix-pgsql_2.1.4-3_i386.deb
 fe6c9a560515e86ce0a081f802fda157 155286 mail extra postfix-tls_2.1.4-3_i386.deb
 27e9b4cfb0d968f45e74d...

Read more...

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-Id: <email address hidden>
Date: Fri, 30 Jul 2004 07:40:17 +0000
From: Andreas Schultz <email address hidden>
To: Debian Bug Tracking System <email address hidden>
Subject: postfix: invalid variable substitution in postinst.functions

Package: postfix
Version: 2.1.4-2
Followup-For: Bug #262127

The problem is caused by the variable substitution in line 4 of
postinst.functions. This line reads:

     mkmap=${2:=}

The := substitution is not allowed for positional paramters and is IMHO
not what is intended here anyway. If have solved the problem by replacing
the line with:

     mkmap=${2:-}

However, i suspect that the correct solution is something like:

     mkmap=${2:-/usr/bin/postmap}

Andreas

PS: somebody pls upgrade this bug to grave and merge with #262194

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.4.24-pre1-vs1.22
Locale: LANG=C, LC_CTYPE=C

Versions of packages postfix depends on:
ii adduser 3.58 Add and remove users and groups
ii debconf [debconf-2.0] 1.4.30 Debian configuration management sy
ii dpkg 1.10.23 Package maintenance system for Deb
ii libc6 2.3.2.ds1-13 GNU C Library: Shared libraries an
ii libdb4.2 4.2.52-16 Berkeley v4.2 Database Libraries [
ii libgdbm3 1.8.3-2 GNU dbm database routines (runtime
ii netbase 4.18 Basic TCP/IP networking system

-- debconf information excluded

Revision history for this message
In , LaMont Jones (lamont) wrote : Re: Bug#262226: postfix-mysql and postfix-ldap fail to install - postfix.functions errors

severity 262226 serious
close 262226
merge 262226 262127
--

fixed in -3, which is in incoming.

lamont

Revision history for this message
Debian Bug Importer (debzilla) wrote :
Download full text (3.7 KiB)

Message-Id: <email address hidden>
Date: Fri, 30 Jul 2004 04:02:06 -0400
From: LaMont Jones <email address hidden>
To: <email address hidden>
Subject: Bug#262127: fixed in postfix 2.1.4-3

Source: postfix
Source-Version: 2.1.4-3

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

postfix-dev_2.1.4-3_all.deb
  to pool/main/p/postfix/postfix-dev_2.1.4-3_all.deb
postfix-doc_2.1.4-3_all.deb
  to pool/main/p/postfix/postfix-doc_2.1.4-3_all.deb
postfix-ldap_2.1.4-3_i386.deb
  to pool/main/p/postfix/postfix-ldap_2.1.4-3_i386.deb
postfix-mysql_2.1.4-3_i386.deb
  to pool/main/p/postfix/postfix-mysql_2.1.4-3_i386.deb
postfix-pcre_2.1.4-3_i386.deb
  to pool/main/p/postfix/postfix-pcre_2.1.4-3_i386.deb
postfix-pgsql_2.1.4-3_i386.deb
  to pool/main/p/postfix/postfix-pgsql_2.1.4-3_i386.deb
postfix-tls_2.1.4-3_i386.deb
  to pool/main/p/postfix/postfix-tls_2.1.4-3_i386.deb
postfix_2.1.4-3.diff.gz
  to pool/main/p/postfix/postfix_2.1.4-3.diff.gz
postfix_2.1.4-3.dsc
  to pool/main/p/postfix/postfix_2.1.4-3.dsc
postfix_2.1.4-3_i386.deb
  to pool/main/p/postfix/postfix_2.1.4-3_i386.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 address hidden>,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
LaMont Jones <email address hidden> (supplier of updated postfix 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 address hidden>)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Fri, 30 Jul 2004 01:39:49 -0600
Source: postfix
Binary: postfix-doc postfix-pgsql postfix-ldap postfix-dev postfix-tls postfix-pcre postfix postfix-mysql
Architecture: source all i386
Version: 2.1.4-3
Distribution: unstable
Urgency: low
Maintainer: LaMont Jones <email address hidden>
Changed-By: LaMont Jones <email address hidden>
Description:
 postfix - A high-performance mail transport agent
 postfix-dev - Postfix loadable modules development environment
 postfix-doc - Postfix documentation
 postfix-ldap - LDAP map support for Postfix
 postfix-mysql - MYSQL map support for Postfix
 postfix-pcre - PCRE map support for Postfix
 postfix-pgsql - PGSQL map support for Postfix
 postfix-tls - TLS and SASL support for Postfix
Closes: 258775 262127 262194
Changes:
 postfix (2.1.4-3) unstable; urgency=low
 .
   * Cleanup typos in postinst. Closes: #262194,#262127
   * Fix typo in smtp/TLS. Closes: #258775
Files:
 c025660ab9042b06c0422919c68b4518 832 mail extra postfix_2.1.4-3.dsc
 9ef8265514b11311f96b7aaadfc2d279 421357 mail extra postfix_2.1.4-3.diff.gz
 88712fc5d6026969a9749a93e73a3e19 793716 mail extra postfix_2.1.4-3_i386.deb
 0cecd04f98f5304905efe8ac3ad24c0b 34756 mail extra postfix-ldap_2.1.4-3_i386.deb
 ce42d84f960a9c791c39b60056b3908b 29812 mail extra postfix-pcre_2.1.4-3_i386.deb
 d81beb17836e58f01d1552392dcd6dd2 30092 mail extra postfix-...

Read more...

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Fri, 30 Jul 2004 03:17:32 -0600
From: LaMont Jones <email address hidden>
To: Peter Hicks <email address hidden>,
 <email address hidden>
Cc: <email address hidden>
Subject: Re: Bug#262226: postfix-mysql and postfix-ldap fail to install - postfix.functions errors

severity 262226 serious
close 262226
merge 262226 262127
--

fixed in -3, which is in incoming.

lamont

Changed in postfix:
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.