Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 1311887

Summary: /dev/disk/by-id/wwn-* links for SATA devices have words in reverse order
Product: Red Hat Enterprise Linux 7 Reporter: Jan Kurik <jkurik>
Component: systemdAssignee: systemd-maint
Status: CLOSED ERRATA QA Contact: Frantisek Sumsal <fsumsal>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 7.2CC: amulhern, fge, fsumsal, jmagrini, jscotka, lnykryn, mnavrati, msekleta, nkshirsa, systemd-maint-list, systemd-maint
Target Milestone: rcKeywords: ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: systemd-219-19.el7_2.7 Doc Type: Bug Fix
Doc Text:
Due to an endianness problem, systemd previously read the device identification bytes in an incorrect order. As a consequence, the /dev/disk/by-id/wwn-* symbolic links generated by the udev device manager were incorrect. A patch has been applied to put the device identification bytes in the correct order. As a result, the mentioned symbolic links are generated correctly.
Story Points: ---
Clone Of: 1308795 Environment:
Last Closed: 2016-03-31 21:55:43 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1308795    
Bug Blocks:    

Description Jan Kurik 2016-02-25 09:43:48 UTC
This bug has been copied from bug #1308795 and has been proposed
to be backported to 7.2 z-stream (EUS).

Comment 11 Frantisek Sumsal 2016-03-08 17:08:40 UTC
1) Reproducer
## You need a machine with SATA HDD (/dev/sda in this case)
# export CURRENT_ID=$(udevadm info -p /sys/class/block/sda | grep "ID_WWN=" | sed -re 's/.*ID_WWN=0x(.+)/\1/')
# export EXPECTED_ID=$(hdparm -I /dev/sda | grep WWN | sed -re 's/.+ Identifier: (.+)/\1/')
# echo "Current ID: $CURRENT_ID | Expected ID: $EXPECTED_ID"
# [[ "$CURRENT_ID" == "$EXPECTED_ID" ]]
# echo $?

2) Output
a) Old package
# echo "Current ID: $CURRENT_ID | Expected ID: $EXPECTED_ID"
Current ID: 289d0c320751500a | Expected ID: 500a07510c32289d
# [[ "$CURRENT_ID" == "$EXPECTED_ID" ]]
# echo $?
1

b) New package
# echo "Current ID: $CURRENT_ID | Expected ID: $EXPECTED_ID"
Current ID: 500a07510c32289d | Expected ID: 500a07510c32289d
# [[ "$CURRENT_ID" == "$EXPECTED_ID" ]]
# echo $?
0

Comment 13 errata-xmlrpc 2016-03-31 21:55:43 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2016-0181.html