Bug#465540: post-installation script doesn't work in zsh
On Wed, Feb 13, 2008 at 03:51:28AM +0100, Matthias Berndt wrote:
> Package: htdig
> Version: 1:3.2.0b6-5
> Severity: normal
>
> Hi,
> I just noticed that the post-installation script fails when /bin/sh points
> to /usr/bin/zsh rather than /bin/bash. This should be fixed.
FYI, please see similar bug reports
http://bugs.debian.org/465537 [Debconf fails to initialise when /bin/sh is zsh]
originally submitted against dhcp3-client and reassigned to debconf by
Andrew Pollock
and
http://bugs.debian.org/465539 [Debconf fails to initialise when /bin/sh is zsh]
originally submitted to dictionaries-common, reassigned to debconf and
merged with #465537 by me
Quoting Andrew on #465537
I've never heard of zsh being used as /bin/sh before, and I'm not sure if
it's supported, but from my examination, it's something inside
/usr/share/debconf/confmodule that is returning non-zero. Putting an echo
statement immediately after the ". /usr/share/debconf/confmodule" never
executes.
Also note that this may well be the same as zsh bug:
[#351031] DEBCONF_USE_CDEBCONF - errors with /bin/zsh as /bin/sh
originally submitted against debconf and later reassigned to zsh.
--
Agustin
Reply to: