Re: [ext] OpenVPN 2.7_alpha3 released

Gert Doering <[email protected]> Wed, 13 Aug 2025 18:25:18 +0200
Newsgroups gmane.network.openvpn.user
Message-ID <[email protected]>
Hi,

On Fri, Aug 08, 2025 at 11:48:32AM +0200, Ralf Hildebrandt via Openvpn-users wrote:
> 2025-08-08 11:44:24 /usr/libexec/openvpn/dns-updown 
> setting DNS using resolvconf 
> /usr/libexec/openvpn/dns-updown: line 194: dns_server_1_address_*: invalid variable name
> No DNS servers specified, refusing operation.
> 2025-08-08 11:44:24 dns up command exited with status 0

Can you test this patch, please?

https://gerrit.openvpn.net/c/openvpn/+/1144

the shell trickery Heiko uses here is a bit beyond my pay grade - and
I haven't had time to setup my own 25.04 system "with resolvconf" yet
(holiday season...).

The basic problem here is that "dns_server_${n}_address_*" only works
in some contexts, but not in a variable assignment (or not in all
bash versions, or something).  So this is now solved differently.

gert
-- 
"If was one thing all people took for granted, was conviction that if you 
 feed honest figures into a computer, honest figures come out. Never doubted 
 it myself till I met a computer with a sense of humor."
                             Robert A. Heinlein, The Moon is a Harsh Mistress

Gert Doering - Munich, Germany                             [email protected]

_______________________________________________
Openvpn-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-users
signature.asc (application/pgp-signature, 630 B)
-----BEGIN PGP SIGNATURE-----

iQGcBAEBAgAGBQJonLxuAAoJEB2Cnv7KVigSRMkL/1wwsf00PzPxA/XP49lEB2Ox
mGFtvqS4hhz2CryYSu5weWsBl0Dez9FEu26hsD0LQDnQ2xDQay0CtPgpjI3ncY5W
GMYhiixvl1mrM/RTWh0EBhADjoM/HsNk4yfw3Jsfm9Q3rFPMzYdhvxblxmiBKIPv
Td6Sx9g9KRt6oms38PeOqSD1ILAMgYKHntaE7JWfViiV7lSUxxH2NokburFIV4Hf
GLFA1/eyT8ypqzH4eaEzSlpOqtCoL8JL6AzYVUdqPf+4qwPW1CEgUgHeEJdCuF1f
OVuZbcHwIGwBzwd9EoV/Ah2DxPx9gaIxF8cmhZAtltQxfzxrm0EKae/eAd1GJMWR
aMTIJvOqMwrfWVs2Z4TKDJfoYPlS63P944hvYK2OWrt42Wek++TEfS3G35pMYLqU
SaNaJiBgrPX4RyyZBDhUMcCdnFoc4zvTjpr0hkkDYOgoBfPxH0DPgxCCz06a+5Mv
vmmphqXSCSK6jtQjbcKHoyaqnmTxjUkUyV5QEEItZg==
=WlhX
-----END PGP SIGNATURE-----