[PATCH] Allow compile without IPv6.

Gustavo Sverzut Barbieri barbieri at profusion.mobi
Wed Sep 8 09:38:45 PDT 2010


On Wed, Sep 8, 2010 at 1:35 PM, Marcel Holtmann <marcel at holtmann.org> wrote:
> Hi Gustavo,
>
>> >> >> 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? :-)
>> >>
>> >> btw, if you allow my patch to get in, in consideration I will kindly
>> >> create a new patch that flags if ipv6 support is present and if not
>> >> fallback to my ipv4 code... but that also means we need review of my
>> >> provided ipv4 code ;-)
>> >
>> > this is the wrong approach. I agree with Kay here in that systemd needs
>> > to handle gracefully a kernel where IPv6 is disabled, but that should be
>> > all that it is doing.
>>
>> Damn! and I was thinking about providing a connman build without ipv6... :-D
>>
>> BTW, could you provide some connman.service in your next release?
>
> if you have done so already, please send a patch. We can clearly include
> these. I still have the BlueZ patches from Lennart on my todo list.

I have the following one, but I guess we should move to dbus
activation and I still need to understand how to create them. So far
mine is:

[Unit]
Description=Network Connection Manager Daemon
Wants=syslog.target dbus.target

[Service]
ExecStart=/usr/sbin/connmand --nodaemon

[Install]
WantedBy=network.target

-- 
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