<p><br>
On May 24, 2011 6:55 AM, "Tom Gundersen" <<a href="mailto:teg@jklm.no">teg@jklm.no</a>> wrote:<br>
><br>
> On Sun, May 22, 2011 at 4:43 PM, Dave Reisner <<a href="mailto:d@falconindy.com">d@falconindy.com</a>> wrote:<br>
> > I'm resubmitting my work of migrating to iproute2 from net-tools at Tom's<br>
> > request. It's pretty much the same, but with the feedback from Dan, I've added<br>
> > some extremely simple deprecation logic to yell at the user when he or she is<br>
> > still using the net-tools variables.<br>
> ><br>
> > The new logic uses some fairly simple (and generic) declarations: interface,<br>
> > address, netmask, and gateway. If interface is undefined, we fire off the<br>
> > deprecation warning, as this is the _only_ variable required to establish<br>
> > a connection via iproute2. If address is undefined, we skip reading netmask<br>
> > and gateway, and assume usage of dhcp. If address _is_ defined, we assert<br>
> > the need for gateway and netmask.<br>
> ><br>
> > I've opted to make this warning fairly common, firing it both on bringing up,<br>
> > and bringing down interfaces, as I think this needs to be made very clear,<br>
> > given the severity of the change.<br>
> ><br>
> > Along with this change, we would need to do a little bit of juggling with<br>
> > coreutils and yp-tools in order to make net-tools truly optional:<br>
> ><br>
> > - coreutils is currently built without hostname. enable this, removing it from<br>
> >  net-tools.<br>
> > - yp-tools is currently in extra. we would need to bring this into core in order<br>
> >  to support setting a domainname, and remove the symlinks to hostname from the<br>
> >  net-tools package.<br>
> ><br>
> > As always, comments, criticisms, and tomatoes are welcome.<br>
><br>
> I pushed these patches now. I probably will hold off on a release for<br>
> some time, to give people a chance to test this a bit more as a bug in<br>
> this code could be critical.<br>
><br>
> Thanks again for your work!<br>
><br>
> Cheers,<br>
><br>
> Tom<br>
Sounds good to me! Thanks for merging!</p>
<p>D</p>