Package: gforge-mta-postfix
Version: 5.0.2-5
Severity: grave
Tags: patch
Justification: renders package unusable
While installing the gforge-mta-postfix variant, apt-get ran in infinite CPU
loop
and blocked in a Perl loop. It can be traced back to
/usr/share/gforge/bin/install-postfix.sh running a Perl snippet. For some reason
my /etc/postfix/main.cf.gforge-new source file had no 'mydestination' field.
I propose to replace:
while (($l = <>) !~ /^\s*mydestination/) { print $l; };
by:
while ($l = <>) { last if /^\s*mydestination/; print $l; };
... which will properly check EOF and let the rest of the script append
the proper 'mydestination' field to main.cf. This patch has been tested.
-- System Information:
Debian Release: 6.0.2
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.26-2-xen-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages gforge-mta-postfix depends on:
ii debconf [debconf-2.0] 1.5.36.1 Debian configuration management sy
ii debianutils 3.4 Miscellaneous utilities specific t
ii gforge-common 5.0.2-5 collaborative development tool - s
ii gforge-db-postgresql [ 5.0.2-5 collaborative development tool - d
ii perl 5.10.1-17squeeze2 Larry Wall's Practical Extraction
ii postfix 2.7.1-1+squeeze1 High-performance mail transport ag
ii postfix-pgsql 2.7.1-1+squeeze1 PostgreSQL map support for Postfix
ii ucf 3.0025+nmu1 Update Configuration File: preserv
gforge-mta-postfix recommends no packages.
gforge-mta-postfix suggests no packages.
-- debconf information:
fusionforge/shared/noreply_to_bitbucket: true
fusionforge/shared/system_name: FusionForge
fusionforge/shared/server_admin: [email protected]
fusionforge/shared/domain_name: coclico.bearstech.lan
fusionforge/shared/users_host: users.coclico.bearstech.lan
fusionforge/shared/lists_host: lists.coclico.bearstech.lan
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]