After some more debugging, it seems to be a behavior change in dash
between Xenial:

# /bin/sh -c 'read cur_status < /sys/block/md0/md/sync_action; echo $cur_status'
i
# /bin/bash -c 'read cur_status < /sys/block/md0/md/sync_action; echo 
$cur_status'
idle

And Trusty:

# /bin/sh -c 'read cur_status < /sys/block/md0/md/sync_action; echo $cur_status'
idle
# /bin/bash -c 'read cur_status < /sys/block/md0/md/sync_action; echo 
$cur_status'
idle

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1599428

Title:
  checkarray doesn't work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mdadm/+bug/1599428/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to