Hi, I've encountered the same problem, one solution is to create the link (resolv.conf to etc/resolvconf/run/resolv.conf) in the initramfs stage.
First of all, a script that completes the init-bottom script collection: mkdir -p config/chroot_local-includes/usr/share/initramfs-tools/scripts/live-bottom/ cat >config/chroot_local-includes/usr/share/initramfs-tools/scripts/live-bottom/99resolvconflink <<EOF #!/bin/sh #set -e # initramfs-tools header PREREQ="" prereqs() { echo "\${PREREQ}" } rm -rf /root/etc/resolv.conf ln -s /etc/resolvconf/run/resolv.conf /root/etc/resolv.conf EOF chmod +x config/chroot_local-includes/usr/share/initramfs-tools/scripts/live-bottom/99resolvconflink the second script activates the first one by running update-initramfs, cat >config/chroot_local-hooks/activate <<EOF #!/bin/bash update-initramfs -tu -kall EOF chmod a+x config/chroot_local-hooks/activate Cheers, JF Delesse Le mardi 07 avril 2009 à 23:45 +0200, Pierre Bauduin a écrit : > Hi, > > Debian Live is great, and everything works :)... except one or two > things. > > If in the chroot I create a symbolic link like this: > ln -s etc/resolvconf/run/resolv.conf etc/resolv.conf > > But I can't build a Debian Live system because lh_binary stops and > tells me: > P: Configuring file /etc/resolv.conf > cp: not writing through dangling symlink `chroot/etc/resolv.conf' > > .... would be great if /etc/resolv.conf could be a symlink > to /etc/resolvconf/run/resolv.conf, this way name resolution would be > automagically configured when there is a DHCP server. > > Any idea on how to solve this ? > > Cheers, > -- > Pierre Bauduin > Linux enthusiast since 1996 > Linux registered user #64711 > Debian GNU/Linux user > website: http://pierre.baudu.in/ -- To UNSUBSCRIBE, email to debian-live-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org