Bug 2209701

Summary: "ip -6 route" command cuts ip address
Product: [Fedora] Fedora Reporter: lars.koeppel
Component: iprouteAssignee: Andrea Claudi <aclaudi>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 38CC: aclaudi, psutter, rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description lars.koeppel 2023-05-24 14:59:28 UTC
When using tailscale, it creats an interface with an ip address with a prefixlen of 128.

If i run "ip -6 route" it will cut the ip address after 31 characters. So the output looks like "aaaa:bbbb:cccc:dddd:eeee:ffff:g" but the output is expected to look like "aaaa:bbbb:cccc:dddd:eeee:ffff:gggg:hhhh".

In Ubuntu and Arch the same command results in the correct output. Also the command "ip -6 addr" results in the correct output on all distros.

Reproducible: Always

Steps to Reproduce:
1. run Tailscale with ipv6
2. run command "ip -6 route"
Actual Results:  
aaaa:bbbb:cccc:dddd:eeee:ffff:g dev tailscale0 proto kernel metric 256 pref medium

Expected Results:  
aaaa:bbbb:cccc:dddd:eeee:ffff:gggg:hhhh dev tailscale0 proto kernel metric 256 pref medium

Comment 1 lars.koeppel 2023-07-17 07:32:11 UTC
Since opening this bug report, i found from an other bug report(https://github.com/shemminger/iproute2/commit/890c599ec2e8905e7b8a433be3646d5d34901810), that the problem is connected to the glibc library.

They found a solution on how to fix this problem. Maybe you can have a look at it.