[arch-projects] [PATCH 0/2] iproute2 migration

dave reisner d at falconindy.com
Tue May 24 06:58:25 EDT 2011

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.archlinux.org/pipermail/arch-projects/attachments/20110524/cf6f42dc/attachment.html>

More information about the arch-projects mailing list