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

Bug#389994: Found the bug, patch attached



severity 389994 serious
stop

On Mon, Oct 02, 2006 at 05:13:24PM +0100, Tim Phipps wrote:
> The bug is in this section:
> 
>                 if [ "${NFSROOT#:*}" = "$NFSROOT" ]; then
>                         NFSROOT=${ROOTSERVER}:${NFSROOT}
>                 fi
> 
> The :* is the wrong way around so if $NFSROOT=192.168.0.4:/ the :*
> pattern won't match (NFSROOT doesn't start with :) and so NFSROOT gets
> turned into 192.168.0.4:192.168.0.4:/ which fails to mount. Changing the
> pattern to *: works as (would %:*).

sorry i was away this weekend without connection,
that was my first suspicion, thanks for your confirmation!
yes aboves thinko is fixed in initramfs-tools 0.81 in unstable,
should propagate soon.

 
> Cheers,
> Tim.

> 52c52
> < 		if [ "${NFSROOT#:*}" = "$NFSROOT" ]; then
> ---
> > 		if [ "${NFSROOT#*:}" = "$NFSROOT" ]; then

-- 
maks



Reply to: