Hello community,

here is the log from the commit of package ha-cluster-bootstrap for 
openSUSE:Factory checked in at 2014-08-25 11:03:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ha-cluster-bootstrap (Old)
 and      /work/SRC/openSUSE:Factory/.ha-cluster-bootstrap.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ha-cluster-bootstrap"

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/ha-cluster-bootstrap/ha-cluster-bootstrap.changes    
    2014-08-16 15:38:14.000000000 +0200
+++ 
/work/SRC/openSUSE:Factory/.ha-cluster-bootstrap.new/ha-cluster-bootstrap.changes
   2014-08-25 11:03:42.000000000 +0200
@@ -1,0 +2,6 @@
+Tue Aug 19 11:58:43 UTC 2014 - kgronl...@suse.com
+
+- Use fdisk to limit partprobe to valid devices (bnc#885287)
+- Upstream version cs:8d38b0b 
+
+-------------------------------------------------------------------

Old:
----
  sleha-bootstrap-0.4+git.1403274687.d4cddcc.tar.bz2

New:
----
  sleha-bootstrap-0.4+git.1408418098.8d38b0b.tar.bz2

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

Other differences:
------------------
++++++ ha-cluster-bootstrap.spec ++++++
--- /var/tmp/diff_new_pack.7qIHrg/_old  2014-08-25 11:03:43.000000000 +0200
+++ /var/tmp/diff_new_pack.7qIHrg/_new  2014-08-25 11:03:43.000000000 +0200
@@ -18,7 +18,7 @@
 
 
 Name:           ha-cluster-bootstrap
-Version:        0.4+git.1403274687.d4cddcc
+Version:        0.4+git.1408418098.8d38b0b
 Release:        0
 Summary:        Pacemaker HA Cluster Bootstrap Tool
 License:        GPL-2.0

++++++ _service ++++++
--- /var/tmp/diff_new_pack.7qIHrg/_old  2014-08-25 11:03:43.000000000 +0200
+++ /var/tmp/diff_new_pack.7qIHrg/_new  2014-08-25 11:03:43.000000000 +0200
@@ -4,7 +4,7 @@
     <param name="scm">git</param>
     <param name="exclude">.git</param>
     <param name="versionformat">0.4+git.%ct.%h</param>
-    <param name="revision">d4cddcc</param>
+    <param name="revision">8d38b0b</param>
   </service>
 
   <service name="recompress" mode="disabled">

++++++ sleha-bootstrap-0.4+git.1403274687.d4cddcc.tar.bz2 -> 
sleha-bootstrap-0.4+git.1408418098.8d38b0b.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/sleha-bootstrap-0.4+git.1403274687.d4cddcc/scripts/ha-cluster-functions 
new/sleha-bootstrap-0.4+git.1408418098.8d38b0b/scripts/ha-cluster-functions
--- old/sleha-bootstrap-0.4+git.1403274687.d4cddcc/scripts/ha-cluster-functions 
2014-08-15 14:00:11.000000000 +0200
+++ new/sleha-bootstrap-0.4+git.1408418098.8d38b0b/scripts/ha-cluster-functions 
2014-08-19 13:58:22.000000000 +0200
@@ -116,10 +116,22 @@
        echo "done"
 }
 
+abrev_probe (){
+       # This function uses fdisk to create a list of valid devices for probing
+       # with partprobe.  This prevents partprobe from failing on read-only 
mounted
+       # devices such as /dev/sr0 (etc) that might cause it to return an error 
when
+       # it exits.  This allows partprobe to run without forcing _die to bail 
out.
+       # -Brandon Heaton
+       #  ATT Training Engineer
+       #  Data Center Engineer
+       #  bhea...@suse.com
+       invoke partprobe $(fdisk -l 2>/dev/null|grep ^Disk\ \/|cut -d" " 
-f2|cut -d":" -f1|paste -s)
+}
+
 probe_partitions()
 {
        status_long "Probing for new partitions..."
-       invoke partprobe || warn "Failed to probe new partitions"
+       abrev_probe
        # ...somehow the new partitions don't always appear immediately?  Need 
to verify/fix
        invoke sleep 5
        status_done

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to