← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1550823] Re: checkarray doesn't work with sh = dash

 

** Bug watch added: Debian Bug tracker #787950
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=787950

** Also affects: mdadm (Debian) via
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=787950
   Importance: Unknown
       Status: Unknown

** Tags added: wily xenial

** Changed in: mdadm (Ubuntu)
   Importance: Undecided => High

** Also affects: mdadm (Ubuntu Xenial)
   Importance: High
       Status: New

** Changed in: mdadm (Ubuntu Xenial)
       Status: New => Triaged

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1550823

Title:
  checkarray doesn't work with sh = dash

Status in mdadm package in Ubuntu:
  Triaged
Status in mdadm source package in Xenial:
  Triaged
Status in mdadm package in Debian:
  Unknown

Bug description:
  As per https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=787950,
  /usr/share/mdadm/checkarray fails when it tries to read
  /sys/block/mdX/md/sync_action, if running under dash (or apparently
  most shells other than bash), with a 4.x kernel.

  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.

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