Send Linux-ha-cvs mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.community.tummy.com/mailman/listinfo/linux-ha-cvs
or, via email, send a message with subject or body 'help' to
[EMAIL PROTECTED]
You can reach the person managing the list at
[EMAIL PROTECTED]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Linux-ha-cvs digest..."
Today's Topics:
1. Linux-HA CVS: debian by horms from
([email protected])
2. Linux-HA CVS: fencing by sunjd from
([email protected])
----------------------------------------------------------------------
Message: 1
Date: Thu, 29 Jun 2006 21:10:42 -0600 (MDT)
From: [email protected]
Subject: [Linux-ha-cvs] Linux-HA CVS: debian by horms from
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
linux-ha CVS committal
Author : horms
Host :
Project : linux-ha
Module : debian
Dir : linux-ha/debian
Modified Files:
Tag: STABLE_1_2
changelog heartbeat.postrm
Log Message:
Debian packaging update
heartbeat (1.2.4-10) unstable; urgency=low
* Update ldirectordy from 1.77.2.32 to 1.77.2.45 (1.135)
- 1.77.2.45
Only log to stdio during init
Thanks to Jan Yenya Kasprzak
- 1.77.2.44
When daemonised, use /dev/null instead of /dev/console for stdout
and stderr as /dev/console may not always be available
Thanks to Jan Yenya Kasprzak
- 1.77.2.43
Test for istead of defined as (Fedora Core at least) the latter
is always true.
Thanks to Jan Yenya Kasprzak
- 1.77.2.42
Add email alerts to ldirectord.
Thanks to anthony
- 1.77.2.41
Make sure ldirectord does not detatch from the terminal in debug mode.
- 1.77.2.40
Actually sync with head 1.130
(previous commits were missing some older changes)
- 1.77.2.39
Remove uncaught alarm in eval which is a race condition in the connect
and sip checks.
Thanks to Keith Bucher and Julien Ducros
- 1.77.2.38
the the -> the
- 1.77.2.37
Fix a problem relating to zombie real servers appearing if the real
and virtual servers have different ports - comment inline
- 1.77.2.36
Allow authenticted LDAP access.
Thanks to Andreas Nolte
- 1.77.2.35
Actually use DNS over TCP for TCP servers.
Thanks to Todd Lyons
- 1.77.2.34
Delay checking of duplicates until we have enough information to
generate an acurate id for the service
- 1.77.2.33
Fix url check, seems like a regression from when the http and https
checks were merged
- 1.77.2.32
Handle socket errors, regresion introduced when SIP check was added
* Don't run deluser and delgroup in postrm
- These commands may not be available at this time (closes: #375507)
- If there are any files left that belong to this user or group
then they will be left unowned and get inhereited by the
next user that comes along that happens to have hacluster's
old userid or the old haclient groupid respectively.
-- Simon Horman <[EMAIL PROTECTED]> Thu, 29 Jun 2006 14:19:04 +0900
http://bugs.debian.org/375507
===================================================================
RCS file: /home/cvs/linux-ha/linux-ha/debian/changelog,v
retrieving revision 1.17.2.41
retrieving revision 1.17.2.42
diff -u -3 -r1.17.2.41 -r1.17.2.42
--- changelog 12 Jun 2006 07:47:18 -0000 1.17.2.41
+++ changelog 30 Jun 2006 03:10:41 -0000 1.17.2.42
@@ -1,3 +1,57 @@
+heartbeat (1.2.4-10) unstable; urgency=low
+
+ * Update ldirectordy from 1.77.2.32 to 1.77.2.45 (1.135)
+ - 1.77.2.45
+ Only log to stdio during init
+ Thanks to Jan Yenya Kasprzak
+ - 1.77.2.44
+ When daemonised, use /dev/null instead of /dev/console for stdout
+ and stderr as /dev/console may not always be available
+ Thanks to Jan Yenya Kasprzak
+ - 1.77.2.43
+ Test for istead of defined as (Fedora Core at least) the latter
+ is always true.
+ Thanks to Jan Yenya Kasprzak
+ - 1.77.2.42
+ Add email alerts to ldirectord.
+ Thanks to anthony
+ - 1.77.2.41
+ Make sure ldirectord does not detatch from the terminal in debug mode.
+ - 1.77.2.40
+ Actually sync with head 1.130
+ (previous commits were missing some older changes)
+ - 1.77.2.39
+ Remove uncaught alarm in eval which is a race condition in the connect
+ and sip checks.
+ Thanks to Keith Bucher and Julien Ducros
+ - 1.77.2.38
+ the the -> the
+ - 1.77.2.37
+ Fix a problem relating to zombie real servers appearing if the real
+ and virtual servers have different ports - comment inline
+ - 1.77.2.36
+ Allow authenticted LDAP access.
+ Thanks to Andreas Nolte
+ - 1.77.2.35
+ Actually use DNS over TCP for TCP servers.
+ Thanks to Todd Lyons
+ - 1.77.2.34
+ Delay checking of duplicates until we have enough information to
+ generate an acurate id for the service
+ - 1.77.2.33
+ Fix url check, seems like a regression from when the http and https
+ checks were merged
+ - 1.77.2.32
+ Handle socket errors, regresion introduced when SIP check was added
+ * Don't run deluser and delgroup in postrm
+ - These commands may not be available at this time (closes: #375507)
+ - If there are any files left that belong to this user or group
+ then they will be left unowned and get inhereited by the
+ next user that comes along that happens to have hacluster's
+ old userid or the old haclient groupid respectively.
+
+ -- Simon Horman <[EMAIL PROTECTED]> Thu, 29 Jun 2006 14:19:04 +0900
+
heartbeat (1.2.4-9) unstable; urgency=low
* Move IPv6addr from /etc/ha.d/resource.d/ into /usr/lib/heartbeat,
===================================================================
RCS file: /home/cvs/linux-ha/linux-ha/debian/Attic/heartbeat.postrm,v
retrieving revision 1.5.2.4
retrieving revision 1.5.2.5
diff -u -3 -r1.5.2.4 -r1.5.2.5
--- heartbeat.postrm 14 Jul 2005 13:22:02 -0000 1.5.2.4
+++ heartbeat.postrm 30 Jun 2006 03:10:41 -0000 1.5.2.5
@@ -20,17 +20,6 @@
ldconfig
update-rc.d -f heartbeat remove >/dev/null
rm -f /var/lib/heartbeat/fifo
-elif [ "$1" = "purge" ]; then
- if getent passwd hacluster > /dev/null ; then
- deluser hacluster
- fi
- if getent group haclient > /dev/null ; then
- # delgroup will fail if any users have haclient
- # as their primary group. As these may have
- # been added outside of the control of this package,
- # just continue of this fails.
- delgroup haclient || true
- fi
fi
# dh_installdeb will replace this with shell code automatically
------------------------------
Message: 2
Date: Fri, 30 Jun 2006 01:43:43 -0600 (MDT)
From: [email protected]
Subject: [Linux-ha-cvs] Linux-HA CVS: fencing by sunjd from
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
linux-ha CVS committal
Author : sunjd
Host :
Project : linux-ha
Module : fencing
Dir : linux-ha/fencing/stonithd
Modified Files:
stonithd.c
Log Message:
give more code pieces privilege
===================================================================
RCS file: /home/cvs/linux-ha/linux-ha/fencing/stonithd/stonithd.c,v
retrieving revision 1.96
retrieving revision 1.97
diff -u -3 -r1.96 -r1.97
--- stonithd.c 20 Jun 2006 09:17:30 -0000 1.96
+++ stonithd.c 30 Jun 2006 07:43:27 -0000 1.97
@@ -1,4 +1,4 @@
-/* $Id: stonithd.c,v 1.96 2006/06/20 09:17:30 sunjd Exp $ */
+/* $Id: stonithd.c,v 1.97 2006/06/30 07:43:27 sunjd Exp $ */
/* File: stonithd.c
* Description: STONITH daemon for node fencing
@@ -2829,8 +2829,10 @@
print_str_hashtable(op->params);
}
+ return_to_orig_privs();
stonith_obj = stonith_new(op->ra_name);
if (stonith_obj == NULL) {
+ return_to_dropped_privs();
stonithd_log(LOG_ERR, "Invalid RA/device type: '%s'",
op->ra_name);
return ST_FAIL;
@@ -2845,8 +2847,8 @@
|| stonith_set_config(stonith_obj, snv) != S_OK ) {
stonithd_log(LOG_ERR,
"Invalid config info for %s device.", op->ra_name);
-
stonith_delete(stonith_obj);
+ return_to_dropped_privs();
stonith_obj = NULL;
if (snv != NULL) {
free_NVpair(snv);
@@ -2854,6 +2856,8 @@
}
return ST_FAIL; /*exit(rc);*/
}
+
+ return_to_dropped_privs();
if (snv != NULL) {
free_NVpair(snv);
snv = NULL;
@@ -2911,7 +2915,9 @@
ra_op->params = NULL;
srsc->stonith_obj = ra_op->stonith_obj;
ra_op->stonith_obj = NULL;
+ return_to_orig_privs();
srsc->node_list = stonith_get_hostlist(srsc->stonith_obj);
+ return_to_dropped_privs();
if ( debug_level >= 2 ) {
char ** this;
stonithd_log2(LOG_DEBUG, "Got HOSTLIST");
@@ -2953,7 +2959,9 @@
snprintf(buf_tmp, sizeof(buf_tmp)-1, "%s_%s_%s"
, srsc->stonith_obj->stype
, ra_op->rsc_id, ra_op->op_type);
+ return_to_orig_privs();
stonith_delete(srsc->stonith_obj);
+ return_to_dropped_privs();
srsc->stonith_obj = NULL;
local_started_stonith_rsc =
g_list_remove(local_started_stonith_rsc, srsc);
@@ -3170,7 +3178,9 @@
stonithd_log2(LOG_DEBUG, "free_stonithRA_ops_t: ra_op->stonith_obj.=%p"
, (Stonith *)(ra_op->stonith_obj));
if (ra_op->stonith_obj != NULL ) {
+ return_to_orig_privs();
stonith_delete((Stonith *)(ra_op->stonith_obj));
+ return_to_dropped_privs();
}
/* Has used g_hash_table_new_full to create params */
g_hash_table_destroy(ra_op->params);
@@ -3301,7 +3311,9 @@
if (srsc->stonith_obj != NULL ) {
stonithd_log2(LOG_DEBUG, "free_stonith_rsc: destroy
stonith_obj.");
+ return_to_orig_privs();
stonith_delete(srsc->stonith_obj);
+ return_to_dropped_privs();
srsc->stonith_obj = NULL;
}
@@ -3583,6 +3595,9 @@
/*
* $Log: stonithd.c,v $
+ * Revision 1.97 2006/06/30 07:43:27 sunjd
+ * give more code pieces privilege
+ *
* Revision 1.96 2006/06/20 09:17:30 sunjd
* remove the redundant code
*
------------------------------
_______________________________________________
Linux-ha-cvs mailing list
[email protected]
http://lists.community.tummy.com/mailman/listinfo/linux-ha-cvs
End of Linux-ha-cvs Digest, Vol 31, Issue 99
********************************************