[Bug 96260] Re: n-m-openvpn erases resolv.conf info

2007-09-24 Thread Philipp Kern
Hi network-manager bug wranglers, this bug report has a patch which lets named-manager refuse to update resolv.conf if the update will result in no nameservers being written to `/etc/resolv.conf' (which could happen with openvpn if no DNS server is pushed by the remote endpoint). Does it look sane

[Bug 96260] Re: n-m-openvpn erases resolv.conf info

2007-09-24 Thread Philipp Kern
Lowering the importance for network-manager-openvpn as a workaround (let the remote endpoint push DNS settings) exists. ** Changed in: network-manager-openvpn (Ubuntu) Importance: Medium => Low ** Summary changed: - n-m-openvpn erases resolv.conf info + n-m-openvpn: resolv.conf is erased if e

[Bug 96260] Re: n-m-openvpn erases resolv.conf info

2007-09-24 Thread Philipp Kern
This bug breaks sensible VPN access. ** Changed in: network-manager-openvpn (Ubuntu) Importance: Undecided => Medium -- n-m-openvpn erases resolv.conf info https://bugs.launchpad.net/bugs/96260 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contac

[Bug 96260] Re: n-m-openvpn erases resolv.conf info

2007-09-12 Thread Tobias McNulty
I can confirm this bug. I tried the patch and it fixes the problem. It's easy to build but if you don't want to bother, I've posted a binary: http://www.ppckernel.org/~tobias/ubuntu/feisty/ Just download it and run sudo dpkg -i network- manager_0.6.4-6ubuntu7_i386.deb Thanks for the fix. -- n

[Bug 96260] Re: n-m-openvpn erases resolv.conf info

2007-07-30 Thread Michael Trunner
My patch above do that. When the nameserver list is empty it will not update the resolve.conf -- n-m-openvpn erases resolv.conf info https://bugs.launchpad.net/bugs/96260 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-b

Re: [Bug 96260] Re: n-m-openvpn erases resolv.conf info

2007-07-30 Thread Soren Hansen
IIRC the bug is that the openvpn plugin sends an empty list of name servers and network-manager accepts that and deletes the current list. What needs to be done (I think) is to change network-manager to not do anything if it receives an empty list of name servers. -- Soren Hansen Ubuntu Server Te

[Bug 96260] Re: n-m-openvpn erases resolv.conf info

2007-07-29 Thread Ross Williams
You are correct. I made a quick assumption. What is happening is that network-manager-openvpn (nm-openvpn-service.c) is putting a message onto DBUS of type NM_DBUS_VPN_SIGNAL_IP4_CONFIG. That causes nm-vpn-service.c to call nm_ip4_config_add_nameserver(). Seems like all is as it should be in networ

[Bug 96260] Re: n-m-openvpn erases resolv.conf info

2007-07-29 Thread Eythian
If you invoke openvpn manually, it doesn't modify resolv.conf, so I'm somewhat sceptical this is what is occurring in this case. -- n-m-openvpn erases resolv.conf info https://bugs.launchpad.net/bugs/96260 You received this bug notification because you are a member of Ubuntu Bugs, which is the bu

[Bug 96260] Re: n-m-openvpn erases resolv.conf info

2007-07-29 Thread Ross Williams
Word to the wise: I think this bug is connected to an underlying lack of control of DNS settings by network-manager. It seems like the daemons NM invokes (openvpn, dhcp3, etc.) modify resolv.conf on their own accord in a way that's not controlled by or compatible with NM. For example, see

[Bug 96260] Re: n-m-openvpn erases resolv.conf info

2007-06-25 Thread logic
Same problem here, Tried the patch but it won't work. nm is still overwriting /etc/resolv.conf. local eth0 dhcp client (good): > # generated by NetworkManager, do not edit! > > search RtS > > > nameserver x.x.x.x > nameserver x.x.x.x nm - openvpn plugin connecting... no dns information foun

[Bug 96260] Re: n-m-openvpn erases resolv.conf info

2007-05-26 Thread TomasHnyk
** Changed in: network-manager-openvpn (Ubuntu) Status: Unconfirmed => Confirmed -- n-m-openvpn erases resolv.conf info https://bugs.launchpad.net/bugs/96260 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs ma

[Bug 96260] Re: n-m-openvpn erases resolv.conf info

2007-05-13 Thread Michael Trunner
Hi TomasHnyk, look at bug #88069. After fixing both I can use networkmanger-openvpn without a problem. Hope this helps you. Tschö Michael -- n-m-openvpn erases resolv.conf info https://bugs.launchpad.net/bugs/96260 You received this bug notification because you are a member of Ubuntu Bugs, whi

[Bug 96260] Re: n-m-openvpn erases resolv.conf info

2007-05-12 Thread TomasHnyk
Hi, it work for me (I followed the steps to build the package you posted elsewhere: 1. $ sudo apt-get build-dep network-manager 2. $ apt-get source network-manager 3. place the patch file in debian/patches 4. $ sudo debuild -us -uc # if this does not work you need devscritps package). That I stil

[Bug 96260] Re: n-m-openvpn erases resolv.conf info

2007-05-01 Thread Michael Trunner
Hi all, I have writen a fix for this bug. I think the problem isn't in the openvpn plugin, because it only told networkmanger that there is no nameserver. I think the problem is that networkmanger write a resolv.conf with no nameserver when activating a device. So that's the reason why my patch

[Bug 96260] Re: n-m-openvpn erases resolv.conf info

2007-04-23 Thread Alessandro Gervaso
I can also confirm this: I use openvpn to connect to my workplace's network and now I'm using the command-line because of this bug. This is a blocker for my less expert colleagues. -- n-m-openvpn erases resolv.conf info https://bugs.launchpad.net/bugs/96260 You received this bug notification beca

[Bug 96260] Re: n-m-openvpn erases resolv.conf info

2007-04-22 Thread magic-
I can confirm this also on the Feisty final version. Our university net uses openvpn for the whole transmission, but as the dns information is already set by the wlan connection it doesn't seem to retransmit them. In any case finally the resolv.conf is overwritten with an empty file. -- n-m-op

[Bug 96260] Re: n-m-openvpn erases resolv.conf info

2007-04-21 Thread Michael Trunner
Same problem here, so I can confirm, too. If this is fixed, a have a solution for bug #88069. -- n-m-openvpn erases resolv.conf info https://bugs.launchpad.net/bugs/96260 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-b

[Bug 96260] Re: n-m-openvpn erases resolv.conf info

2007-04-11 Thread Thomas Black
I can confirm this bug. I also use it for specific nets and I need to manually add the nameserver each time. -- n-m-openvpn erases resolv.conf info https://bugs.launchpad.net/bugs/96260 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu