Bug#664873: strongswan-starter: strongswan replaces /etc/resolv.conf instead of adding information

2012-03-26 Thread Yves-Alexis Perez
On lun., 2012-03-26 at 15:18 +0200, Tobias Brunner wrote: Hi Yves-Alexis, thanks for the report. Strongswan, when adding a dns server in /etc/resolv.conf, seems to remove the file and recreate it, thus not preserving the symlink. True, charon adds the received DNS server to a new file

Bug#664873: strongswan-starter: strongswan replaces /etc/resolv.conf instead of adding information

2012-03-26 Thread Yves-Alexis Perez
On lun., 2012-03-26 at 15:25 +0200, Yves-Alexis Perez wrote: On lun., 2012-03-26 at 15:18 +0200, Tobias Brunner wrote: Hi Yves-Alexis, thanks for the report. Strongswan, when adding a dns server in /etc/resolv.conf, seems to remove the file and recreate it, thus not preserving the

Bug#664873: strongswan-starter: strongswan replaces /etc/resolv.conf instead of adding information

2012-03-26 Thread Tobias Brunner
Since Ubuntu 12.04 seems to come with resolvconf installed by default it would make sense to add support for it. Which is what I did in the resolvconf branch of our repository (see [1]). Would be great if you could try the patches (only [2] is really required). Thanks, will do and report

Bug#664873: strongswan-starter: strongswan replaces /etc/resolv.conf instead of adding information

2012-03-26 Thread Tobias Brunner
Hi Yves-Alexis, thanks for the report. Strongswan, when adding a dns server in /etc/resolv.conf, seems to remove the file and recreate it, thus not preserving the symlink. True, charon adds the received DNS server to a new file with the same name (after opening and unlinking the existing

Bug#664873: strongswan-starter: strongswan replaces /etc/resolv.conf instead of adding information

2012-03-26 Thread Yves-Alexis Perez
On lun., 2012-03-26 at 15:44 +0200, Tobias Brunner wrote: Since Ubuntu 12.04 seems to come with resolvconf installed by default it would make sense to add support for it. Which is what I did in the resolvconf branch of our repository (see [1]). Would be great if you could try the patches

Bug#664873: strongswan-starter: strongswan replaces /etc/resolv.conf instead of adding information

2012-03-21 Thread Yves-Alexis Perez
Package: strongswan-starter Version: 4.5.2-1.3 Severity: important Hi, I'm using strongswan with IKEv2 to setup an ipsec tunnel in a roadwarrior config. I use the dns plugin to add the “home network” dns server to the resolver config when I mount the tunnel. This works fine, except that it