RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2139443 - Preserve the order of IPv6 addresses
Summary: Preserve the order of IPv6 addresses
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: NetworkManager
Version: 8.7
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: NetworkManager Development Team
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-11-02 14:30 UTC by Gris Ge
Modified: 2022-11-02 14:40 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-11-02 14:35:40 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-138096 0 None None None 2022-11-02 14:40:16 UTC

Description Gris Ge 2022-11-02 14:30:16 UTC
Description of problem:


Version-Release number of selected component (if applicable):
NetworkManager-1.40.0-1.el8.x86_64

How reproducible:
100%

Steps to Reproduce:

nmcli c del dummy1

nmcli c add type dummy ifname dummy1 \
    connection.id dummy1 \
    ipv4.method manual \
    ipv4.address 192.0.2.2/24,192.0.2.1/24 \
    ipv6.method manual \
    ipv6.address 2001:db8:2::1/64,2001:db8:1::1/64

sleep 2
ip addr show dev dummy1

Actual results:

2001:db8:2::1/64 been listed after 2001:db8:1::1/64

Expected results:

2001:db8:2::1/64 been listed before 2001:db8:1::1/64


Additional info:

Comment 1 Thomas Haller 2022-11-02 14:34:52 UTC
in the past, the order of "ipv6.addresses" was reversed.

This was fixed/changed upstream in 1.40.0 and in rhel-9.1+.

rhel-8.7+ keeps the old behavior.

This is intended.

See this downstream patch: https://gitlab.com/redhat/centos-stream/rpms/NetworkManager/-/blob/53768ceaad3618e01be7597075405a05914193cf/0003-order-ipv6-addresses.patch



The point is to stick to earlier rhel-8 behavior, which makes it inconsistent with upstream and rhel-9.



This cannot be fixed, without breaking something else.


Note You need to log in before you can comment on or make changes to this bug.