Recommended update for md_monitor
|References:||#1095141 #1116560 #1140006 #1157754|
|Affected Products:|| |
An update that has four recommended fixes can now be installed.
This update for md_monitor fixes the following issues:
- Use pselect() instead of select(). (bsc#1095141) The reason that pselect() is needed is that if one wants to wait for either a signal or for a file descriptor to become ready, then an atomic test is needed to prevent race conditions.
- Permanently store 'md_side' for each device and skip devices with valid md_slot in reset_mirror(). (bsc#1116560) A device might be removed or re-added, but in either case the side at which this happens should not change. The md_slot entry needs to be set to '-1' from the MD RAID10 code to indicate that a failed device has been correctly removed.
- Fix potential memleak in discover_md_components(). (bsc#1157754)
- Don't omit trailing dots in display_md_status. (bsc#1140006) display_md_status() and display_io_status() end output at the index of the last child of the md array they encounter while walking the sibling list. In the past this could have lead to missing trailing dots (".") if a disk at the end of the array was in removed.
To install this SUSE Recommended Update use the SUSE recommended installation methods
like YaST online_update or "zypper patch".
Alternatively you can run the command listed for your product:
- SUSE Linux Enterprise Server 12-SP5:
zypper in -t patch SUSE-SLE-SERVER-12-SP5-2020-695=1
- SUSE Linux Enterprise Server 12-SP4:
zypper in -t patch SUSE-SLE-SERVER-12-SP4-2020-695=1
- SUSE Linux Enterprise Server 12-SP5 (s390x):
- SUSE Linux Enterprise Server 12-SP4 (s390x):