- Issued:
- 2008-05-21
- Updated:
- 2008-05-21
RHBA-2008:0410 - Bug Fix Advisory
Synopsis
mdadm bug fix update
Type/Severity
Bug Fix Advisory
Red Hat Insights patch analysis
Identify and remediate systems affected by this advisory.
Topic
An updated mdadm package that fixes several bugs is now available.
Description
mdadm is used to create, manage, and monitor Linux MD (software RAID)
devices. It provides similar functionality to the raidtools package.
This updated package fixes the following bugs:
- running the "mdadm -Q /dev/[device]" command did not return whether
"/dev/[device]" was a component of an md array. This could break scripts
that search for output such as "No md super block found" and "not an md
component". In this updated package, the "-Q" option has been reverted to
the Red Hat Enterprise Linux 4 behavior, and now returns "No md super block
found, not an md component" if no super block is found.
- the init scripts in this package (mdmonitor and mdmpd) were not Linux
Standard Base (LSB) compliant. Amongst other things, the LSB specification
details that "/etc/init.d/[init script] status" should always return the
status of the facility, even if it is not configured to run. It also details
which return codes should be used for certain failures, so that an external
program can easily tell by the return code why something did not behave as
expected. This update brings the scripts into LSB compliance.
- due to leaked file descriptors, if SELinux was set to "Enforcing" mode,
mdadm was unable to send email warnings if a RAID it was monitoring changed
to the degraded state. A new SELinux policy has been added, that includes
"dontaudit mdadm_t user_home_dir_t:dir { getattr search };", which resolves
this issue.
- in the previous versions of the mdadm package, when creating an array
using an internal bitmap, under certain conditions, an array would be
created where the bitmap and the file system data overlapped, resulting in
the bitmap corrupting the file system.
As well, this updated package upgrades mdadm to the latest upstream
version, 2.6.4, and includes several bug fixes that are not listed here.
For a full list of changes, please refer to the mdadm changelog located
here: http://koji.fedoraproject.org/koji/buildinfo?buildID=32037
All users of mdadm are advised to upgrade to this updated package, which
resolves these issues.
Solution
Before applying this update, make sure that all previously-released
errata relevant to your system have been applied.
This update is available via Red Hat Network. Details on how to use
the Red Hat Network to apply this update are available at
http://kbase.redhat.com/faq/FAQ_58_10188
Affected Products
- Red Hat Enterprise Linux Server 5 x86_64
- Red Hat Enterprise Linux Server 5 ia64
- Red Hat Enterprise Linux Server 5 i386
- Red Hat Enterprise Linux Workstation 5 x86_64
- Red Hat Enterprise Linux Workstation 5 i386
- Red Hat Enterprise Linux Desktop 5 x86_64
- Red Hat Enterprise Linux Desktop 5 i386
- Red Hat Enterprise Linux for IBM z Systems 5 s390x
- Red Hat Enterprise Linux for Power, big endian 5 ppc
- Red Hat Enterprise Linux Server from RHUI 5 x86_64
- Red Hat Enterprise Linux Server from RHUI 5 i386
Fixes
- BZ - 242686 - Wrong init script
- BZ - 335911 - SELinux denies from mdadm on bootup
CVEs
(none)
References
(none)
Red Hat Enterprise Linux Server 5
SRPM | |
---|---|
mdadm-2.6.4-1.el5.src.rpm | SHA-256: 2f135871c51bac18c47b112ca5b3cd5a0556faec3cbf44b626077803099420a9 |
x86_64 | |
mdadm-2.6.4-1.el5.x86_64.rpm | SHA-256: 0038607fe1e2c40b7275db305d62c593576b335f8b088f289bbeddbee7c07e42 |
ia64 | |
mdadm-2.6.4-1.el5.ia64.rpm | SHA-256: d5c1a5998ce1a893c7c0b0627f55af98362c7be3c4b8e6f77bae517a9acf2593 |
i386 | |
mdadm-2.6.4-1.el5.i386.rpm | SHA-256: 079caedba497cca33507b94c4871b7b8e058705b38d032738788457a234f2d54 |
Red Hat Enterprise Linux Workstation 5
SRPM | |
---|---|
mdadm-2.6.4-1.el5.src.rpm | SHA-256: 2f135871c51bac18c47b112ca5b3cd5a0556faec3cbf44b626077803099420a9 |
x86_64 | |
mdadm-2.6.4-1.el5.x86_64.rpm | SHA-256: 0038607fe1e2c40b7275db305d62c593576b335f8b088f289bbeddbee7c07e42 |
i386 | |
mdadm-2.6.4-1.el5.i386.rpm | SHA-256: 079caedba497cca33507b94c4871b7b8e058705b38d032738788457a234f2d54 |
Red Hat Enterprise Linux Desktop 5
SRPM | |
---|---|
mdadm-2.6.4-1.el5.src.rpm | SHA-256: 2f135871c51bac18c47b112ca5b3cd5a0556faec3cbf44b626077803099420a9 |
x86_64 | |
mdadm-2.6.4-1.el5.x86_64.rpm | SHA-256: 0038607fe1e2c40b7275db305d62c593576b335f8b088f289bbeddbee7c07e42 |
i386 | |
mdadm-2.6.4-1.el5.i386.rpm | SHA-256: 079caedba497cca33507b94c4871b7b8e058705b38d032738788457a234f2d54 |
Red Hat Enterprise Linux for IBM z Systems 5
SRPM | |
---|---|
mdadm-2.6.4-1.el5.src.rpm | SHA-256: 2f135871c51bac18c47b112ca5b3cd5a0556faec3cbf44b626077803099420a9 |
s390x | |
mdadm-2.6.4-1.el5.s390x.rpm | SHA-256: 0128723186b967b0534aae78323df3e121d518c09d63223b6c586a3bfddf7336 |
Red Hat Enterprise Linux for Power, big endian 5
SRPM | |
---|---|
mdadm-2.6.4-1.el5.src.rpm | SHA-256: 2f135871c51bac18c47b112ca5b3cd5a0556faec3cbf44b626077803099420a9 |
ppc | |
mdadm-2.6.4-1.el5.ppc.rpm | SHA-256: 3bcdd0e2caaf260fcf590382dd9c7ac5b43500194a3c8defa3309fe2ec8cfbfc |
Red Hat Enterprise Linux Server from RHUI 5
SRPM | |
---|---|
mdadm-2.6.4-1.el5.src.rpm | SHA-256: 2f135871c51bac18c47b112ca5b3cd5a0556faec3cbf44b626077803099420a9 |
x86_64 | |
mdadm-2.6.4-1.el5.x86_64.rpm | SHA-256: 0038607fe1e2c40b7275db305d62c593576b335f8b088f289bbeddbee7c07e42 |
i386 | |
mdadm-2.6.4-1.el5.i386.rpm | SHA-256: 079caedba497cca33507b94c4871b7b8e058705b38d032738788457a234f2d54 |
The Red Hat security contact is secalert@redhat.com. More contact details at https://access.redhat.com/security/team/contact/.