checkarray doesn't work with sh = dash
Bug #1550823 reported by
Peter Cordes
This bug affects 5 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mdadm (Debian) |
Fix Released
|
Unknown
|
|||
mdadm (Ubuntu) |
Triaged
|
High
|
Dimitri John Ledkov | ||
Xenial |
Triaged
|
High
|
Dimitri John Ledkov |
Bug Description
As per https:/
Present in Ubuntu 15.10, where a default install does use /bin/sh -> dash, and runs Linux 4.2.
A simple workaround is to make it a #!/bin/bash script. Another alternative would be to read sync_action with cat, instead of the read built-in, since (as a reply on the Debian bug report says), the problem is char-at-a-time reading of the file in /sys.
tags: | added: wily xenial |
Changed in mdadm (Ubuntu): | |
importance: | Undecided → High |
Changed in mdadm (Ubuntu Xenial): | |
status: | New → Triaged |
Changed in mdadm (Ubuntu Xenial): | |
assignee: | nobody → Dimitri John Ledkov (xnox) |
Changed in mdadm (Debian): | |
status: | Unknown → New |
Changed in mdadm (Debian): | |
status: | New → Fix Released |
To post a comment you must log in.
Shouldn't this be changed upstream in the Debian package? Checkarray is not part of the mdadm program whatsoever. It appears it was added into the Debian package several years ago by an outside source.