Re: CD, NFSROOT and expiring DHCP lease

Thomas Lange <[email protected]>
Newsgroups gmane.linux.debian.fai
Message-ID <[email protected]>
Hmm, my last patch does not work, becaus building the initrd by dracut
fails if the kill-dhclient.sh script does not exist.
I've tried it another way by adding this to fai-make-nfsroot:

sed -i -e '/kill-dhclient.sh/d' $NFSROOT/usr/lib/dracut/modules.d/35network-legacy/module-setup.sh

It worked, the dhclient was started inside the initrd but not killed.
So the dhclient is still running.
But this also had problems when using an nfsroot mount, when I forced
the lease-time to be short. I guess the dhclient cannot renew the IP
because it accesses files from inside the initrd which are not
available any more when FAI is running.

So, I'm not sure if it works from fai-cd. How should we fix #987779?
Any ideas?

-- 
regards Thomas
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.