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

Bug#375579: marked as done (/scripts/local-top/lvm:28: sh: Syntax error: Bad substitution)



Your message dated Tue, 27 Jun 2006 01:32:39 +0200
with message-id <200606270132.51204.elendil@planet.nl>
and subject line Bug#375579: /scripts/local-top/lvm:28: sh: Syntax error: Bad substitution
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.64
Severity: critical
Justification: breaks the whole system

Hello,

the changelog of version 0.65 of initramfs-tools says:

  * scripts/local-top/lvm: Be careful to activate volume group on lilo boot 
    too. Although in that case we don't know the precise volume group, we
    activate them all. Matches behaviour of previous hook.

This change seems to have introduced a bug in scripts/local-top/lvm on line 28
as it produces the following error message on boot:

  /scripts/local-top/lvm:28: sh: Syntax error: Bad substitution

which causes the boot process to fail on my box as the root filesystem will
never show up as it is on LVM, making the system unusable.

The erroneous line looks is:

  vg_lilo=${vg:0:2}

I'm not a good shell programmer, so I don't know whether this is a general
syntax error, a bashism that won't run on busybox or something else..


I downgraded initramfs-tools to 0.64 and regenerated the initrd files to work
this problem around for the moment.


TIA,
Flo

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16
Locale: LANG=C, LC_CTYPE=de_DE@euro (charmap=ISO-8859-15)

Versions of packages initramfs-tools depends on:
ii  busybox                       1:1.1.3-1  Tiny utilities for small and embed
ii  cpio                          2.6-13     GNU cpio -- a program to manage ar
ii  klibc-utils                   1.3.35-1   small statically-linked utilities 
ii  module-init-tools             3.2.2-3    tools for managing Linux kernel mo
ii  udev                          0.093-1    /dev/ and hotplug management daemo

initramfs-tools recommends no packages.

-- no debconf information


--- End Message ---
--- Begin Message ---
Version: 0.65b

On Tuesday 27 June 2006 00:32, Florian Ragwitz wrote:
> Package: initramfs-tools
> Version: 0.64

You probably meant 0.65 here?

Anyway, 0.65b was already uploaded earlier today which fixes this issue 
(see also #375442 and friends).
Therefore closing.

Cheers,
FJP

--- End Message ---

Reply to: