You are not logged in.

#1 2025-12-13 18:53:53

Potomac
Member
Registered: 2011-12-25
Posts: 551

[netctl resolvconf] Unable to set 2 DNS addresses with netctl

Hello,

I notice a bug with netctl package :

- since the update of resolvconf package I am unable to set 2 DNS addresses on the configuration profile file of netctl,

if I set 2 DNS on the profile file of netctl like this :

DNS=('8.8.8.8' '8.8.4.4')

then I get an error when I consult the status of my netctl profile and the internet connection doesn't work :

# netctl status dhcp2

(...)
Dec 13 19:38:32 archpc network[1492]: /usr/bin/resolvconf: ligne 999: 8.8.4.4: commande introuvable
Dec 13 19:38:32 archpc network[1268]: Started network profile 'dhcp2'

"commande introuvable" means "command not found"

To avoid this error I have to set only one DNS address in the netctl profile configuration file :

DNS=('8.8.8.8')

Do you know why we have this bug ?

Is it due to a change in resolvconf ?
The resolvconf 3.17.2-1 package was updated yesterday, I think something has changed in resolvconf, that is not compatible with the syntax used by netctl.

Because with the previous version of resolvconf package I didn't have this bug with my current netctl profile.

Last edited by Potomac (2025-12-13 19:03:05)

Offline

Board footer

Powered by FluxBB