Hello community,

here is the log from the commit of package sbd for openSUSE:Factory checked in 
at 2018-02-06 16:48:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/sbd (Old)
 and      /work/SRC/openSUSE:Factory/.sbd.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "sbd"

Tue Feb  6 16:48:28 2018 rev:21 rq:572562 version:1.3.1+20180202.cc3e4cb

Changes:
--------
--- /work/SRC/openSUSE:Factory/sbd/sbd.changes  2017-12-29 00:05:20.970957754 
+0100
+++ /work/SRC/openSUSE:Factory/.sbd.new/sbd.changes     2018-02-06 
16:48:56.360671447 +0100
@@ -1,0 +2,7 @@
+Mon Feb  5 09:55:36 UTC 2018 - y...@suse.com
+
+- Update to version 1.3.1+20180202.cc3e4cb:
+- Doc: sbd.8.pod: add sections for query-watchdog & test-watchdog
+- sbd-md: dump_headers returns 0 even open_device failed (bsc#1079316)
+
+-------------------------------------------------------------------

Old:
----
  sbd-1.3.1+20171220.1e93740.tar.xz

New:
----
  sbd-1.3.1+20180202.cc3e4cb.tar.xz

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

Other differences:
------------------
++++++ sbd.spec ++++++
--- /var/tmp/diff_new_pack.g3xPZ5/_old  2018-02-06 16:48:57.192632518 +0100
+++ /var/tmp/diff_new_pack.g3xPZ5/_new  2018-02-06 16:48:57.192632518 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package sbd
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 # Copyright (c) 2013 Lars Marowsky-Bree
 #
 # All modifications and additions to the file contributed by third parties
@@ -23,7 +23,7 @@
 %endif
 
 Name:           sbd
-Version:        1.3.1+20171220.1e93740
+Version:        1.3.1+20180202.cc3e4cb
 Release:        0
 Summary:        Storage-based death
 License:        GPL-2.0+

++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.g3xPZ5/_old  2018-02-06 16:48:57.240630272 +0100
+++ /var/tmp/diff_new_pack.g3xPZ5/_new  2018-02-06 16:48:57.240630272 +0100
@@ -1,6 +1,6 @@
 <servicedata>
   <service name="tar_scm">
     <param name="url">https://github.com/ClusterLabs/sbd.git</param>
-    <param 
name="changesrevision">1e93740d4981f9444f90e4bb1703b098fa35f303</param>
+    <param 
name="changesrevision">cc3e4cb7ac402a33a1e8996e3246589633b54871</param>
   </service>
-</servicedata>
+</servicedata>
\ No newline at end of file

++++++ sbd-1.3.1+20171220.1e93740.tar.xz -> sbd-1.3.1+20180202.cc3e4cb.tar.xz 
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sbd-1.3.1+20171220.1e93740/man/sbd.8.pod 
new/sbd-1.3.1+20180202.cc3e4cb/man/sbd.8.pod
--- old/sbd-1.3.1+20171220.1e93740/man/sbd.8.pod        2017-12-20 
11:09:33.000000000 +0100
+++ new/sbd-1.3.1+20180202.cc3e4cb/man/sbd.8.pod        2018-02-02 
10:47:49.000000000 +0100
@@ -394,6 +394,30 @@
 
 =back
 
+=head2 query-watchdog
+
+Example usage:
+
+       sbd query-watchdog
+
+Check for available watchdog devices and print some info.
+
+B<Warning>: This command will arm the watchdog during query, and if your
+watchdog refuses disarming (for example, if its kernel module has the
+'nowayout' parameter set) this will reset your system.
+
+=head2 test-watchdog
+
+Example usage:
+
+       sbd test-watchdog [-w /dev/watchdog3]
+
+Test specified watchdog device (/dev/watchdog by default).
+
+B<Warning>: This command will arm the watchdog and have your system reset
+in case your watchdog is working properly! If issued from an interactive
+session, it will prompt for confirmation.
+
 =head1 Base system configuration
 
 =head2 Configure a watchdog
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sbd-1.3.1+20171220.1e93740/src/sbd-md.c 
new/sbd-1.3.1+20180202.cc3e4cb/src/sbd-md.c
--- old/sbd-1.3.1+20171220.1e93740/src/sbd-md.c 2017-12-20 11:09:33.000000000 
+0100
+++ new/sbd-1.3.1+20180202.cc3e4cb/src/sbd-md.c 2018-02-02 10:47:49.000000000 
+0100
@@ -931,17 +931,20 @@
        struct sbd_context *st;
 
        for (s = servants; s; s = s->next) {
+               int rv;
+
                fprintf(stdout, "==Dumping header on disk %s\n", s->devname);
                st = open_device(s->devname, LOG_WARNING);
-               if (!st) {
+               if (st) {
+                       rv = header_dump(st);
+                       close_device(st);
+               } else {
                        fprintf(stdout, "== disk %s unreadable!\n", s->devname);
-                       continue;
+                       rv = -1;
                }
 
-               rc = header_dump(st);
-               close_device(st);
-
-               if (rc == -1) {
+               if (rv == -1) {
+                       rc = -1;
                        fprintf(stdout, "==Header on disk %s NOT dumped\n", 
s->devname);
                } else {
                        fprintf(stdout, "==Header on disk %s is dumped\n", 
s->devname);


Reply via email to