Q: IPv6-only setup - get rid of

Lennart Poettering mzerqung at 0pointer.de
Thu Jun 21 14:39:12 UTC 2012

On Thu, 21.06.12 18:22, Alexey I. Froloff (raorn at raorn.name) wrote:

> On Thu, Jun 21, 2012 at 03:39:43PM +0200, Lennart Poettering wrote:
> > Disabling IPv4 should result in socket(AF_INET, ...) returning
> > EAFNOSUPPORT. Just taking away doesn't do anything like that.
> Yep, and it doesn't prevent for anyone listening on
> But still, is it possible to get rid of, or it's
> hardcoded in systemd?

This is hardcoded in systemd, but nothing stops you from dropping this
again from the interface.

Basically, the logic in systemd is to configured to lo if IPv4
is available and ::1 to lo if IPv6 is available. But if this is later
undone or changed this is toally OK. 

We simply do this by default because this is such basic functionality
that lo should work everywhere and always without and specific


Lennart Poettering - Red Hat, Inc.

More information about the devel mailing list