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

Re: Web boot with fetch= parameter

On Thu, Oct 7, 2010 at 7:58 PM, Daniel Baumann <daniel@debian.org> wrote:
> On 10/07/2010 04:08 PM, Nikolay Kasatkin wrote:
>> except DNS resolving
> this is a missing feature in initramfs-tools, not really something we
> could/should/would workaround in live-boot.

Sorry, but I'm finally confused... Seems that DNS resolving bug was
fixed some month's ago:
I've found in /usr/share/initramfs-tools/hooks/live:
if [ "${LIVE_DNS}" = "true" ]
        #copy_exec /lib/libnss_files.so.*      /lib  # /etc/hosts and
        copy_exec /lib/libnss_dns.so.*      /lib  # DNS server
        #copy_exec /lib/libnss_compat.so.*      /lib  # /etc/passwd

        # Configuration file - may be needed if /etc/hosts is used.
        #mkdir -p $DESTDIR/etc
        #cp -p /etc/nsswitch.conf $DESTDIR/etc
But seems that when I build live image the libnss_dns.so libraries is
not copied to initrd. How can I force libraries copying and will it
solve DNS resolving issue?

Nikolay Kasatkin

Reply to: