Arch Linux

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

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 Andreas Radke (AndyRTR) - Friday, 11 February 2022, 19:41 GMT
Task Type Feature Request
Category Packages: Core
Status Assigned
Assigned To Giancarlo Razzolini (grazzolini)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No



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:


you get "ipconfig: too many options for eth0"

While the ipconfig-source is hosted on, the actual source seems to come from the linux kernel klibc and can be seen for example here:

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

This task depends upon

Comment by luto (luto) - Wednesday, 18 January 2023, 23:14 GMT
This is currently blocking our deployment. I'd like to tackle it. Copying over the current ipconfig from klibc seems to do the trick. Is there something I take care of process wise or should i just open a MR on