On 10/13/2017 11:34 AM, Mike Gilbert wrote:
On Fri, Oct 13, 2017 at 1:29 PM, Daniel Frey <djqf...@gmail.com> wrote:
I switched ISPs a couple months back and have been struggling with
networking issues (not LAN, just WAN.)

I have discovered that something is broken with my ISP's ipv6 support, every
time I go to a website there's a 10-second delay. When syncing portage today
I saw what the delay is: apparently it tries ipv6 twice, fails, then resorts
to ipv4 which works fine.

Most of my systems now have ipv6 support removed, and viola! no more delays.

Except for the three systems I have that run systemd. I went in the kernel
config to disable ipv6, and it won't let me - looking at the dependency
list, it's systemd blocking this.

So *why* on earth is it a dependency when (from what I've been reading after
discovering this) many ISPs don't seem to support it properly yet?

And is there a way to build systemd without ipv6? Or am I going to have to
revert these three systems back to openrc?

Instead of stripping IPv6 out of your kernel, I would suggest that you
simply disable it on any network interfaces. How you do this would
depend on the method you use to manager your network config.

I have tried this, I set a static ipv4 IP on one machine and set it to not configure ipv6 at all. I still have a delay on this machine, but now it's not obvious what they delay is.


If you really want to remove IPv6 from your kernel, simply disable the
GENTOO_LINUX_INIT_SYSTEMD config option, and enable the other other
dependencies manually.

https://gitweb.gentoo.org/proj/linux-patches.git/tree/4567_distro-Gentoo-Kconfig.patch#n106


I am going to try what Canek suggested and disable it on the kernel command line, but as the machine are currently updating I'll wait until they're done, then I'll try it. If it doesn't work then I'll set it up manually.

Dan

Reply via email to