Comment 6 for bug 8634

Revision history for this message
In , Switch (switch-ono) wrote : dhcp3-client: It should also chech if /etc/resolv.conf exists

Package: dhcp3-client
Version: 3.0+3.0.1rc11-5
Severity: normal
Followup-For: Bug #159529

dhclient-script does not check if /etc/resolv.conf exists.
If /etc/resolv.conf exists, and is lost for any reason, the script won't
re-create it until domain name or dns's change.

There are two solutions to this problem:
1.- Always re-create /etc/resolv.conf (Fast and bad solution)
2.- Enable a modifier to allow users to create or not /etc/resolv.conf.
This could be enablede by default.

Commenting "if ... " and "fi" lines on dhclient-script makes it work for
me.

Greetings.

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux wanda 2.4.22-ac4 #1 sáb oct 11 14:34:04 CEST 2003 i686
Locale: LANG=es, LC_CTYPE=es (ignored: LC_ALL set to es_ES@euro)

Versions of packages dhcp3-client depends on:
ii debconf 1.3.20 Debian configuration management sy
ii debianutils 2.6 Miscellaneous utilities specific t
ii dhcp3-common 3.0+3.0.1rc11-5 Common files used by all the dhcp3
ii libc6 2.3.2.ds1-10 GNU C Library: Shared libraries an

-- no debconf information