public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Daniel Frey <djqfrey@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Why I can't I build systemd without ipv6?
Date: Fri, 13 Oct 2017 12:32:34 -0700	[thread overview]
Message-ID: <dca13e53-1dec-f5f8-a26c-62b66b0fecf6@gmail.com> (raw)
In-Reply-To: <CAJ0EP41ba_H2TT8eZfGdyRES-JmkaCnhFdDV5MOqe5-SDcSBeg@mail.gmail.com>

On 10/13/2017 11:34 AM, Mike Gilbert wrote:
> On Fri, Oct 13, 2017 at 1:29 PM, Daniel Frey <djqfrey@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


  parent reply	other threads:[~2017-10-13 19:32 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-13 17:29 [gentoo-user] Why I can't I build systemd without ipv6? Daniel Frey
2017-10-13 17:41 ` Jack
2017-10-13 19:21   ` Daniel Frey
2017-10-13 17:41 ` daniel
2017-10-13 19:23   ` Daniel Frey
2017-10-13 17:50 ` [gentoo-user] " Grant Edwards
2017-10-13 19:38   ` Daniel Frey
2017-10-13 18:05 ` [gentoo-user] " Canek Peláez Valdés
2017-10-13 19:33   ` Daniel Frey
2017-10-13 21:58   ` Daniel Frey
2017-10-14  7:37     ` Tom H
2017-10-14 15:00       ` Daniel Frey
2017-10-13 18:34 ` Mike Gilbert
2017-10-13 19:02   ` Rich Freeman
2017-10-13 19:42     ` Daniel Frey
2017-10-13 19:32   ` Daniel Frey [this message]
2017-10-13 20:58 ` Vadim A. Misbakh-Soloviov
2017-10-13 21:48   ` [gentoo-user] " Grant Edwards
2017-10-13 21:55     ` Daniel Frey
2017-10-14 11:05       ` Mick
2017-10-14 15:03         ` Daniel Frey
2017-10-14 15:08   ` [gentoo-user] " Daniel Frey

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=dca13e53-1dec-f5f8-a26c-62b66b0fecf6@gmail.com \
    --to=djqfrey@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox