[Resolvconf-devel] Bug#414692: kills resolv.conf on initial installation plus user experience report

Eduard Bloch edi at gmx.de
Sun Apr 10 14:03:58 UTC 2011


#include <hallo.h>
* Eduard Bloch [Sun, Apr 10 2011, 03:48:49PM]:

> Sorry, that's a total mess. I added "-x" to the scripts and still cannot

FYI, here is some output:

run-parts: executing /etc/network/if-pre-up.d/wpasupplicant

ifconfig eth1 192.168.0.245 netmask 255.255.255.0  	   	up
 route add default gw 192.168.0.1  eth1 
run-parts --verbose /etc/network/if-up.d
run-parts: executing /etc/network/if-up.d/000resolvconf
+ '[' -x /sbin/resolvconf ']'
+ case "$ADDRFAM" in
+ :
+ R=
+ '[' '' ']'
+ '[' '' ']'
+ '[' '' ']'
+ for NS in '$IF_DNS_NAMESERVERS'
+ R='nameserver 192.168.0.1
'
+ for NS in '$IF_DNS_NAMESERVERS'
+ R='nameserver 192.168.0.1
nameserver 8.8.8.8
'
+ echo -n 'nameserver 192.168.0.1
nameserver 8.8.8.8
'
+ /sbin/resolvconf -a eth1.inet
+ set -e
+ PATH=/sbin:/bin
+ MYNAME=resolvconf
+ RUN_DIR=/etc/resolvconf/run
+ IFACE_DIR=/etc/resolvconf/run/interface
+ ENABLE_UPDATES_FLAGFILE=/etc/resolvconf/run/enable-updates
+ CMD=-a
+ case "$CMD" in
+ IFACE=eth1.inet
+ '[' -z eth1.inet ']'
+ '[' eth1.inet = eth1.inet ']'
+ '[' eth1.inet = eth1.inet ']'
+ '[' eth1.inet = eth1.inet ']'
+ '[' eth1.inet = eth1.inet ']'
+ '[' eth1.inet = eth1.inet ']'
+ '[' -d /etc/resolvconf/run/interface ']'
+ cd /etc/resolvconf/run/interface
+ case "$CMD" in
+ OLD_CONTENT=
+ '[' -f eth1.inet ']'
++ sed 's/#.*//' -
+ NEW_CONTENT='nameserver 192.168.0.1
nameserver 8.8.8.8'
+ '[' 'nameserver 192.168.0.1
nameserver 8.8.8.8' = '' ']'
+ IFACE_TMPFILE=eth1.inet_new.7250
+ trap cleanup EXIT
+ echo 'nameserver 192.168.0.1
nameserver 8.8.8.8'
+ mv -f eth1.inet_new.7250 eth1.inet
+ '[' -e /etc/resolvconf/run/enable-updates ']'
+ exec run-parts --arg=-a --arg=eth1.inet /etc/resolvconf/update.d
run-parts: executing /etc/network/if-up.d/avahi-daemon






More information about the Resolvconf-devel mailing list