[Bug 712435] New: vpnc does not use standard method to modify /etc/resolv.conf - should use netconfig

https://bugzilla.novell.com/show_bug.cgi?id=712435 https://bugzilla.novell.com/show_bug.cgi?id=712435#c0 Summary: vpnc does not use standard method to modify /etc/resolv.conf - should use netconfig Classification: openSUSE Product: openSUSE 12.1 Version: Factory Platform: Other OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: Network AssignedTo: rwooninck@opensuse.org ReportedBy: meissner@novell.com QAContact: qa@suse.de CC: mt@novell.com Found By: --- Blocker: --- vpnc-script looks for and tries to use /sbin/modify_resolvconf to modify the resolv.conf file. However the helper was obsoleted and removed with 11.3 and is now replaced by "netconfig". It probably should be ported to use this new method, as currently it modifies /etc/resolv.conf directly. Marius can likely help with netconfig. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

https://bugzilla.novell.com/show_bug.cgi?id=712435 https://bugzilla.novell.com/show_bug.cgi?id=712435#c1 --- Comment #1 from Marius Tomaschewski <mt@suse.com> 2011-08-26 22:21:59 UTC --- FYI: I've added +vpnc to default list of netconfigs preferred services for DNS settings ranking. in sr # 79908 -> factory -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

https://bugzilla.novell.com/show_bug.cgi?id=712435 https://bugzilla.novell.com/show_bug.cgi?id=712435#c2 --- Comment #2 from Marius Tomaschewski <mt@suse.com> 2011-08-26 22:22:25 UTC --- { echo "DNSSERVERS='192.168.0.10 192.168.0.20'" echo "DNSSEARCH='example.net example.com'" } | /sbin/netconfig modify -s "vpnc" -i tun0 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

https://bugzilla.novell.com/show_bug.cgi?id=712435 https://bugzilla.novell.com/show_bug.cgi?id=712435#c3 --- Comment #3 from Bernhard Wiedemann <bwiedemann@suse.com> 2011-08-27 01:00:13 CEST --- This is an autogenerated message for OBS integration: This bug (712435) was mentioned in https://build.opensuse.org/request/show/79908 Factory / sysconfig -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

https://bugzilla.novell.com/show_bug.cgi?id=712435 https://bugzilla.novell.com/show_bug.cgi?id=712435#c Raymond Wooninck <rwooninck@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

https://bugzilla.novell.com/show_bug.cgi?id=712435 https://bugzilla.novell.com/show_bug.cgi?id=712435#c4 --- Comment #4 from Raymond Wooninck <rwooninck@opensuse.org> 2011-08-29 09:06:29 UTC --- Tested with the latest sysconfig, I still see that NetworkManager stays leading in the DNS ranking. Executing /sbin/netconfig modify -v -f -s vpnc -i tun0 <<-EOF
INTERFACE='tun0' DNSSERVERS='10.201.64.158 10.201.64.170' EOF
Delivers the following output: debug: lockfile created (/var/run/netconfig.pid) for PID 26896 debug: lockfile created debug: write new STATE file /var/run/netconfig//tun0/netconfig0 debug: Module order: dns-resolver dns-bind dns-dnsmasq nis ntp-runtime debug: dns-resolver module called debug: Static Fallback debug: Use NetworkManager policy merged settings debug: exec get_dns_settings: /var/run/netconfig/NetworkManager.netconfig debug: get_dns_settings: service 'NetworkManager' => rank '1' debug: get_dns_settings: DNS_SEARCHLIST_1='eur.cchbc.com' debug: get_dns_settings: DNS_SERVERS_1='192.168.0.1' debug: exit get_dns_settings: /var/run/netconfig/NetworkManager.netconfig debug: write_resolv_conf: ' eur.cchbc.com ' ' 192.168.0.1 ' debug: Installing new /etc/resolv.conf debug: dns-bind Module called debug: dns-dnsmasq Module called debug: nis Module called debug: Static Fallback debug: Use NetworkManager policy merged settings debug: exec get_nis_settings: /var/run/netconfig/NetworkManager.netconfig debug: exit get_nis_settings: /var/run/netconfig/NetworkManager.netconfig debug: set_nisdomainname: wlan1 26 debug: set_nisdomainname: => yes debug: set_nisdomainname: old[]=, new[26]= debug: format_yp_conf called with : debug: Using static fallback debug: format_static[0] called debug: Installing new /etc/yp.conf debug: nis domainname '' is up to date debug: ntp-runtime Module called debug: Static Fallback debug: Use NetworkManager policy merged settings debug: exec get_ntp_settings: /var/run/netconfig/NetworkManager.netconfig debug: get_ntp_settings: NTP_SERVER_LIST='' debug: exit get_ntp_settings: /var/run/netconfig/NetworkManager.netconfig Somehow it seems that if NetworkManager is running, netconfig will only get the settings available from NetworkManager. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

https://bugzilla.novell.com/show_bug.cgi?id=712435 https://bugzilla.novell.com/show_bug.cgi?id=712435#c Raymond Wooninck <rwooninck@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|rwooninck@opensuse.org |tittiatcoke@gmail.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

https://bugzilla.novell.com/show_bug.cgi?id=712435 https://bugzilla.novell.com/show_bug.cgi?id=712435#c5 --- Comment #5 from Bernhard Wiedemann <bwiedemann@suse.com> 2012-02-08 11:00:08 CET --- This is an autogenerated message for OBS integration: This bug (712435) was mentioned in https://build.opensuse.org/request/show/103205 Factory / vpnc -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

https://bugzilla.novell.com/show_bug.cgi?id=712435 https://bugzilla.novell.com/show_bug.cgi?id=712435#c6 Raymond Wooninck <tittiatcoke@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |UPSTREAM --- Comment #6 from Raymond Wooninck <tittiatcoke@gmail.com> 2012-02-09 22:10:47 UTC --- Upstream has changed the vpnc-script in such a way that it is using netconfig for openSUSE installations. However the above still stays valid, but using vpnc through NetworkManager seems to be working stable, therefore I am closing this bug as resolved. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com