From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3C04D1396D9 for ; Fri, 13 Oct 2017 19:32:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F320FE0E5A; Fri, 13 Oct 2017 19:32:47 +0000 (UTC) Received: from mail-pg0-x244.google.com (mail-pg0-x244.google.com [IPv6:2607:f8b0:400e:c05::244]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8C501E0C44 for ; Fri, 13 Oct 2017 19:32:47 +0000 (UTC) Received: by mail-pg0-x244.google.com with SMTP id r25so1943537pgn.4 for ; Fri, 13 Oct 2017 12:32:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=5KpKsb9ijqXk+1cRoHxg/QU25njDaaN3fqrzOxcrCw0=; b=Y2xfLEr9Gvdq1+K5Kk1cQdp6E1OtIaIdYvWJsTz0aoitXUxzIWm1nFvN3p1FM4fOyS sGJnkd69XOBvYTpxhTdnSqOdPIG/ACCigJH4BF/sJceEW4VkKvfL/W9PAi39xoFgkrmL fE2GxJc/Tv4/EStI7x9vABtsJ7NNYmX3QO9vuOE9zD4ibPsveogano+QIoLjxUOKCwad BLCSN9PkKlBLPfSRqTl5D72LMdOOSOc4ESAMD+vfD/TiQqHV9FXG//8UlwOB8dggOddb 2OHHKk2IFgUSKw1HEnlIGCeu798zbeWoHiN1ch7dVk4jqlJoYNSU3ZOM9ZtNrHITn5bp 6V/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=5KpKsb9ijqXk+1cRoHxg/QU25njDaaN3fqrzOxcrCw0=; b=UFsJGIm4BXu2WMcpgztpUZHL+KwYldxAreBA3HykLcDLXuIo8hXjYJfA2ezq2+gUg3 qbn/PhQHy5bfHgu1a3xkW7g9vopjhFKf2GcnD/KpqlTR1FP5MsCjkHc49zjr1RRXhJ8x yEnrzz8cQF4GvFASMw7gNha+HMYla4bXFu/0Wmzd3tUZLf2J0OQfY57DLXYRkzI3s9SR JbsnfVEaqn/CRFRttDJvxIGSIghl2hw4KZdHOa5Ezd5xJBc+UW5FAOHQfolPoajon6le HyjoNbUDg+3d+xTZ0wCamS/y0I3ERCcxQQbDTLafYzcMlxrzSqlBQcr05TYHJ3uprMcL 3rvA== X-Gm-Message-State: AMCzsaUbo7PouPnkVq9fIQxJ6C8v7LxShooAEIMl0GWgWfmXx7m8ueft Q4bBbA/+D4tvwTrVGS/8I1HXBlUQ X-Google-Smtp-Source: AOwi7QA349Q+bIVx8TX1EtakKcPK/6TNqjkTyqI7MaidiW8/8xTx9vsUOzx402neowJx7nJ0pbxlLg== X-Received: by 10.84.210.166 with SMTP id a35mr2295338pli.426.1507923166161; Fri, 13 Oct 2017 12:32:46 -0700 (PDT) Received: from ?IPv6:2001:569:7cc5:7100:222:4dff:fe48:22cc? (node-1w7jr9qty9x0gwcctadyzjpho.ipv6.telus.net. [2001:569:7cc5:7100:222:4dff:fe48:22cc]) by smtp.gmail.com with ESMTPSA id z78sm4345204pfd.178.2017.10.13.12.32.45 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 13 Oct 2017 12:32:45 -0700 (PDT) Subject: Re: [gentoo-user] Why I can't I build systemd without ipv6? To: gentoo-user@lists.gentoo.org References: <14d2d8af-e7b9-d5e6-06c1-a7f3ad01ac23@gmail.com> From: Daniel Frey Message-ID: Date: Fri, 13 Oct 2017 12:32:34 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Archives-Salt: 5a6fdc73-0f17-46ef-9d29-a829c167b7fa X-Archives-Hash: 62950cd0a55f5d96bc026fdd1a6b3b95 On 10/13/2017 11:34 AM, Mike Gilbert wrote: > On Fri, Oct 13, 2017 at 1:29 PM, Daniel Frey 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