clvmd_fix_conf.sh fails because dash does not support variable expansion

Bug #259576 reported by Bryan McLellan
2
Affects Status Importance Assigned to Milestone
lvm2 (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: clvm

The example script for updating the lvm configuration uses bash nomenclature yet calls #!/bin/bsh

$ sudo sh /usr/share/doc/clvm/examples/clvmd_fix_conf.sh /lib/lvm2
/usr/share/doc/clvm/examples/clvmd_fix_conf.sh: 46: Bad substitution
$

$ sudo bash /usr/share/doc/clvm/examples/clvmd_fix_conf.sh /lib/lvm2
$

$ dpkg -l clvm
ii clvm 2.02.26-1ubuntu9 Cluster LVM Daemon for lvm2

$ lsb_release -a
LSB Version: core-2.0-amd64:core-3.0-amd64:core-3.1-amd64:core-3.2-amd64:core-2.0-noarch:core-3.0-noarch:core-3.1-noarch:core-3.2-noarch
Distributor ID: Ubuntu
Description: Ubuntu 8.04.1
Release: 8.04
Codename: hardy

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.