Sysop: | Amessyroom |
---|---|
Location: | Fayetteville, NC |
Users: | 43 |
Nodes: | 6 (0 / 6) |
Uptime: | 96:30:27 |
Calls: | 290 |
Files: | 904 |
Messages: | 76,426 |
Do you have that little faith in the Gentoo Developers, that you
think we'd make a USE flag change that made everyone's systems
suddenly break?
:(
Do you specifically use the closed-source drivers, though?
On Mon, Sep 23, 2024 at 05:11:14PM -0400, Eli Schwartz wrote
Do you have that little faith in the Gentoo Developers, that you
think we'd make a USE flag change that made everyone's systems
suddenly break?
:(
I was around way back when "ipv6" became the default. I was using
Firefox back then. Type in a URL; Firefox spins its wheels for 60
seconds in IPV6; it finally gives up and drops down to IPV4. This
happened with every URL.
After that I ran with USE="-* yada yada yada" for quite some time. Currently, I'm less extreme, merely disabling a bunch of USE flags...upower -wayland"
USE="X apng ffmpeg introspection jpeg opengl openmp png truetype x264 x265 xorg threads vala -acl -caps -clang -context -elogind -filecaps -graphite -gstreamer -haptic -iptables -ipv6 -libav -llvm -manpager -pam -sendmail -spirv -tofu -su -udisks -
The "szip" and "xinerama" USE flags seem to have disappeared.
And who can forget the move from /dev/hda hdb hdc etc., to /dev/sda
sdb sdc etc.? Machine literally unbootable on the newly compiled
kernel. Fortunately, I always have "Production" and "Experimental"
kernels. The newly compiled kernel is always "Experimental". If things
go badly, I drop back to the "Production" kernel and try to figure out
what went wrong. Only after a long while do I execute my "promote"
script that copies "Experimental" over top of "Production".
If you actually want to disable ipv6, instead of insanely rebuilding
binaries to use untested broken segfaulting code, use the sysctl
knob to tell the kernel "when asked to give some application a bit
of internet traffic, don't use ipv6".
net.ipv6.conf.all.disable_ipv6
That's quite the bloated collection of enabled USE flags you have
there -- lots of stuff that are much more bloated than ipv6, in
fact. :)
On Tue, Sep 24, 2024 at 09:42:23PM -0400, Eli Schwartz wrote
If you actually want to disable ipv6, instead of insanely rebuilding
binaries to use untested broken segfaulting code, use the sysctl
knob to tell the kernel "when asked to give some application a bit
of internet traffic, don't use ipv6".
net.ipv6.conf.all.disable_ipv6
My system is actually very stable. In the shitstorm that erupted on
this list at "ipv6" enabling I did not see any mention of sysctl. In my /etc/default/grub file I have...
GRUB_CMDLINE_LINUX_DEFAULT="noexec=on net.ifnames=0 ipv6.disable=1"
With this setting is it guaranteed that a program compiled with "ipv6"
flag will not try IPV6 first and timeout before dropping down to IPV4?
How OS-specific is this?
I "asked Mr. Google" and the NordVPN web page recommended for Redhat
based distros...
net.ipv6.conf.all.disable_ipv6=1
net.ipv6.conf.default.disable_ipv6=1
net.ipv6.conf.tun0.disable_ipv6=1
For Debian-based distros...
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
net.ipv6.conf.tun0.disable_ipv6 = 1
Other answers for disabling IPV6 include stuff like...
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
net.ipv6.conf.eth0.disable_ipv6 = 1
BTW, I did *NOT* have IPV6 enabled when the USE flag changed...
[x8940][root][~] grep IPV6 /usr/src/linux/.config
# CONFIG_IPV6 is not set
--That's quite the bloated collection of enabled USE flags you have
there -- lots of stuff that are much more bloated than ipv6, in
fact. :)
Stuff that I don't use is left disabled. I occasionally look at my package.use file. If a flag is enabled for multiple apps there, I run
USE="flag" emerge -pv --changed-use --deep --pdate @world
If there isn't much new stuff pulled in I'll...
* enable the flag in make.conf
* delete the enabling entries in package.use
* disable, in package.use, the flag for new stuff that tha flag pulls in
This minimizes the size of my package.use file. Note: this is optimal
for the collection of apps *THAT I USE*. YMMV.
My system is actually very stable. In the shitstorm that erupted on
this list at "ipv6" enabling I did not see any mention of sysctl. In my /etc/default/grub file I have...
GRUB_CMDLINE_LINUX_DEFAULT="noexec=on net.ifnames=0 ipv6.disable=1"
With this setting is it guaranteed that a program compiled with "ipv6"
flag will not try IPV6 first and timeout before dropping down to IPV4?
How OS-specific is this? I "asked Mr. Google" and the NordVPN web
page recommended for Redhat based distros...
I suspect your Firefox anecdote happened due to misconfiguration
(I think network.http.fast-fallback-to-IPv4 dictates the use of this algorithm in Firefox).
As a point of reference, I do nothing to disable IPv6 support, and my
ISP does not provide IPv6 support, yet I have no added latency due to
IPv6 support being enabled. I just get the benefits of better LANs and internal networks.
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).
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.
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'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.
Please do not disable the USE=ipv6, as that is *utterly* insane. It also
does approximately nothing. In packages which support this USE flag,
which is rare, it causes the code to use old, untested APIs which only support ipv4, rather than new, tested APIs that support ipv4 and ipv6
equally well while having the benefit of being stable, reliable and efficient.
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.
"WD" == Walter Dnes <waltdnes@waltdnes.org> writes:
This is *NOT* about a "vague concept". This is about solving a bug
that makes browsing unbearable. I'm not the only one. See archive https://public-inbox.gentoo.org/gentoo-user/14d2d8af-e7b9-d5e6-06c1-a7f3ad01ac23@gmail.com/