Your message dated Mon, 23 Aug 2021 21:06:37 +0000
with message-id <[email protected]>
and subject line Bug#772465: fixed in mdadm 4.2~rc2-3
has caused the Debian Bug report #772465,
regarding mdadm: checkarray: add support for repair 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.)


-- 
772465: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=772465
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: mdadm
Version: 3.3.2-2
Severity: wishlist
Tags: patch

Please consider the attached patch, it enables the use of the repair action
in the cron checkarray script.  Manual configuration is required to switch
from the standard check to the new repair mode, so it shouldn't have any
added risk to deployed systems.

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh
--- checkarray	2014-12-07 12:22:21.611713564 -0200
+++ checkarray.repair	2014-12-07 12:22:06.018196634 -0200
@@ -27,6 +27,7 @@
  -a|--all	check all assembled arrays (ignores arrays in command line).
  -s|--status	print redundancy check status of devices.
  -x|--cancel	queue a request to cancel a running redundancy check.
+ -r|--repair	repair instead of check
  -i|--idle	perform check in a lowest scheduling class (idle)
  -l|--slow	perform check in a lower-than-standard scheduling class
  -f|--fast	perform check in higher-than-standard scheduling class
@@ -46,11 +47,11 @@
 Devices can be specified in almost any format. The following are equivalent:
  /dev/md0, md0, /dev/md/0, /sys/block/md0
 
-You can also control the status of a check with /proc/mdstat file."
+You can also control the status of a check/repair with /proc/mdstat file."
 }
 
-SHORTOPTS=achVqQsxilf
-LONGOPTS=all,cron,help,version,quiet,real-quiet,status,cancel,idle,slow,fast,realtime
+SHORTOPTS=achVqQsxrilf
+LONGOPTS=all,cron,help,version,quiet,real-quiet,status,cancel,repair,idle,slow,fast,realtime
 
 eval set -- $(getopt -o $SHORTOPTS -l $LONGOPTS -n $PROGNAME -- "$@")
 
@@ -67,6 +68,7 @@
     -a|--all) all=1;;
     -s|--status) action=status;;
     -x|--cancel) action=idle;;
+    -r|--repair) action=repair;;
     -i|--idle) ionice=idle;;
     -l|--slow) ionice=low;;
     -f|--fast) ionice=high;;
@@ -165,7 +167,7 @@
       [ $quiet -lt 1 ] && echo "$PROGNAME: I: cancel request queued for array $array." >&2
       ;;
 
-    check)
+    check|repair)
       if [ "$cur_status" != idle ]; then
         [ $quiet -lt 2 ] && echo "$PROGNAME: W: array $array not idle, skipping..." >&2
         continue
@@ -187,9 +189,9 @@
       fi
 
       # queue request for the array. The kernel will make sure that these requests
-      # are properly queued so as to not kill one of the array.
+      # are properly queued so as to not kill one of the arrays.
       echo $action > $MDBASE/sync_action
-      [ $quiet -lt 1 ] && echo "$PROGNAME: I: check queued for array $array." >&2
+      [ $quiet -lt 1 ] && echo "$PROGNAME: I: $action queued for array $array." >&2
 
       case "$ionice" in
         idle) ioarg='-c3'; renice=15;;

