/lib/rcscripts/addons/dm-start.sh uses here documents (cmd <<<input). Since this is run before other filesystems get mounted (ie, a rw /tmp), the commands that use the here documents fail on systems with a read-only /. Reproducible: Always Steps to Reproduce: 1. 2. 3. --- dm-start.sh.orig 2005-05-19 19:20:08.000000000 +0000 +++ dm-start.sh 2005-05-19 19:20:48.000000000 +0000 @@ -26,14 +26,15 @@ local x line volume=$1 [[ -z ${volume} ]] && return 1 - + + /sbin/dmsetup ls 2>/dev/null | while read line; do for x in ${line}; do [[ ${x} == "${volume}" ]] && return 0 # We only want to check the volume name break done - done <<<"$(/sbin/dmsetup ls 2>/dev/null)" + done return 1 } @@ -58,6 +59,7 @@ [[ -n $(get_new_dm_volumes) ]] && \ einfo " Setting up device-mapper volumes:" + get_new_dm_volumes | while read x; do [[ -n ${x} ]] || continue @@ -73,7 +75,7 @@ else eend 0 fi - done <<< "$(get_new_dm_volumes)" + done fi
fixed in cvs, thanks