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: | systemd | Assignee: | systemd-maint |
Status: | CLOSED ERRATA | QA Contact: | Frantisek Sumsal <fsumsal> |
Severity: | urgent | Docs Contact: | |
Priority: | urgent | ||
Version: | 7.2 | CC: | amulhern, fge, fsumsal, jmagrini, jscotka, lnykryn, mnavrati, msekleta, nkshirsa, systemd-maint-list, systemd-maint |
Target Milestone: | rc | Keywords: | 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
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 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 |