Hi Brian,

[...] (precise description of the problem)

> 
> BTW, this seems to work:
> --- 
> /install/fai/nfsroot/amd64/lenny/live/filesystem.dir/usr/share/fai/setup-storage/Fstab.pm
>    2010-04-05 07:39:33.000000000 -0500
> +++ 
> /install/fai/nfsroot/amd64/squeeze/live/filesystem.dir/usr/share/fai/setup-storage/Fstab.pm
>  2010-09-02 14:24:25.000000000 -0500
> @@ -204,7 +204,11 @@
>          
>          # resolve the symlink to the real device
>          # and write it as the first entry
> -        &FAI::execute_ro_command("readlink -f /dev/$device/$l", 
> \...@fstab_key, 0);
> +# Sets up broken links to /dev/dm-[0-9]
> +# 2010-09-02
> +# bpkroth
> +#        &FAI::execute_ro_command("readlink -f /dev/$device/$l", 
> \...@fstab_key, 0);
> +       $fstab_key[0] = "/dev/$device/$l";
>          
>          # remove the newline
>          chomp ($fstab_key[0]);
> 

I've added a cleaned up version of that change to 4.0~beta2+experimental5; I
think at some point I thought that canonical paths might be more stable than the
symlinks and hence added that readlink call, but that doesn't seem to do the
trick (anymore). Well, instead it is just broken as the symlink is stable while
the underlying device name is not. I'll also file a but with the Debian BTS,
quoting your description of the problem (I hope that's fine). We'll then try to
get the bugfix into Squeeze.

Thanks a lot for taking all the time to debug this and the concise report,
Michael

Attachment: pgpBxg7TumUZe.pgp
Description: PGP signature

Antwort per Email an