Debian Bug report logs - #581351
dash breaks postfix

version graph

Package: dash; Maintainer for dash is Andrej Shadura <andrewsh@debian.org>; Source for dash is src:dash (PTS, buildd, popcon).

Reported by: Michael Meskes <meskes@debian.org>

Date: Wed, 12 May 2010 11:24:02 UTC

Severity: normal

Tags: confirmed, upstream

Merged with 581497, 581528, 581575, 581609, 581613, 581669, 584178

Found in version dash/0.5.5.1-4

Fixed in version dash/0.5.5.1-5

Done: Ritesh Raj Sarraf <rrs@researchut.com>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Gerrit Pape <pape@smarden.org>:
Bug#581351; Package dash. (Wed, 12 May 2010 11:24:05 GMT) (full text, mbox, link).


Acknowledgement sent to Michael Meskes <meskes@debian.org>:
New Bug report received and forwarded. Copy sent to Gerrit Pape <pape@smarden.org>. (Wed, 12 May 2010 11:24:05 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Michael Meskes <meskes@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: dash breaks postfix
Date: Wed, 12 May 2010 13:17:37 +0200
Package: dash
Version: 0.5.5.1-4
Severity: critical
Justification: breaks unrelated software

I'm not sure and didn't investigate whether this is really dash that is at
fault or the postfix package but since upgrading dash postfix cannot be started
anymore. Downgrading dash fixed it.

michael@feivel:~$ sudo /etc/init.d/postfix restart
Stopping Postfix Mail Transport Agent: postfix.
Starting Postfix Mail Transport Agent: postfix.
michael@feivel:~$ sudo dpkg -i dash_0.5.5.1-4_amd64.deb 
(Reading database ... 172319 files and directories currently installed.)
Preparing to replace dash 0.5.5.1-3 (using dash_0.5.5.1-4_amd64.deb) ...
Unpacking replacement dash ...
Setting up dash (0.5.5.1-4) ...
Processing triggers for man-db ...
Processing triggers for menu ...
michael@feivel:~$ sudo /etc/init.d/postfix restart
Stopping Postfix Mail Transport Agent: postfix.
Starting Postfix Mail Transport Agent: postfixunknown type for $config_directory:d:root:-:755:u in /usr/lib/postfix/postfix-files1
postfix/postfix-script: warning: unable to create missing queue directories
postfix/postfix-script: fatal: Postfix integrity check failed!
 failed!

Michael

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (101, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/8 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages dash depends on:
ii  debianutils                   3.2.3      Miscellaneous utilities specific t
ii  dpkg                          1.15.7.1   Debian package management system
ii  libc6                         2.10.2-8   Embedded GNU C Library: Shared lib

dash recommends no packages.

dash suggests no packages.

-- debconf information:
* dash/sh: true




Information forwarded to debian-bugs-dist@lists.debian.org, Gerrit Pape <pape@smarden.org>:
Bug#581351; Package dash. (Wed, 12 May 2010 12:36:02 GMT) (full text, mbox, link).


Acknowledgement sent to Julien Cristau <jcristau@debian.org>:
Extra info received and forwarded to list. Copy sent to Gerrit Pape <pape@smarden.org>. (Wed, 12 May 2010 12:36:03 GMT) (full text, mbox, link).


Message #10 received at 581351@bugs.debian.org (full text, mbox, reply):

From: Julien Cristau <jcristau@debian.org>
To: Michael Meskes <meskes@debian.org>, 581351@bugs.debian.org
Subject: Re: Bug#581351: dash breaks postfix
Date: Wed, 12 May 2010 14:32:18 +0200
[Message part 1 (text/plain, inline)]
severity 581351 grave
kthxbye

On Wed, May 12, 2010 at 13:17:37 +0200, Michael Meskes wrote:

> michael@feivel:~$ sudo /etc/init.d/postfix restart
> Stopping Postfix Mail Transport Agent: postfix.
> Starting Postfix Mail Transport Agent: postfix.
> michael@feivel:~$ sudo dpkg -i dash_0.5.5.1-4_amd64.deb 
> (Reading database ... 172319 files and directories currently installed.)
> Preparing to replace dash 0.5.5.1-3 (using dash_0.5.5.1-4_amd64.deb) ...
> Unpacking replacement dash ...
> Setting up dash (0.5.5.1-4) ...
> Processing triggers for man-db ...
> Processing triggers for menu ...
> michael@feivel:~$ sudo /etc/init.d/postfix restart
> Stopping Postfix Mail Transport Agent: postfix.
> Starting Postfix Mail Transport Agent: postfixunknown type for $config_directory:d:root:-:755:u in /usr/lib/postfix/postfix-files1
> postfix/postfix-script: warning: unable to create missing queue directories
> postfix/postfix-script: fatal: Postfix integrity check failed!
>  failed!
> 
Seems like broken IFS handling in read, postfix's post-install script
does:

test -n "$create" && {
    exec <$daemon_directory/postfix-files || exit 1
    while IFS=: read path type owner group mode flags junk
    do
        IFS="$BACKUP_IFS"
        set_permission=
        # Skip comments. Skip shared files, if updating a secondary instance.
[snip]
        # Skip hard links and symbolic links.
        case $type in
        [hl]) continue;;
        [df]) ;;
           *) echo unknown type $type for $path in $daemon_directory/postfix-files1>&2; exit 1;;
        esac