--- End Message ---
--- Begin Message ---
Source: mdadm
Source-Version: 4.2~rc2-3
Done: Felix Lechner <[email protected]>

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.
Felix Lechner <[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: SHA512

Format: 1.8
Date: Mon, 23 Aug 2021 13:01:29 -0700
Source: mdadm
Architecture: source
Version: 4.2~rc2-3
Distribution: unstable
Urgency: medium
Maintainer: Felix Lechner <[email protected]>
Changed-By: Felix Lechner <[email protected]>
Closes: 772465 972357 972440 982607
Changes:
 mdadm (4.2~rc2-3) unstable; urgency=medium
 .
   * Add support for 'repair' action to checkarray. (Closes: #772465)
   * Use a reproducible timestamp in mkconf; delete temporary file in initramfs.
    (Closes: #982607)
   * Adjust character set of Swedish debconf translation; no string changes.
     (Closes: #972357)
   * Update the Czech translations of debconf messages. (Closes: #972440)
   * Drop version check in postinst for an upload predating the release of 
oldstable.
   * Add a file with upstream metadata providing the information sought by 
DEP-12.
   * Fix typo in manual page.
   * Refresh Debian patches.
Checksums-Sha1:
 1da0e6ffc4965d4080f64abe26d2774f6d156147 2186 mdadm_4.2~rc2-3.dsc
 3e9640e8ed753db16b3cc2717f97b46b09282e79 89776 mdadm_4.2~rc2-3.debian.tar.xz
 8a0d6b51fafdff5139d3488e9d81de44904bb262 6120 mdadm_4.2~rc2-3_source.buildinfo
Checksums-Sha256:
 ad02c1ad563d036d0d9a428b787752cc60c9e46ed7990e67aa8661f4cec6597c 2186 
mdadm_4.2~rc2-3.dsc
 7fa0c5bda0de222fbb103c0ab2cb1e7c4642ecba3806d5788bbe2e71050362de 89776 
mdadm_4.2~rc2-3.debian.tar.xz
 d0724f0623912faa71b9179b5b3ab2495d4861c3a50488826513b145e4c8c267 6120 
mdadm_4.2~rc2-3_source.buildinfo
Files:
 724e94302b5409b8e95bad9f726820c2 2186 admin optional mdadm_4.2~rc2-3.dsc
 b1b71d64a7bafacc2de195a3eaaae5b7 89776 admin optional 
mdadm_4.2~rc2-3.debian.tar.xz
 5d2c407a74a6b30ac63f49aa5446064f 6120 admin optional 
mdadm_4.2~rc2-3_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQKvBAEBCgCZFiEE8E0cIgLi+g0BiFTarFipTxFhjuAFAmEkBO9fFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEYw
NEQxQzIyMDJFMkZBMEQwMTg4NTREQUFDNThBOTRGMTE2MThFRTAbHGZlbGl4Lmxl
Y2huZXJAbGVhc2UtdXAuY29tAAoJEKxYqU8RYY7gB84P/25E0uibtnFEAOP/hs7U
AFSTAmCSzy4oYM1/Y8LvGvNKfTMed/neU7QwrbThtHi0TQHFF8G0d2+fF3bON5Du
14TKQapuKrtKA8tpJmZoE2dULIw5uhWovkt6pZBE+cfIhoh9K637K2s8e3I/LzBq
oAMMKKu4ENfNWhh/fSW7PkhF1I29JyWjy9Oa2k1fO6mctRRgrdjUM1Ez6CajTA+P
SpSIB2K9AdqmdQ3Ec0byS40vp/S7FICtiNBJ+BgS1hPjVFhX5fblrH+BbwTI4eeA
qlMm2jWuHL06zM3bRpP4OtlVjUbcC3b/+lIPNPtcT+1C4DXvFMdayOahqMyOYR8b
85/SM1Dq2zOOQwpPQMUrGRGdlLIpMjChwVR13TM8KjOHLqSAofqX+HDjxGpyBkUB
V9rs1IkKeetKT2+isje92nBjotx4sF7JOClJHHABoTQZ0Gm/l6y7ZSQnuG7FC5rB
BvFnLZ4CB6RN/ObQ4fXAg4JZYkerBJWKlB+jMj1079D2VLTnp9Ex5VUHOSsEcJqB
9SBus4alGAJ007Aha9VpJEYR1fQ0hJwExyXWwePOnl91v1x+BHkLGX4EPYOuOzQR
vWIS3zwdWa3iKeyZhxuFYDW3Q6QsuqIZIGiDWeLOfGUaZjqAK9TIhM9XzQ+THz2h
zS8CW7pHpdDcQm14KmZaC+ox
=BmXO
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to