On 2015/09/11 19:54, Delan Azabani wrote: > On Fri, Sep 11, 2015 at 7:43 PM, Stuart Henderson <[email protected]> wrote: > > I've tried various combinations with the current code and haven't run > > into a case where it fails. Can you show an example of how to trigger a > > failure? > > The first /etc/netstart invocation below shows how specifying interface > names on the command line fails to result in IPv6 autoconfiguration. > > The second /etc/netstart invocation below shows how autoconfiguration > fails on multiple interfaces, as the script currently and erroneously > tries to run "ifconfig vether0 vether1 vether2 vether3 vio0 autoconf". > > # cat /etc/hostname.vether0 > rtsol > > # cat /etc/hostname.vether1 > rtsol > > # cat /etc/hostname.vether2 > rtsol > > # cat /etc/hostname.vether3 > rtsol > > # sh /etc/netstart vether2 vether3 > (notice how there is no "IPv6 autoconf: vether2 vether3") > > # sh /etc/netstart > IPv6 autoconf: vether0 vether1 vether2 vether3 vio0 > ifconfig: vether1: bad value >
Ah, I see, I just had 'inet6 autoconf' in my hostname.if files which is why I didn't run into it. Diff (http://permalink.gmane.org/gmane.os.openbsd.tech/44035 for those who don't have the thread saved) works for me, any OKs to commit?
