kumquat-buildroot/package/busybox
Peter Korsgaard 584f418ec1 busybox: udhcpc.script: fix resolv.conf handling with multiple interfaces
When udhcpc is used on multiple network devices at the same time (or a mix
of dhcp and fixed configuration), /etc/resolv.conf should contain the
union of information from all the interfaces.

Currently that's not the case. The udhcpc script simply overwrites
resolv.conf with the information from the specific interface on each dhcp
bound/renew event.

Fix it by tagging lines with the interface they came from when added,
and drop the affected lines on deconfig/renew. As /etc/resolv.conf is
often a symlink to /tmp (and rootfs might be read only), special care
has to be taken when it is updated.

Notice that I'm not really aware of any official documentation requiring
that '#' comments in /etc/resolv.conf must be supported, but atleast
glibc and uClibc do.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-06-26 15:20:50 +02:00
..
1.19.4 busybox: move patches to new model 2013-04-23 08:59:23 +02:00
1.20.2 busybox: move patches to new model 2013-04-23 08:59:23 +02:00
1.21.0 busybox 1.21.0: update mdev patch and add ntfs volume patch 2013-05-14 17:20:10 +02:00
busybox-1.19.x.config
busybox-1.20.x.config busybox: add new 1.20.0, remove deprecated, mark 1.18.x deprecated 2012-04-29 10:51:14 +02:00
busybox-1.21.x.config busybox: add 1.21.x series 2013-01-21 23:38:24 +01:00
busybox.mk Normalize separator size to 80 2013-06-06 22:30:24 +02:00
Config.in busybox: support millisecond watchdog periods 2013-02-18 22:30:42 +01:00
mdev.conf
S01logging Fix path to pidfile 2013-03-31 20:56:50 +02:00
S10mdev Remove stray $ character from a bunch of init scripts 2012-03-15 22:11:25 +01:00
S15watchdog busybox: add watchdog daemon startup script 2012-05-06 22:43:52 +02:00
udhcpc.script busybox: udhcpc.script: fix resolv.conf handling with multiple interfaces 2013-06-26 15:20:50 +02:00