FS#73295 - [mkinitcpio-nfs-utils] allow to set dns server for static config
Attached to Project:
Arch Linux
Opened by Gerd v. Egidy (gvegidy) - Saturday, 08 January 2022, 12:11 GMT
Last edited by Jelle van der Waa (jelly) - Monday, 18 September 2023, 17:46 GMT
Opened by Gerd v. Egidy (gvegidy) - Saturday, 08 January 2022, 12:11 GMT
Last edited by Jelle van der Waa (jelly) - Monday, 18 September 2023, 17:46 GMT
|
Details
Description:
The ipconfig tool contained in mkinitcpio-nfs-utils does not allow you to set a dns server when using static ip configuration. A dns server is only supported for dhcp. When you try to set something like this: ip=192.168.1.13::192.168.1.1:255.255.255.0:test.local:eth0:none:8.8.8.8 you get "ipconfig: too many options for eth0" While the ipconfig-source is hosted on https://sources.archlinux.org/other/mkinitcpio/, the actual source seems to come from the linux kernel klibc and can be seen for example here: https://git.kernel.org/pub/scm/libs/klibc/klibc.git/tree/usr/kinit The current version of ipconfig at klibc supports setting the dns server like in the example above. So updating ipconfig should suffice to add dns server support. Additional info: * this is about mkinitcpio-nfs-utils 0.3-7 * originally reported against the Arch-derivate SystemRescue at https://gitlab.com/systemrescue/systemrescue-sources/-/issues/243 |
This task depends upon
Closed by Jelle van der Waa (jelly)
Monday, 18 September 2023, 17:46 GMT
Reason for closing: Moved
Additional comments about closing: https://gitlab.archlinux.org/archlinux/m kinitcpio/mkinitcpio-nfs-utils/issues/3
Monday, 18 September 2023, 17:46 GMT
Reason for closing: Moved
Additional comments about closing: https://gitlab.archlinux.org/archlinux/m kinitcpio/mkinitcpio-nfs-utils/issues/3
https://git.kernel.org/pub/scm/libs/klibc/klibc.git/commit/usr/kinit/ipconfig?id=7ffa5f8d889e8107fd97fcc5628f87e6ef2f4b91
Related: https://gitlab.archlinux.org/archlinux/mkinitcpio/mkinitcpio-archiso/-/issues/11