On Thu, Mar 31, 2005 at 10:00:32PM +0200, Thomas Hood wrote: > On Thu, 2005-03-31 at 21:39 +0200, Eric Van Buggenhaut wrote: > > I'm the maintainer of the udhcpc debian package. > > A bug was just filed against it to include resolvconf support (see > > below). > > > I also wrote to you a while ago to ask whether resolvconf support could > be added. Did you get my message? >
No, sorry. A quick search in my mailbox shows it's the 1st message I get from this email address. You probably had better filed a wishlist bug against udhcpc. > > > But at the moment resolvconf conflicts with udhcpc. What is > > the rationale ? > > > The rationale is that udhcpc unconditionally overwrites resolv.conf. > > When resolvconf is installed it (resolvconf) needs to have exclusive > control over that file. > > See resolvconf's README file for more information. I'm modifying udhcpc's scripts. Would something like: if [ -x /sbin/resolvconf ] ; then [ -n "$domain" ] && echo domain $domain | resolvconf -a "${interface}.udhcpc" for i in $dns do echo adding dns $i echo nameserver $i | resolvconf -a "${interface}.udhcpc" done else echo -n > $RESOLV_CONF [ -n "$domain" ] && echo domain $domain >> $RESOLV_CONF for i in $dns do echo adding dns $i echo nameserver $i >> $RESOLV_CONF done fi for config and [ -x /sbin/resolvconf ] ; then resolvconf -d "${interface}.udhcpc" else /sbin/ifconfig $interface 0.0.0.0 fi for deconfig be OK ? I'll also change debian/control so that udhcpc Suggests: resolvconf. Do you agree with that or would you prefer a Recommends: ? As for sync'ing both our packages, my understanding is 1- I upload a new 'resolvconf-aware' udhcpc version 2- As soon as the package enters sid you upload a new resolvconf version not conflicting anymore with udhcpc. Is this timeline ok with you ? > > resolvconf -d "${IFACE}.udhcpc" > -- Eric VAN BUGGENHAUT [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]