Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 927241 - emerge --sync uses ipv6 for rsync even if it is disabled
Summary: emerge --sync uses ipv6 for rsync even if it is disabled
Status: UNCONFIRMED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2024-03-18 12:18 UTC by Pavel Balaev
Modified: 2024-03-18 19:38 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pavel Balaev 2024-03-18 12:18:21 UTC
socket.has_ipv6 gives a false result:
    
$ sysctl net.ipv6.conf.all.disable_ipv6=1
net.ipv6.conf.all.disable_ipv6 = 1
$ python
Python 3.11.8 (main, Feb 24 2024, 17:10:38) [GCC 13.2.1 20240210] on linux
>>> import socket
>>> socket.has_ipv6
True

Reproducible: Always

Steps to Reproduce:
1.disable ipv6
2.emerge --sync

Actual Results:  
emerge --sync use ipv6 on ipv6 disabled system configuration

Expected Results:  
emerge --sync use ipv4 if ipv6 is disabled
Comment 1 Pavel Balaev 2024-03-18 12:20:12 UTC
PR: https://github.com/gentoo/portage/pull/1309