[...]

And apparently the whole colon-separated line from postfix-files ends up
in $path instead of being split in the various variables.

Cheers,
Julien
[signature.asc (application/pgp-signature, inline)]

Severity set to 'grave' from 'critical' Request was from Julien Cristau <jcristau@debian.org> to control@bugs.debian.org. (Wed, 12 May 2010 12:36:04 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Gerrit Pape <pape@smarden.org>:
Bug#581351; Package dash. (Thu, 13 May 2010 13:19:13 GMT) (full text, mbox, link).


Acknowledgement sent to Vincent Fourmond <fourmond@debian.org>:
Extra info received and forwarded to list. Copy sent to Gerrit Pape <pape@smarden.org>. (Thu, 13 May 2010 13:19:13 GMT) (full text, mbox, link).


Message #17 received at 581351@bugs.debian.org (full text, mbox, reply):

From: Vincent Fourmond <fourmond@debian.org>
To: 581528@bugs.debian.org
Cc: 581351@bugs.debian.org
Subject: fails to start: bashism ?
Date: Thu, 13 May 2010 15:10:16 +0200
  Hi again,

  I use dash as /bin/sh, and downgrading dash to 0.5.5.1-3 does the
trick. The problematic line is

line 441 of /etc/postfix/post-install:
    while IFS=: read path type owner group mode flags junk

  With dash version 0.5.5.1-4, the variables are apparently not set correctly.

  I'm unsure whether it is a dash bug or a bashism (see
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=581351 which I've
just noticed). Please merge bugs either ways depending on who's
faulty.

  Cheers,

      Vincent




Added indication that 581351 affects postfix Request was from Sven Joachim <svenjoac@gmx.de> to control@bugs.debian.org. (Thu, 13 May 2010 14:03:07 GMT) (full text, mbox, link).


Removed indication that 581351 affects postfix Added indication that 581351 affects laptop-mode-tools Request was from Sven Joachim <svenjoac@gmx.de> to control@bugs.debian.org. (Thu, 13 May 2010 14:03:07 GMT) (full text, mbox, link).


Added indication that 581351 affects laptop-mode-tools Request was from Sven Joachim <svenjoac@gmx.de> to control@bugs.debian.org. (Thu, 13 May 2010 14:09:12 GMT) (full text, mbox, link).


Forcibly Merged 581351 581497 581528. Request was from Sven Joachim <svenjoac@gmx.de> to control@bugs.debian.org. (Thu, 13 May 2010 14:18:07 GMT) (full text, mbox, link).


Added indication that 581351 affects laptop-mode-tools Request was from Sven Joachim <svenjoac@gmx.de> to control@bugs.debian.org. (Thu, 13 May 2010 14:18:09 GMT) (full text, mbox, link).


