Hello community, here is the log from the commit of package resource-agents.1522 for openSUSE:12.3:Update checked in at 2013-04-10 11:03:48 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:12.3:Update/resource-agents.1522 (Old) and /work/SRC/openSUSE:12.3:Update/.resource-agents.1522.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "resource-agents.1522", Maintainer is "" Changes: -------- New Changes file: --- /dev/null 2013-04-05 00:01:41.916011506 +0200 +++ /work/SRC/openSUSE:12.3:Update/.resource-agents.1522.new/resource-agents.changes 2013-04-10 11:03:49.000000000 +0200 @@ -0,0 +1,702 @@ +------------------------------------------------------------------- +Tue Mar 26 15:43:56 UTC 2013 - dmuhameda...@suse.com + +- ocf-shellfuncs: use $HA_VARLIB as default destination for trace + files +- VirtualDomain: allow for custom migrateport +- IPaddr2: support nic:iflabel format in nic parameter +- upstream cs: ddad46 (v3.9.5) + +------------------------------------------------------------------- +Tue Feb 5 17:13:36 UTC 2013 - dmuhameda...@suse.com + +- ocf-shellfuncs: RA tracing +- IPaddr2: make sure that some ARP send program runs (bnc#811930) +- pgsql: add check_wal_receiver parameter +- pgsql: support starting as Hot Standby +- nfsserver: improve rpc.statd support +- nfsserver: add option -n for rpc.statd (bnc#794479) +- nfsserver: make the retry time for sm-notify configurable +- nfsserver: make sm-notify running in the foreground configurable +- exportfs: handle '<world>' exportfs embelishment for '*' (bnc#791690) +- jboss: set JAVA_OPTS correctly +- pound: use correct default for control-binary +- pound: No error when stopping pound and no pound is running +- Squid: support systems using IPv6 +- Xinetd: do not fail in stop if the daemon is not running +- Xinetd: improve finding Xinetd process (thanks to Vadym Chepkov) +- SendArp: add background parameter +- SendArp: fix monitor +- ocft: print the actual case names when testing +- ocft: make only the updated test-case file +- ocft: add "incremental" mode (ocft test -i) +- include a copy of LGPL license file +- upstream cs: e265f0 (3.9.5 rc1+) + +------------------------------------------------------------------- +Wed Nov 28 16:57:11 UTC 2012 - dmuhameda...@suse.com + +- zabbixserver: RA for zabbix servers management +- IPaddr2: use better test for infiniband (bnc#783353) +- IPaddr2: replace the findif binary by findif.sh +- IPaddr2: add IPv6 support +- IPaddr2: really send arps in background if requested +- IPaddr2: use send_arp instead of ipoibarping if not available +- Raid1: discover block size for dd (bnc#781137) +- Xen: repair node_ip_attribute use +- SAPDatabase: improvement of cleanup of saphostctrl process +- SAPInstance: monitor-master not advertised (bnc#782482) +- SAPInstance: don't wait for timeout if the stop attempt failed +- SAPInstance: failes on sapcontrol message Unauthorized (bnc#782486) +- tomcat: Correction of the process alive monitoring. +- ldirectord: Added READDQUIESCENT parameter +- Squid: fix getting PIDs of squid processes (lf#2653) +- portblock: use end-of-word instead of space at the end of the line +- named: use pgrep instead of searching in ps(1) output +- named: fix monitor if named_rootdir is set to / +- tools: add test-findif.sh +- tools: add send_ua binary for IPv6 support in IPaddr2 +- ocft: new test for Raid1 +- upstream cs: 4890c9 (3.9.4) + +------------------------------------------------------------------- +Thu Sep 27 14:10:24 UTC 2012 - dmuhameda...@suse.com + +- dhcpd: new RA to manage ISC DHCP servers +- pound: new RA for Pound HTTP/HTTPS reverse-proxy and load-balancer +- ocf-rarun: add the RA driver +- apache: create /var/run/apache2 if it doesn't exist +- conntrackd: rename parameter "conntrackd" to "binary" +- conntrackd: resync from other hosts in start +- exportfs: allow expanding the fsid parameter to produce correct + exportfs options +- exportfs: cleanup exportfs cache on stop (bnc#770210) +- exportfs: don't grow /var/lib/nfs/rmtab indefinitely (bnc#754067) +- Filesystem: add nfs4 to the list of well known types +- Filesystem: allow to force cloning for local mounts +- Filesystem: fix determining if the device is a block device +- Filesystem: improve read/write checks for CHECK_LEVEL 10, 20 +- Filesystem: include ceph in the list of non-blockdev filesystems +- Filesystem: remove a status file only when OCF_CHECK_LEVEL is set to 20 +- Filesystem: support ceph +- IPaddr2: fix regression introduce in d93b5fd, nic=lo always "stopped" +- IPaddr: remove colon at the end of the interface name +- IPv6addr: always use the provided nic and cidr_netmask when specified +- iscsi: add try_recovery parameter +- iscsi: check session status in monitor +- iscsi: do discovery in start only +- iscsi: do not rely on iscsid.startup being set correctly (bnc#751783) +- iscsi: don't fail on stop of the iscsi server fails +- iscsi: use iscsiadm -m session -r in stop +- iSCSILogicalUnit: correctly match for target IQN and backing + device name (iet and tgt) +- iSCSITarget: treat an empty "implementation" parameter specially +- jboss: implement rotating of console log +- ldirectord: precedence error with perl v5.8.8 in IPv6 code +- lxc: fix LXC_status to work with lxc-0.7.5 or later +- mysql: fix validation return codes +- mysql: improve replication support +- mysql: support 5.5 slave status message format +- mysql-proxy: add in-depth monitoring +- mysql-proxy: add the 'plugins' parameter +- mysql-proxy: create pid/socket directories if needed +- nfsserver: add a new parameter for the rpc_pipefs mount point +- nfsserver: don't run sm-notify in foreground (bnc#759616) +- nfsserver: NSM state files correctly populate + /var/lib/nfs/sm.ha (bnc#684139) +- nfsserver: Support of multiple IP addresses (bnc#684143) +- oracle: connect as a regular user in monitor +- oracle: ignore password expiry warning in monitor (bnc#770250) +- oracle: improve managing IPC objects +- oracle: improve matching instance specific files and processes +- oracle, oralsnr: get rid of eval +- oralsnr: match only one (our) listener process +- pgsql: add option archive_cleanup_command +- pgsql: add option recovery_end_command +- pgsql: support for replication +- pgsql: support multi-instance in replication mode +- Raid1: manage multiple arrays +- Raid1: stop processes using raiddev +- SAPDatabase: add support for Sybase ASE and SAP HANA database +- SAPDatabase: new method for checking responsiveness of saphostexec +- SAPDatabase: make use of saphostagent +- sfex: sfex_init fails on a 64 bit big endian platform (lf#2647) +- slapd: always set the exit code correctly in monitor +- slapd: Gracefully handle config check during probe +- slapd: pass bind_dn correctly to ldapsearch +- tomcat: Correction of the time-out level of the stop processing. +- VIPArip: fix exit codes +- VIPArip: make start idempotent +- VirtualDomain: honor virsh "in shutdown" state +- VirtualDomain: if the configuration file is missing on stop + exit with success +- Xen: add support for HVM ACPI graceful shutdown +- Xinetd: reimplementation +- Tools: send_arp.libnet: fix for big endian platforms (bnc#721334) +- Tools: SendArp: exit with the right code when not properly configured +- ocft: new tests for mysql-proxy, named, IPv6addr, oracle, Raid1, Xinetd +- upstream cs: 810c9b + +------------------------------------------------------------------- +Fri Jun 29 19:11:51 UTC 2012 - da...@darins.net + +- added resource-agents require to ldirectord as it's init script + requires /etc/ha.d/shellfuncs which that package provides + +------------------------------------------------------------------- +Tue Feb 14 03:19:59 UTC 2012 - tser...@suse.com + +- ocf-shellfuncs: fix loglevel variable scope in ha_log +- exportfs: fix monitor action for special characters and common + suffixes +- apache: add support for IPv6 in monitor +- iscsi: don't fail in stop or monitor if the portal is + ambiguous (bnc#740718) +- ocf-tester: add -d and -q options +- Medium: Tools: findif: Use most specific matching route (bnc#740738) +- ldirectord: Allow IPv6 for NNTP, requires perl-IO-Socket-INET6 (bnc#669412) +- SAPInstance/SAPDatabase: fix unique attribute in metadata (bnc#737673) +- IPv6addr: handle a link-local address properly in send_ua +- iSCSILogicalUnit: fix default for scsi_sn +- named: make monitor work with IPv6 interfaces +- slapd: exit with the right code if validation fails (it used to + exit always with the generic error code) +- upstream cs: de3074 + +------------------------------------------------------------------- +Thu Dec 15 08:17:33 UTC 2011 - tser...@suse.com + +- Add /usr/lib/tmpfiles.d/resource-agents.conf to ensure temp dir + exists when using systemd (bnc#734760) + +------------------------------------------------------------------- +Mon Dec 12 13:37:37 UTC 2011 - dmuhameda...@suse.com + +- varnish: new resource agent +- LVM: force dmevent monitoring for clones +- Filesystem: repair the fast_stop parameter use (its value has + always been false) +- slapd: prevent possible timeout in stop (wrong logic in stop) +- upstream cs: 72fdc8 + +------------------------------------------------------------------- +Fri Nov 25 12:25:57 UTC 2011 - dmuhameda...@suse.com + +- asterisk: new resource agent +- IPaddr: add back the local_start/stop_script code +- iscsi: proceed if iscsid is not running if iscsid.startup is + present in iscsid.conf +- mysql: check mysql status more thoroughly before stopping +- jboss: add the java_opts parameter for java options +- VirtualDomain: add a functionality that modifies utilization of + resource automatically +- Tools: ocft: new option Agent, corresponding configs update +- doc: Add RA developer's guide +- move NodeUtilization to Pacemaker +- upstream cs: 1f8f3d + ++++ 505 more lines (skipped) ++++ between /dev/null ++++ and /work/SRC/openSUSE:12.3:Update/.resource-agents.1522.new/resource-agents.changes New: ---- lvm-vg-partial-active.diff no-var-lock-subsys.patch resource-agents-3.9.5.tar.bz2 resource-agents-mysql-sle11.patch resource-agents-nfsserver-sle11.patch resource-agents.changes resource-agents.conf resource-agents.spec ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ resource-agents.spec ++++++ # # spec file for package resource-agents # # Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %if 0%{?fedora} || 0%{?centos_version} || 0%{?rhel} %global agents_docdir %{_defaultdocdir}/%{name}-%{version} %endif %if 0%{?suse_version} %global agents_docdir %{_defaultdocdir}/%{name} %endif # # Since this spec file supports multiple distributions, ensure we # use the correct group for each. # %if 0%{?fedora} || 0%{?centos_version} || 0%{?rhel} %define pkg_group System Environment/Daemons %else %define pkg_group Productivity/Clustering/HA %endif %define SSLeay perl-Net-SSLeay %if 0%{?suse_version} < 1100 %define SSLeay perl-Net_SSLeay %endif Name: resource-agents Summary: Open Source HA Reusable Cluster Resource Scripts License: GPL-2.0 and LGPL-2.1+ Group: Productivity/Clustering/HA Version: 3.9.5 Release: 0.rc1 Url: http://linux-ha.org/ Source: resource-agents-%{version}.tar.bz2 Source1: resource-agents.conf Patch1: resource-agents-mysql-sle11.patch Patch2: lvm-vg-partial-active.diff Patch3: resource-agents-nfsserver-sle11.patch Patch4: no-var-lock-subsys.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build Obsoletes: heartbeat-resources Provides: heartbeat-resources BuildRequires: autoconf BuildRequires: automake BuildRequires: glib2-devel BuildRequires: pkgconfig BuildRequires: python-devel %if 0%{?suse_version} BuildRequires: libglue-devel %if %suse_version > 1130 BuildRequires: libnet-devel %else BuildRequires: libnet %endif BuildRequires: docbook-xsl-stylesheets BuildRequires: docbook_4 BuildRequires: libxslt %endif %if 0%{?fedora} || 0%{?centos_version} || 0%{?rhel} BuildRequires: cluster-glue-libs-devel BuildRequires: docbook-dtds BuildRequires: docbook-style-xsl BuildRequires: libxslt BuildRequires: which %endif %description A set of scripts to interface with several services to operate in a High Availability environment for both Pacemaker and rgmanager service managers. %package -n ldirectord Summary: A Monitoring Daemon for Maintaining High Availability Resources Group: Productivity/Clustering/HA Requires: %{SSLeay} Requires: %{name} Requires: ipvsadm Requires: perl-libwww-perl Obsoletes: heartbeat-ldirectord Provides: heartbeat-ldirectord Requires: perl-MailTools Requires: perl-Socket6 %if 0%{?suse_version} Requires: logrotate %endif %if 0%{?fedora_version} Requires(post): /sbin/chkconfig Requires(preun):/sbin/chkconfig %endif %description -n ldirectord The Linux Director Daemon (ldirectord) was written by Jacob Rief. <jacob.r...@tiscover.com> ldirectord is a stand alone daemon for monitoring the services on real servers. Currently, HTTP, HTTPS, and FTP services are supported. lditrecord is simple to install and works with the heartbeat code (http://www.linux-ha.org/). See 'ldirectord -h' and linux-ha/doc/ldirectord for more information. %prep ########################################################### %setup -n resource-agents -q %patch1 -p1 %patch2 -p1 %patch3 -p1 %patch4 -p1 ########################################################### %build CFLAGS="${CFLAGS} ${RPM_OPT_FLAGS}" export CFLAGS CONF_OPTS="--with-ras-set=linux-ha \ --enable-fatal-warnings=yes \ --with-package-name=%{name}" ./autogen.sh %if 0%{?suse_version} >= 1020 || 0%{?fedora} >= 11 || 0%{?centos_version} > 5 || 0%{?rhel} > 5 %configure $CONF_OPTS \ --docdir=%{agents_docdir} %else export docdir=%{agents_docdir} %configure $CONF_OPTS %endif export MAKE="make %{?jobs:-j%jobs}" make %{?jobs:-j%jobs} ########################################################### %install ########################################################### make DESTDIR=$RPM_BUILD_ROOT install ( mkdir -p $RPM_BUILD_ROOT/etc/ha.d/resource.d ln -s %{_sbindir}/ldirectord $RPM_BUILD_ROOT/etc/ha.d/resource.d/ldirectord ) || true test -d $RPM_BUILD_ROOT/sbin || mkdir $RPM_BUILD_ROOT/sbin ( cd $RPM_BUILD_ROOT/sbin ln -sf /etc/init.d/ldirectord rcldirectord ) || true # Dont package static libs or compiled python find $RPM_BUILD_ROOT -name '*.a' -type f -print0 | xargs -0 rm -f find $RPM_BUILD_ROOT -name '*.la' -type f -print0 | xargs -0 rm -f find $RPM_BUILD_ROOT -name '*.pyc' -type f -print0 | xargs -0 rm -f find $RPM_BUILD_ROOT -name '*.pyo' -type f -print0 | xargs -0 rm -f # Unset execute permissions from things that shouln't have it find $RPM_BUILD_ROOT -name 'ocf-*' -type f -print0 | xargs -0 chmod a-x find $RPM_BUILD_ROOT -name '*.dtd' -type f -print0 | xargs -0 chmod a-x chmod 0755 $RPM_BUILD_ROOT/usr/sbin/ocf-tester chmod 0755 $RPM_BUILD_ROOT/usr/sbin/ocft mkdir -p $RPM_BUILD_ROOT/usr/lib/tmpfiles.d install -m 644 %{SOURCE1} $RPM_BUILD_ROOT/usr/lib/tmpfiles.d ( cd $RPM_BUILD_ROOT/%{_libdir}/heartbeat for f in ocf-returncodes ocf-shellfuncs do ln -s /usr/lib/ocf/lib/heartbeat/$f done ) ########################################################### %clean ########################################################### if [ -n "${RPM_BUILD_ROOT}" -a "${RPM_BUILD_ROOT}" != "/" ] then rm -rf $RPM_BUILD_ROOT fi rm -rf $RPM_BUILD_DIR/resource-agents ########################################################### %post test -d /var/run/resource-agents || mkdir -m 1755 /var/run/resource-agents %if 0%{?suse_version} %preun -n ldirectord %stop_on_removal ldirectord %postun -n ldirectord %insserv_cleanup %endif %if 0%{?fedora} %preun -n ldirectord /sbin/chkconfig --del ldirectord %postun -n ldirectord -p /sbin/ldconfig %post -n ldirectord /sbin/chkconfig --add ldirectord %endif %files ########################################################### %defattr(-,root,root) %dir /usr/lib/ocf %dir /usr/lib/ocf/resource.d %dir /usr/lib/ocf/lib %dir /usr/lib/tmpfiles.d /usr/lib/tmpfiles.d/resource-agents.conf %dir %{_datadir}/%{name} %dir %{_datadir}/%{name}/ocft %dir %{_datadir}/%{name}/ocft/configs %config(noreplace) %{_datadir}/%{name}/ocft/configs/* %{_datadir}/%{name}/ocft/caselib %{_datadir}/%{name}/ocft/README %{_datadir}/%{name}/ocft/README.zh_CN /usr/lib/ocf/resource.d/heartbeat /usr/lib/ocf/lib/heartbeat %{_sbindir}/ocf-tester %{_sbindir}/ocft %{_sbindir}/sfex_init %{_sbindir}/sfex_stat %{_includedir}/heartbeat %ghost %dir %attr (1755, root, root) %{_var}/run/resource-agents %doc AUTHORS %doc COPYING %doc COPYING.GPLv3 %doc %{_datadir}/%{name}/ra-api-1.dtd %doc %{_mandir}/man7/*.7* %doc %{_mandir}/man8/ocf-tester.8* %doc %{_mandir}/man8/sfex_init.8* %doc doc/README.webapps # For compatability with pre-existing agents %dir /etc/ha.d /etc/ha.d/shellfuncs %dir %{_libdir}/heartbeat %{_libdir}/heartbeat/ocf-shellfuncs %{_libdir}/heartbeat/ocf-returncodes %{_libdir}/heartbeat/send_arp %{_libdir}/heartbeat/send_ua %{_libdir}/heartbeat/sfex_daemon %{_libdir}/heartbeat/findif %{_libdir}/heartbeat/tickle_tcp %files -n ldirectord ########################################################### %defattr(-,root,root) %doc ldirectord/ldirectord.cf %doc %{_mandir}/man8/ldirectord.8* %dir /etc/ha.d/resource.d #%doc %{_mandir}/man8/supervise-ldirectord-config.8* %{_sbindir}/ldirectord /sbin/rcldirectord #%{_sbindir}/supervise-ldirectord-config %{_sysconfdir}/init.d/ldirectord %{_sysconfdir}/ha.d/resource.d/ldirectord %config(noreplace) %{_sysconfdir}/logrotate.d/ldirectord %changelog ++++++ lvm-vg-partial-active.diff ++++++ diff -r c0d8e6bb946e heartbeat/LVM --- a/heartbeat/LVM Tue Dec 07 17:31:53 2010 +0100 +++ b/heartbeat/LVM Mon Dec 13 12:34:36 2010 +0100 @@ -85,10 +85,10 @@ If set, the volume group will be activat <longdesc lang="en"> If set, the volume group will be activated even only partial of the physical volumes available. It helps to set to true, when you are using mirroring -logical volumes. +logical volumes. Set to true by default in SLE11SP1 HAE and openSUSE. </longdesc> <shortdesc lang="en">Activate VG even with partial PV only</shortdesc> -<content type="string" default="false" /> +<content type="string" default="true" /> </parameter> </parameters> @@ -224,7 +224,7 @@ LVM_start() { fi vgchange_options="-a $active_mode" - if ocf_is_true "$OCF_RESKEY_partial_activation" ; then + if ocf_is_true "$PARTIAL_INVOCATION" ; then vgchange_options="$vgchange_options --partial" fi @@ -357,6 +357,7 @@ then fi LVM_MAJOR="${LVM_VERSION%%.*}" +PARTIAL_INVOCATION=${OCF_RESKEY_partial_activation:-"true"} VOLUME=$OCF_RESKEY_volgrpname OP_METHOD=$1 # What kind of method was invoked? ++++++ no-var-lock-subsys.patch ++++++ Index: resource-agents/ldirectord/init.d/ldirectord.in =================================================================== --- resource-agents.orig/ldirectord/init.d/ldirectord.in +++ resource-agents/ldirectord/init.d/ldirectord.in @@ -62,11 +62,9 @@ action() { case "$1" in start) action "Starting ldirectord" $DAEMON start - touch /var/lock/subsys/ldirectord ;; stop) action "Stopping ldirectord" $DAEMON stop - rm -f /var/lock/subsys/ldirectord ;; restart) action "Restarting ldirectord" $DAEMON restart ++++++ resource-agents-mysql-sle11.patch ++++++ Low: mysql: update defaults to match sle11 installations (bnc#590447) Index: resource-agents/heartbeat/mysql =================================================================== --- resource-agents.orig/heartbeat/mysql +++ resource-agents/heartbeat/mysql @@ -58,13 +58,13 @@ OCF_RESKEY_log_default="/var/log/mysqld. OCF_RESKEY_pid_default="/var/mysql/mysqld.pid" OCF_RESKEY_socket_default="/var/run/mysql/mysql.sock" else -OCF_RESKEY_binary_default="/usr/bin/safe_mysqld" +OCF_RESKEY_binary_default="/usr/bin/mysqld_safe" OCF_RESKEY_config_default="/etc/my.cnf" OCF_RESKEY_datadir_default="/var/lib/mysql" OCF_RESKEY_user_default="mysql" OCF_RESKEY_group_default="mysql" OCF_RESKEY_log_default="/var/log/mysqld.log" -OCF_RESKEY_pid_default="/var/run/mysql/mysqld.pid" +OCF_RESKEY_pid_default="/var/lib/mysql/mysqld.pid" OCF_RESKEY_socket_default="/var/lib/mysql/mysql.sock" fi OCF_RESKEY_client_binary_default="mysql" ++++++ resource-agents-nfsserver-sle11.patch ++++++ diff --git a/heartbeat/nfsserver b/heartbeat/nfsserver index dcef1fd..e0ca844 100755 --- a/heartbeat/nfsserver +++ b/heartbeat/nfsserver @@ -13,7 +13,7 @@ else fi DEFAULT_INIT_SCRIPT="/etc/init.d/nfsserver" -DEFAULT_NOTIFY_CMD="/sbin/sm-notify" +DEFAULT_NOTIFY_CMD="/usr/sbin/sm-notify" DEFAULT_NOTIFY_FOREGROUND="false" DEFAULT_RPCPIPEFS_DIR="/var/lib/nfs/rpc_pipefs" ++++++ resource-agents.conf ++++++ d /var/run/resource-agents 1755 root root -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org