multiple DNS search domains not supported by update-resolv-conf

Bug #662847 reported by Jeremy Zawodny on 2010-10-18
22
This bug affects 3 people
Affects Status Importance Assigned to Milestone
openvpn (Debian)
Fix Released
Unknown
openvpn (Ubuntu)
Low
Unassigned

Bug Description

Binary package hint: openvpn

If your OpenVPN server pushes multiple DNS search domains, this update-resolve-conf script only remembers the last one in the list.

I've attached a patch that fixes it in my testing.

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: openvpn 2.1.0-3ubuntu1
ProcVersionSignature: Ubuntu 2.6.35-22.34-generic 2.6.35.4
Uname: Linux 2.6.35-22-generic x86_64
Architecture: amd64
Date: Mon Oct 18 11:20:12 2010
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: openvpn

Related branches

Jeremy Zawodny (jeremy-zawodny) wrote :
Chuck Short (zulcss) wrote :

Thanks this will be reviewed for natty.

chuck

Changed in openvpn (Ubuntu):
importance: Undecided → Low
status: New → Triaged
Dave Walker (davewalker) wrote :

bug #714358 has been marked of this one. The patch in this bug report correctly prepends 'search' between entries. So the delta in 2.1.3-2ubuntu3, superseeds that of 2.1.3-2ubuntu2.

Launchpad Janitor (janitor) wrote :

This bug was fixed in the package openvpn - 2.1.3-2ubuntu3

---------------
openvpn (2.1.3-2ubuntu3) natty; urgency=low

  * update-resolv-conf: Correctly handle multiple dns search domains,
    using the same logic as nameservers. Patch courtesy of Jeremy
    Zawodny. (LP: #662847)
 -- Dave Walker (Daviey) <email address hidden> Fri, 11 Mar 2011 00:23:59 +0000

Changed in openvpn (Ubuntu):
status: Triaged → Fix Released
Changed in openvpn (Debian):
status: Unknown → New
Changed in openvpn (Debian):
status: New → Fix Released
Harri-afaics (harri-afaics) wrote :

I am not sure, but AFAICS the fix in openvpn doesn't help, since network-manager-openvpn ignores the script /etc/openvpn/update-resolv-conf in favor of its own helper to receive the domain names.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.