[arch-releng] [archiso] keep name resolver settings

Ionut Biru ibiru at archlinux.org
Thu Apr 19 16:56:37 EDT 2012


On 04/19/2012 10:50 PM, Christian Hesse wrote:
> Hello everybody,
> 
> I am not shure if this is the correct place to report or if there is any
> better one... If so - please let me know.
> 
> Ok, the initrd hooks from archiso support PXE booting. In this case the
> initrd is responsible for setting up the network. All these setting are
> persistent, so are still valid after changing to the real system. With one
> exception: name resolver settings (namely file /etc/resolv.conf) are lost,
> which ends up in a system with network connectivity that can not resolve a
> single host.
> 
> Even worse: When launching a dhcp client you may get a new address and end up
> with something completely useless as nbd connection is lost.
> 
> I would like to write the final /etc/resolv.conf from within initrd. For me
> this completely solves the problem. Patch is attached.

Please send the patch inline since our mailing list filters regular
attachments.

-- 
Ionuț

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 554 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.archlinux.org/pipermail/arch-releng/attachments/20120419/d569954a/attachment.asc>


More information about the arch-releng mailing list