[Resolvconf-devel] Bug#783596: /e/n/i dns-* option only works in last of homonymous iface def'ns

Chris Francy francyci at gmail.com
Wed Apr 27 19:20:32 UTC 2016


> Any suggestions?

I believe the smallest change you could make that might make some
sense would be in the following patch.  I don't know what people would
expect if they had different DNS servers defined per stanza, but I
certainly believe that people don't expect their defined options to be
over-written from interfaces with nothing defined.

    # diff -u 000resolvconf 000resolvconf.jessie
    --- 000resolvconf   2016-04-27 11:58:54.861735300 -0700
    +++ 000resolvconf.jessie    2016-04-27 12:00:52.109735300 -0700
    @@ -43,5 +43,8 @@
     done
     IFS="$STANDARD_IFS"

    +# if we don't  have any options, don't do anything.
    +test -n "$R" || exit 0
    +
     echo -n "$R" | /sbin/resolvconf -a "${IFACE}.${ADDRFAM}" || :

Chris Francy



More information about the Resolvconf-devel mailing list