[PATCH] Allow compile without IPv6.

Gustavo Sverzut Barbieri barbieri at profusion.mobi
Wed Sep 8 08:17:04 PDT 2010


On Wed, Sep 8, 2010 at 12:01 PM, Kay Sievers <kay.sievers at vrfy.org> wrote:
> On Wed, Sep 8, 2010 at 16:36, Gustavo Sverzut Barbieri
> <barbieri at profusion.mobi> wrote:
>> This patch isolates code using IPv6, AF_INET6 and in6 usage inside
>> '#ifdef HAVE_IPV6' blocks.
>
> I think new projects from 2010 should not have ipv4-only. This time
> should be over, finally. And people should get used to see ipv6
> everywhere, and we should try to break the chicken-egg thing wherever
> possible. :)
>
> I can see the use for a systemd without any IP networking, but
> compiling-out ipv6 seems like the wrong thing to me. Sure, we should
> make sure, that systemd handles a kernel without ipv6 gracefully, but
> not offer a switch to stay in the IP stone age. :)

That means I'll have to maintain this patch outside tree forever? :-)

Really, as I said in IRC I do not compile ipv6 as it does no good for
me anytime soon, once I see the use I can just enable it again. Right
now it just add kernel space, wastes cpu and memory and the worst
thing: pollutes my ifconfig/netstat! ;-) Also gentoo provides a nice
-ipv6 flag to keep it clean, and this patch would fit nice!

For general purpose distros like Fedora it does make sense to support
IPv6, but in my case I run my systems with all required device drivers
built-in and just those that I have... whenever I buy new cards or
change machines I recompile the kernel anyway. So keeping ipv6 for
"one day it may happen" is not something I want.

-- 
Gustavo Sverzut Barbieri
http://profusion.mobi embedded systems
--------------------------------------
MSN: barbieri at gmail.com
Skype: gsbarbieri
Mobile: +55 (19) 9225-2202


More information about the systemd-devel mailing list