Hello community,

here is the log from the commit of package mdadm for openSUSE:Factory checked 
in at 2012-07-09 09:50:37
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/mdadm (Old)
 and      /work/SRC/openSUSE:Factory/.mdadm.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "mdadm", Maintainer is "[email protected]"

Changes:
--------
--- /work/SRC/openSUSE:Factory/mdadm/mdadm.changes      2012-06-26 
17:07:10.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.mdadm.new/mdadm.changes 2012-07-09 
09:50:38.000000000 +0200
@@ -1,0 +2,6 @@
+Thu Jul  5 03:14:43 UTC 2012 - [email protected]
+
+- mdmon-arg.fix: fix arg parsing in mdmon so that
+  "--all --takeover" works. (bnc#767150)
+
+-------------------------------------------------------------------

New:
----
  mdmon-arg.fix

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ mdadm.spec ++++++
--- /var/tmp/diff_new_pack.VZ3T7n/_old  2012-07-09 09:50:39.000000000 +0200
+++ /var/tmp/diff_new_pack.VZ3T7n/_new  2012-07-09 09:50:39.000000000 +0200
@@ -16,7 +16,6 @@
 #
 
 
-
 Name:           mdadm
 Version:        3.2.5
 Release:        0
@@ -40,6 +39,7 @@
 Source6:        mkinitrd-boot.sh
 Source7:        mdadm.cron
 Patch1:         udev-rules.fix
+Patch2:         mdmon-arg.fix
 
 %description
 Mdadm is a program that can be used to control Linux md devices. It is
@@ -49,6 +49,7 @@
 %prep
 %setup -q -a1
 %patch1 -p1
+%patch2 -p1
 
 %build
 make %{?_smp_mflags} CC="%__cc" CXFLAGS="$RPM_OPT_FLAGS -Wno-error"

++++++ mdmon-arg.fix ++++++

Fix parsing of mdmon args.
The conversion to use getopt_long added an incorrect assignment to
container_name.
This causes "mdmon --all --takeover" to fail.

bnc#767150

Signed-off-by: NeilBrown <[email protected]>

---
 mdmon.c |    1 -
 1 file changed, 1 deletion(-)

--- mdadm-3.2.5.orig/mdmon.c
+++ mdadm-3.2.5/mdmon.c
@@ -306,7 +306,6 @@ int main(int argc, char *argv[])
                        all = 1;
                        break;
                case 't':
-                       container_name = optarg;
                        takeover = 1;
                        break;
                case OffRootOpt:
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to