Your message dated Thu, 22 Jun 2017 13:05:30 +0000
with message-id <[email protected]>
and subject line Bug#787950: fixed in mdadm 4.0-1
has caused the Debian Bug report #787950,
regarding mdadm: /usr/share/mdadm/checkarray: fails silently, without any action
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
787950: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=787950
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: mdadm
Version: 3.4-1
Severity: important
Because of a peculiar bug in dash (0.5.8-2.2) reading from sysfs using the
read command, on my sysstem, line 145 of checkarray always fails with status
1, thus ending the script (set -e) and providing no hint to the
administrator (via cronjob output mail) that checks are not actually being
performed on schedule. Assuming it affects others, this is of course very
serious.
I can reproduce the shell bug easily enough at a /bin/sh prompt:
$ MDBASE=/sys/block/md126/md
$ cat $MDBASE/sync_ation
idle
$ read cur_status < $MDBASE/sync_ation
$ echo $?
1
$ echo $cur_status
i
The workaround for me is to use bash (start the script from the crontab
using bash). It works perfectly then.
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.6.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
--- End Message ---
--- Begin Message ---
Source: mdadm
Source-Version: 4.0-1
We believe that the bug you reported is fixed in the latest version of
mdadm, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Dimitri John Ledkov <[email protected]> (supplier of updated mdadm package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Thu, 22 Jun 2017 13:23:10 +0100
Source: mdadm
Binary: mdadm mdadm-udeb
Architecture: amd64 source
Version: 4.0-1
Distribution: unstable
Urgency: medium
Maintainer: Debian mdadm maintainers <[email protected]>
Changed-By: Dimitri John Ledkov <[email protected]>
Closes: 787950 843665
Launchpad-Bugs-Fixed: 1599428 1668128
Description:
mdadm - tool to administer Linux MD arrays (software RAID)
mdadm-udeb - tool to administer Linux MD arrays (software RAID) (udeb)
Changes:
mdadm (4.0-1) unstable; urgency=medium
.
* New upstream release. LP: #1668128
* Drop warnings that raid arrays are missing from the initramfs
configuration. Instead have a positive message as to which arrays are
included in the initramfs.
* Add a warning to mkconf generated file that mdadm.conf is copied into
initrafms.
* Fix checkarray script bugs. LP: #1599428 Closes: #787950 Closes: #843665
Checksums-Sha1:
1abd164e56c999a84d3df0397a9b21052a691343 1707 mdadm_4.0-1.dsc
fed5e15ca11887f4e071c0348b9e9ea8e03f4397 570227 mdadm_4.0.orig.tar.gz
595298968e5a9e038cbd9b1a6853da18eda526f6 81280 mdadm_4.0-1.debian.tar.xz
7d76ea35865fa459ed807529ce60af5ab36be622 1079082 mdadm-dbgsym_4.0-1_amd64.deb
8d7de1b07d7a877ff543a2526b3b71b5726a9c36 279250 mdadm-udeb_4.0-1_amd64.udeb
3096bbb1fbe92521fa9e9fe7d2708d346ec813e9 4776 mdadm_4.0-1_amd64.buildinfo
d06e6335318a2d58522c1a5910c94443ef1322f6 437336 mdadm_4.0-1_amd64.deb
Checksums-Sha256:
af111f1cc0164047069c586ea8567e0f76df9e9b5ec63930c9a9d44a8fd479f0 1707
mdadm_4.0-1.dsc
fa96ed39dd0c3d4451f42678768c07f70bd20670e80e68c60214a147e50a10dd 570227
mdadm_4.0.orig.tar.gz
14f7b28b2e68b9ff0914a93d3bf482582f73a9bc2fc17b03ff9b93a273a25d3c 81280
mdadm_4.0-1.debian.tar.xz
6181fb96adb5418b91597997960db5bf934751a882806edf7d5eb3e0273c0dcb 1079082
mdadm-dbgsym_4.0-1_amd64.deb
38d88fb2709c3d11559ca01217d4d80ab73cf26a84c5655c96b12896d6f2c82b 279250
mdadm-udeb_4.0-1_amd64.udeb
a21161dfb42a73bdf7ea6da0ceda7b731da6c95ff0f8fe24948cdd550636bdad 4776
mdadm_4.0-1_amd64.buildinfo
774cbb9eb9fbdbbf603a8d6ce14ffc1dd78a8c44836a1c2b5c477949d94bd298 437336
mdadm_4.0-1_amd64.deb
Files:
37159c0a2d85884bd2828b86ca4164fa 1707 admin optional mdadm_4.0-1.dsc
0b5c862f794dfe8952feceb8bd4f8eb2 570227 admin optional mdadm_4.0.orig.tar.gz
a41ff1f797057de2166e9a5e72e505d7 81280 admin optional mdadm_4.0-1.debian.tar.xz
eb82c2d04aac682d6f2f84d2e5ce362d 1079082 debug extra
mdadm-dbgsym_4.0-1_amd64.deb
1a5476bd4784a3e25e5a6b384c868f9e 279250 debian-installer optional
mdadm-udeb_4.0-1_amd64.udeb
c05ead1afb66f093e55641f8825c2835 4776 admin optional
mdadm_4.0-1_amd64.buildinfo
b75552724157229b9c915098cf284dfd 437336 admin optional mdadm_4.0-1_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQEcBAEBCAAGBQJZS7y4AAoJEMrC2LnNLKX5sQQIAIqBxGUAPq5QFhLEVfDq9ltt
Dbjq+SBgLo4vpFUntdpMf/xDmAhWzZoAoFj4GvzNDsqEiNGqDdtMpBQYmyP8mWYN
YIEWY+XLlUW246aA46FnXDZqutMvkEc++BK1EADJKlmVIIRXegimrC3+CRVrp5zB
xEh0iSTjEYK8WrvR8Cb8BzzZxQXhNN32FlbbiIRtRQZS0ePKaHi4Wl8XU7I9/O83
ZsWiD/QxNAxtM8FVZW2+eifCaYQEhWo9rGDMY91VKDdCD0FxkYkde6jzSZ3ylpVN
5eked77fjYhHLbkYBsGUf7U58XJPLdKgCCxgjpruJyaZ2NmvFV+3t5pAtsW9kgg=
=M9JX
-----END PGP SIGNATURE-----
--- End Message ---