Hello community, here is the log from the commit of package dmraid checked in at Wed Mar 12 19:45:01 CET 2008. -------- --- dmraid/dmraid.changes 2007-09-12 14:46:07.000000000 +0200 +++ /mounts/work_src_done/STABLE/dmraid/dmraid.changes 2008-03-12 16:25:47.000000000 +0100 @@ -1,0 +2,6 @@ +Wed Mar 12 16:24:06 CET 2008 - mkoenig@suse.de + +- add hack to avoid segfault with DDF1 metadata and explicit + indication of the raid set [#367686] + +------------------------------------------------------------------- New: ---- dmraid-1.0.0.rc14-ddf1_segfault.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ dmraid.spec ++++++ --- /var/tmp/diff_new_pack.n13470/_old 2008-03-12 19:44:39.000000000 +0100 +++ /var/tmp/diff_new_pack.n13470/_new 2008-03-12 19:44:39.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package dmraid (Version 1.0.0.rc14) # -# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # @@ -10,16 +10,17 @@ # norootforbuild + Name: dmraid BuildRequires: device-mapper-devel zlib-devel Requires: kpartx -URL: http://people.redhat.com/~heinzm/sw/dmraid/src/ +Url: http://people.redhat.com/~heinzm/sw/dmraid/src/ License: GPL v2 or later Group: System/Base -Autoreqprov: on +AutoReqProv: on Summary: A Device-Mapper Software RAID Support Tool Version: 1.0.0.rc14 -Release: 18 +Release: 48 Source: ftp://people.redhat.com/heinzm/sw/dmraid/src/dmraid-%{version}.tar.bz2 Source1: sysconfig.dmraid Source2: boot.dmraid @@ -32,6 +33,7 @@ Patch5: dmraid-1.0.0.rc13-jm_termination.patch Patch6: dmraid-1.0.0.rc13-fix_macro.patch Patch7: dmraid-pdc_max_sectors.patch +Patch8: dmraid-1.0.0.rc14-ddf1_segfault.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build PreReq: %fillup_prereq @@ -71,6 +73,7 @@ %patch5 -p1 %patch6 -p1 %patch7 -p1 +%patch8 -p1 cp %{SOURCE3} . %build @@ -119,51 +122,54 @@ /etc/init.d/boot.dmraid %changelog -* Wed Sep 12 2007 - mkoenig@suse.de +* Wed Mar 12 2008 mkoenig@suse.de +- add hack to avoid segfault with DDF1 metadata and explicit + indication of the raid set [#367686] +* Wed Sep 12 2007 mkoenig@suse.de - add quirk for maximum detected device size of some pdc card [#215222] -* Tue Jul 31 2007 - hare@suse.de +* Tue Jul 31 2007 hare@suse.de - dmraid requires kpartx. -* Mon Jul 30 2007 - hare@suse.de +* Mon Jul 30 2007 hare@suse.de - Do not activate partitions from dmraid; udev handles it. -* Tue Jul 10 2007 - mkoenig@suse.de +* Tue Jul 10 2007 mkoenig@suse.de - update to version 1.0.0.rc14 * bugfix release -* Tue Jun 19 2007 - mkoenig@suse.de +* Tue Jun 19 2007 mkoenig@suse.de - use boot.localfs to avoid expansion problem -* Tue Jun 19 2007 - mkoenig@suse.de +* Tue Jun 19 2007 mkoenig@suse.de - Add X-Start-Before: $local_fs dependency -* Thu Mar 29 2007 - mkoenig@suse.de +* Thu Mar 29 2007 mkoenig@suse.de - Add zlib-devel to BuildRequires -* Tue Feb 20 2007 - mkoenig@suse.de +* Tue Feb 20 2007 mkoenig@suse.de - provide boot script [#230708] -* Mon Dec 11 2006 - mkoenig@suse.de +* Mon Dec 11 2006 mkoenig@suse.de - fix jm name string termination problem [#223843] patch: dmraid-1.0.0.rc13-jm_termination.patch - fix min, max macros patch: dmraid-1.0.0.rc13-fix_macro.patch -* Thu Nov 23 2006 - mkoenig@suse.de +* Thu Nov 23 2006 mkoenig@suse.de - fix geometry patch [#222110] -* Mon Nov 20 2006 - mkoenig@suse.de +* Mon Nov 20 2006 mkoenig@suse.de - set geometry of dm device [#222110] -* Thu Nov 09 2006 - mkoenig@suse.de +* Thu Nov 09 2006 mkoenig@suse.de - update to version 1.0.0.rc13 * Fixes for Promise FastTrak and Silicon Image Medley ATARAID * Support for SNIA DDF1 and JBOD -* Thu Sep 14 2006 - ro@suse.de +* Thu Sep 14 2006 ro@suse.de - use device-mapper-devel in BuildRequires -* Tue Aug 29 2006 - hare@suse.de +* Tue Aug 29 2006 hare@suse.de - update to 1.0.0-rc11 - NVidia endianness fixes - Add UUID to device-mapper tables - Fixup '-cc' argument -* Wed Jan 25 2006 - mls@suse.de +* Wed Jan 25 2006 mls@suse.de - converted neededforbuild to BuildRequires -* Mon Dec 05 2005 - kukuk@suse.de +* Mon Dec 05 2005 kukuk@suse.de - Remove unused klibc-devel from neededforbuild -* Wed Jul 13 2005 - cadaha@suse.de +* Wed Jul 13 2005 cadaha@suse.de - update to 1.0.0-rc8, fix big endian build -* Wed Sep 22 2004 - cadaha@suse.de +* Wed Sep 22 2004 cadaha@suse.de - fix dmraid -rc output for unsupported devices -* Mon Sep 20 2004 - cadaha@suse.de +* Mon Sep 20 2004 cadaha@suse.de - created package ++++++ dmraid-1.0.0.rc14-ddf1_segfault.patch ++++++ Index: 1.0.0.rc14/lib/metadata/metadata.c =================================================================== --- 1.0.0.rc14.orig/lib/metadata/metadata.c +++ 1.0.0.rc14/lib/metadata/metadata.c @@ -797,6 +797,10 @@ static void want_set(struct lib_context if (name) { size_t len1 = strlen(rs->name), len2 = strlen(name); + /* FIXME: skip the DDF1 superset to get rid of segfault */ + if (strncmp(rs->name, ".ddf1_", 6) == 0) + return; + if (len2 > len1 || strncmp(rs->name, name, min(len1, len2))) { log_notice(lc, "dropping unwanted RAID set \"%s\"", ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org