Forcibly Merged 581351 581497 581528 581575. Request was from Sven Joachim <svenjoac@gmx.de> to control@bugs.debian.org. (Thu, 13 May 2010 20:42:11 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Gerrit Pape <pape@smarden.org>:
Bug#581351; Package dash. (Thu, 13 May 2010 21:03:04 GMT) (full text, mbox, link).


Acknowledgement sent to 581351@bugs.debian.org:
Extra info received and forwarded to list. Copy sent to Gerrit Pape <pape@smarden.org>. (Thu, 13 May 2010 21:03:05 GMT) (full text, mbox, link).


Message #34 received at 581351@bugs.debian.org (full text, mbox, reply):

From: Gerrit Pape <pape@smarden.org>
To: Julien Cristau <jcristau@debian.org>, 581351@bugs.debian.org
Cc: 581351-submitter@bugs.debian.org, 581497-submitter@bugs.debian.org, 581528-submitter@bugs.debian.org, 581575-submitter@bugs.debian.org
Subject: Re: Bug#581351: dash breaks postfix
Date: Thu, 13 May 2010 20:59:05 +0000
tags 581351 + confirmed pending upstream
quit

On Wed, May 12, 2010 at 02:32:18PM +0200, Julien Cristau wrote:
> severity 581351 grave
> kthxbye

> Seems like broken IFS handling in read, postfix's post-install script
> does:
> 
> test -n "$create" && {
>     exec <$daemon_directory/postfix-files || exit 1
>     while IFS=: read path type owner group mode flags junk
>     do

> And apparently the whole colon-separated line from postfix-files ends up
> in $path instead of being split in the various variables.

Yes, thanks for the reports.  I confirm the bug, the regression is
introduced by the
debian/diff/0009-BUILTIN-Honor-tab-as-IFS-whitespace-when-splitting-fi.diff
patch added in 0.5.5.1-4.  Upcoming upload will fix it.

Regards, Gerrit.




Added tag(s) upstream, confirmed, and pending. Request was from Gerrit Pape <pape@smarden.org> to control@bugs.debian.org. (Thu, 13 May 2010 21:03:06 GMT) (full text, mbox, link).


Message sent on to Michael Meskes <meskes@debian.org>:
Bug#581351. (Thu, 13 May 2010 21:03:11 GMT) (full text, mbox, link).


Reply sent to Gerrit Pape <pape@smarden.org>:
You have taken responsibility. (Fri, 14 May 2010 10:21:08 GMT) (full text, mbox, link).


Notification sent to Michael Meskes <meskes@debian.org>:
Bug acknowledged by developer. (Fri, 14 May 2010 10:21:08 GMT) (full text, mbox, link).


Message #44 received at 581351-close@bugs.debian.org (full text, mbox, reply):

From: Gerrit Pape <pape@smarden.org>
To: 581351-close@bugs.debian.org
Subject: Bug#581351: fixed in dash 0.5.5.1-5
Date: Fri, 14 May 2010 10:17:09 +0000
Source: dash
Source-Version: 0.5.5.1-5

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

ash_0.5.5.1-5_all.deb
  to main/d/dash/ash_0.5.5.1-5_all.deb
dash_0.5.5.1-5.diff.gz
  to main/d/dash/dash_0.5.5.1-5.diff.gz
dash_0.5.5.1-5.dsc
  to main/d/dash/dash_0.5.5.1-5.dsc



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 581351@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Gerrit Pape <pape@smarden.org> (supplier of updated dash 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 ftpmaster@debian.org)


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

Format: 1.8
Date: Thu, 13 May 2010 23:06:46 +0000
Source: dash
Binary: dash ash
Architecture: all source
Version: 0.5.5.1-5
Distribution: unstable
Urgency: low
Maintainer: Gerrit Pape <pape@smarden.org>
Changed-By: Gerrit Pape <pape@smarden.org>
Description: 
 ash        - compatibility package for dash
 dash       - POSIX-compliant shell
Closes: 581351
Changes: 
 dash (0.5.5.1-5) unstable; urgency=low
 .
   * debian/diff/0029-Revert-BUILTIN-Fix-off-by-one-recordregion-...diff,
     debian/diff/0030-Revert-BUILTIN-Avoid-compiler-warnings-on-...diff,
     debian/diff/0031-Revert-BUILTIN-Fix-NUL-termination-in-readcmd.diff,
     debian/diff/0032-Revert-BUILTIN-Honor-tab-as-IFS-whitespace-...diff:
     new; revert "Honor tab as IFS whitespace when splitting fields in
     readcmd" fix (re-opens: #429251, closes: #581351).
Checksums-Sha1: 
 b4f91e3e23f78eced12f7278d6adf301ab772d0e 1027 dash_0.5.5.1-5.dsc
 e0aa368a4350ac363f95a4b767248383a6379d9e 55593 dash_0.5.5.1-5.diff.gz
 e0dcbfb94fa8990ec81023e66b45ce28d5c62e30 24656 ash_0.5.5.1-5_all.deb
Checksums-Sha256: 
 3350337153c3485efde9c28e8e5cebc099fe99b5f0a0a1d0aa22907b0e4ec131 1027 dash_0.5.5.1-5.dsc
 542ac9268f5c9d40e22ad8b679e323abcbe23d3979dca9a611383b9b5a48e0aa 55593 dash_0.5.5.1-5.diff.gz
 14c9c7e478e4d1050139230b85b2adf4d1af400909e1559147199a583a15b05c 24656 ash_0.5.5.1-5_all.deb
Files: 
 883b6a25bdee3e6d707e749dd5de6ba9 1027 shells optional dash_0.5.5.1-5.dsc
 37f0d355cfe0632267e65fcc1dfa7cf8 55593 shells optional dash_0.5.5.1-5.diff.gz
 b7e4efec0577af90dbca4cd82ef902f1 24656 shells optional ash_0.5.5.1-5_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAkvsi/YACgkQGJoyQbxwpv+3/gCeOgK8nmpuUUTXuKTReLSb5xfc
QlwAn1TyM1NSGcliDdurTDdn+V6cSDZf
=oFhs
-----END PGP SIGNATURE-----





Reply sent to Gerrit Pape <pape@smarden.org>:
You have taken responsibility. (Fri, 14 May 2010 10:21:09 GMT) (full text, mbox, link).


Notification sent to BOURDOISEAU <bourdoiseau@free.fr>:
Bug acknowledged by developer. (Fri, 14 May 2010 10:21:09 GMT) (full text, mbox, link).


Reply sent to Gerrit Pape <pape@smarden.org>:
You have taken responsibility. (Fri, 14 May 2010 10:21:09 GMT) (full text, mbox, link).


Notification sent to Vincent Fourmond <fourmond@debian.org>:
Bug acknowledged by developer. (Fri, 14 May 2010 10:21:09 GMT) (full text, mbox, link).


Reply sent to Gerrit Pape <pape@smarden.org>:
You have taken responsibility. (Fri, 14 May 2010 10:21:10 GMT) (full text, mbox, link).


Notification sent to Philipp Weis <pweis@pweis.com>:
Bug acknowledged by developer. (Fri, 14 May 2010 10:21:10 GMT) (full text, mbox, link).


Forcibly Merged 581351 581497 581528 581575 581609. Request was from Sven Joachim <svenjoac@gmx.de> to control@bugs.debian.org. (Fri, 14 May 2010 10:39:08 GMT) (full text, mbox, link).


Forcibly Merged 581351 581497 581528 581575 581609 581613. Request was from Sven Joachim <svenjoac@gmx.de> to control@bugs.debian.org. (Fri, 14 May 2010 10:57:06 GMT) (full text, mbox, link).


Forcibly Merged 581351 581497 581528 581575 581609 581613 581669. Request was from Ritesh Raj Sarraf <rrs@debian.org> to control@bugs.debian.org. (Fri, 14 May 2010 20:06:06 GMT) (full text, mbox, link).


Forcibly Merged 581351 581497 581528 581575 581609 581613 581669 584178. Request was from Ritesh Raj Sarraf <rrs@researchut.com> to control@bugs.debian.org. (Sat, 05 Jun 2010 07:54:08 GMT) (full text, mbox, link).


Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sun, 04 Jul 2010 07:31:05 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Jan 14 01:04:12 2024; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.