martin f. krafft: Remove auto-update-homehost flag
Martin F. Krafft
madduck at alioth.debian.org
Tue Jul 21 11:55:50 UTC 2009
Module: mdadm
Branch: master
Commit: 770cf5d6f6c80c93759769cc3821651be2d3b538
URL: http://git.debian.org/?p=pkg-mdadm/mdadm.git;a=commit;h=770cf5d6f6c80c93759769cc3821651be2d3b538
Author: martin f. krafft <madduck at debian.org>
Date: Tue Jul 21 10:20:08 2009 +0200
Remove auto-update-homehost flag
The flag was removed in 3.0. It also should not be needed anymore, since
we don't really want to update the homehost field anyway, and the 3.0
heuristics, which assembles non-homehost arrays as read-only, is fine.
Debian bug: #537820
Signed-off-by: martin f. krafft <madduck at debian.org>
---
debian/changelog | 5 +++++
debian/initramfs/script.local-top | 3 +--
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index b243d4f..7c61d0b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,10 @@
mdadm (3.0-2) unstable; urgency=low
+ * Fixed initramfs script with patch from Steffen Hau: it was still using
+ --auto-update-homehost, which has been removed and replaced by a better
+ heuristic: arrays created for a different "homehost" will now be
+ assembled read-only, rather than shoehorned into the system with
+ --auto-update-homehost (closes: #537820).
* Add version stamps to bugscript and mkconf scripts to facilitate
debugging.
diff --git a/debian/initramfs/script.local-top b/debian/initramfs/script.local-top
index 226bb76..db89fac 100644
--- a/debian/initramfs/script.local-top
+++ b/debian/initramfs/script.local-top
@@ -76,8 +76,7 @@ if [ "$MD_DEVS" = all ]; then
verbose && log_begin_msg "Assembling all MD arrays"
extra_args=''
- [ -n "$MD_HOMEHOST" ] && \
- extra_args="--homehost='$MD_HOMEHOST' --auto-update-homehost"
+ [ -n "$MD_HOMEHOST" ] && extra_args="--homehost='$MD_HOMEHOST'"
if $MDADM --assemble --scan --run --auto=yes $extra_args; then
verbose && log_success_msg "assembled all arrays."
else
More information about the pkg-mdadm-commits
mailing list