[arch-releng] [RFC][PATCH] [configs/releng] Use systemd-networkd instead of dhcpcd

Thomas Bächler thomas at archlinux.org
Wed Feb 26 02:22:10 EST 2014


Am 26.02.2014 03:04, schrieb Gerardo Exequiel Pozzi:
> The issue here is when booting via PXE... The initcpio hook, writes on
> (append) etc/resolv.conf. Now, I think that I need to hack, and write to
> /run/systemd/network/resolv.conf instead.
> 
> * Under PXE scenario: systemd-networkd will not be used because
> interface rename will fail (already UP from initramfs as eth) then
> /run/systemd/network/resolv.conf is untouched from systemd-network.
> 
> * Under non-PXE scenario: /run/systemd/network/resolv.conf will be
> touched only by systemd-network.
> 
> Also I think that can be a good idea for PXE scenario if-down-eth0, on
> initramfs as last step, then in this case, rename does work and dhcpcd
> is requested again but from systemd-networkd on real-root-fs.

Why don't we just copy all renaming and networkd-related stuff to
initramfs and use it for initialization there, too?

For that we'd probably have to switch initramfs to systemd entirely, but
we should do that anyway.


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


More information about the arch-releng mailing list