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

Bug #662847 reported by Jeremy Zawodny
22
This bug affects 3 people
Affects Status Importance Assigned to Milestone
openvpn (Debian)
Fix Released
Unknown
openvpn (Ubuntu)
Fix Released
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

Revision history for this message
Jeremy Zawodny (jeremy-zawodny) wrote :
Revision history for this message
Chuck Short (zulcss) wrote :

Thanks this will be reviewed for natty.

chuck

Changed in openvpn (Ubuntu):
importance: Undecided → Low
status: New → Triaged
Revision history for this message
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.

Revision history for this message
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
Revision history for this message
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  
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.