[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#359725: marked as done (initramfs-tools: set -eu causes broken shell when not using bash?)



Your message dated Tue, 28 Mar 2006 18:56:13 +0200
with message-id <20060328165613.GF11258@baikonur.stro.at>
and subject line Bug#359725: initramfs-tools: set -eu causes broken shell when not using bash?
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: initramfs-tools
Version: 0.59
Severity: important


when upgrading kernels, I get the following error:

Setting up linux-image-2.6.16-1-686-smp (2.6.16-3) ...
Running depmod.
Finding valid ramdisk creators.
Using mkinitramfs-kpkg to build the ramdisk.
Other valid candidates: mkinitramfs-kpkg mkinitrd.yaird
/usr/sbin/mkinitramfs-kpkg: line 55: supported_host_version: unbound
variable
mkinitramfs-kpkg failed to create initrd image.


Looking at line 55, it checks if $supported_host_version is empty or
not.  However, it is in fact unset, which causes a fatal error due to
"set -eu" in the beginning fo the script.

This is possibly a bug due to non-posix'nes of sh-bash under which the script
was developed under?

Martin


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-686-smp
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages initramfs-tools depends on:
ii  busybox                       1:1.01-4   Tiny utilities for small and embed
ii  cpio                          2.6-11     GNU cpio -- a program to manage ar
ii  klibc-utils                   1.2.4-1    small statically-linked utilities 
ii  module-init-tools             3.2.2-2    tools for managing Linux kernel mo
ii  udev                          0.088-1    /dev/ and hotplug management daemo

initramfs-tools recommends no packages.

-- no debconf information


--- End Message ---
--- Begin Message ---
Version: 0.59b

On Tue, Mar 28, 2006 at 11:40:02AM -0500, Martin Stolle wrote:
> when upgrading kernels, I get the following error:

fixed in latest from incoming.debian.org
 
> 
> Looking at line 55, it checks if $supported_host_version is empty or
> not.  However, it is in fact unset, which causes a fatal error due to
> "set -eu" in the beginning fo the script.
> 
> This is possibly a bug due to non-posix'nes of sh-bash under which the script
> was developed under?

sorry for slipping that through.
anyway please check next time against duplicate reports.

--
maks

--- End Message ---

Reply to: