From: Eli Schwartz <eschwartz@gentoo.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Wayland! Beware of!
Date: Wed, 25 Sep 2024 20:25:12 -0400 [thread overview]
Message-ID: <5563bc4b-23e0-40ee-959d-a4b527cbaded@gentoo.org> (raw)
In-Reply-To: <MTAwMDAzOS53ZG5lc2RheQ.1727302870@quikprotect>
[-- Attachment #1.1: Type: text/plain, Size: 3511 bytes --]
On 9/25/24 6:21 PM, Walter Dnes wrote:
>> There is no reason to disable IPv6 support, as Eli said (especially if
>> yo do not know _what_ you're trying to disable, and are just trying to
>> blanket-disable a vague concept of IPv6).
>
> This is *NOT* about a "vague concept". This is about solving a bug
> that makes browsing unbearable.
I think the two of you are talking past each other. What did Arsen mean
by "the vague concept of IPv6"? I suspect he meant:
You are trying to solve a concrete user issue with your browsing.
Your idea of how to solve the user issue is to blame IPv6, then get all
meta about how to solve it and decide that the vague concept of IPv6
must be eradicated and purged from the public consciousness -- rather
than disabling the specific issue that is causing problems.
> I'm not the only one. See archive
> https://public-inbox.gentoo.org/gentoo-user/14d2d8af-e7b9-d5e6-06c1-a7f3ad01ac23@gmail.com/
>
>> 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.
>
> In his case, the delay was only 10 seconds, but a delay nonetheless.
> This raises another point, it was not just Firefox that ran into
> problems, but rather anything that talked to the internet.
Hmm, that's basically what I said up-thread too. :) Portage, like many
other packages, talks to the internet and can have timeouts when IPv6 is
broken.
And there is no USE=ipv6 to disable for portage, nor for
dev-lang/python, nor for dev-python/requests. So how do you fix the problem?
Via the kernel command line or the sysctl. Easy.
In the thread you link to, people spent days blaming systemd for
"blocking ipv6 removal in our kernel .config" and had to switch init
systems just so they could reconfigure and rebuild their kernel.
Eventually someone suggested setting ipv6.disable_ipv6=1 on the kernel
command line. But the person with the original issue had already, by
that time,
"""
managed to switch back to openrc. That didn't go real smoothly, portage
couldn't figure out how to do it on it's own after switching profiles,
it was blindly removing and rebuilding some packages manually that
eventually made it work and not want to pull in systemd again
"""
and never actually bothered setting the kernel command line, nor
listening to the advice of the people in the thread who suggested that
the kernel .config option for systemd is not actually required to run
systemd, it's just a quick toggle for people who want to bulk-enable
settings that are best to use when running systemd.
And this is why rumors of how you need to set USE="-ipv6" to "make your
system stop timing out" spread. Because no one actually pays attention
to reality, and no one actually bothers to test the kernel command line
or sysctl options, so they spend days recompiling their system and
juggling USE flags and swapping back and forth between init systems in
the hope that it will stop the timeouts.
And all along it was literally a couple lines in a text file and one
`sysctl` command away, without even needing to reboot.
All it takes is people not running around like headless chickens.
All it takes is people not claiming that the Gentoo Developers have
"infamously made a USE flag change that made everyone's systems suddenly
break".
--
Eli Schwartz
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 236 bytes --]
next prev parent reply other threads:[~2024-09-26 0:25 UTC|newest]
Thread overview: 43+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-23 20:14 [gentoo-user] Wayland! Beware of! Alan Mackenzie
2024-09-23 21:11 ` Eli Schwartz
2024-09-23 22:08 ` Alan Mackenzie
2024-09-23 22:54 ` Eli Schwartz
2024-09-24 11:30 ` [gentoo-user] --depclean and openrc [Was: Wayland! Beware of!] Alan Mackenzie
2024-09-24 11:40 ` Arsen Arsenović
2024-09-24 12:34 ` [gentoo-user] --depclean and openrc Alan Mackenzie
2024-09-24 15:24 ` Eli Schwartz
2024-09-24 18:15 ` Alan Mackenzie
2024-09-27 0:09 ` [gentoo-user] --depclean and openrc [Was: Wayland! Beware of!] Mitchell Dorrell
2024-09-24 15:15 ` Eli Schwartz
2024-09-24 18:53 ` Alan Mackenzie
2024-09-24 19:36 ` Eli Schwartz
2024-10-25 19:22 ` Alan Mackenzie
2024-10-26 3:10 ` Walter Dnes
2024-10-27 1:53 ` Eli Schwartz
2024-10-27 22:52 ` Alan Mackenzie
2024-10-27 23:14 ` Eli Schwartz
2024-09-25 0:32 ` Matt Jolly
2024-09-24 0:43 ` [gentoo-user] Wayland! Beware of! Michael Orlitzky
2024-09-24 0:52 ` Mitchell Dorrell
2024-09-24 1:13 ` Matt Jolly
2024-09-24 1:52 ` Eli Schwartz
2024-09-24 9:46 ` Mitchell Dorrell
2024-09-25 0:14 ` Matt Jolly
2024-09-24 10:05 ` Dr Rainer Woitok
2024-09-24 22:00 ` Walter Dnes
2024-09-25 1:42 ` Eli Schwartz
2024-09-25 10:00 ` Walter Dnes
2024-09-25 11:53 ` Arsen Arsenović
2024-09-25 22:21 ` Walter Dnes
2024-09-26 0:25 ` Eli Schwartz [this message]
2024-09-26 5:08 ` Walter Dnes
2024-09-26 19:18 ` James Cloos
2024-09-25 14:26 ` Eli Schwartz
2024-09-25 14:40 ` jay
2024-09-26 0:19 ` Michael Orlitzky
2024-09-23 21:12 ` Arsen Arsenović
2024-09-23 21:20 ` Wol
2024-09-23 22:53 ` karl
2024-09-24 7:10 ` Wols Lists
2024-09-24 18:32 ` What is what (Re: [gentoo-user] Wayland! Beware of!) karl
2024-09-24 23:44 ` Wols Lists
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=5563bc4b-23e0-40ee-959d-a4b527cbaded@gentoo.org \
--to=eschwartz@gentoo.org \
--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