Mailinglist Archive: opensuse-bugs (4067 mails)

< Previous Next >
[Bug 712435] 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#c4


--- Comment #4 from Raymond Wooninck <rwooninck@xxxxxxxxxxxx> 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.

< Previous Next >
References