Hi! The last upload of redhat cluster fix several bugs, among them the tmpflie issues from #496410, among them CVE-2008-4192 and CVE-2008-4579 and many others discovered and fixed by upstream during a code audit. I know this is a new upstream release, but if you check the changelog (attached), it contains mostly bug fixes, among them really important ones like the noatime fix (which you really want on a shared FS, to avoid exclusive read locks on the inodes every time a file is accessed). Best regards Frederik Schüler -- ENOSIG
commit 808024f1a10d012b9ad83055b7be1393dbf15e92 Author: Fabio M. Di Nitto <fdinitto@redhat.com> Date: Thu Oct 30 14:17:35 2008 +0100 gfs2: randomize creation of temporary directories for metafs mount more a07d8d56e945a265f3da2857ad1316f49c4ae157 didn't add enough security to the whole random mount point. This change: - introduces a better randomness in mount_gfs2_meta by using mkdtemp (this is a required change for security reason). - the use of mkdtemp makes the whole dir_exists code unrequired (hence removed by the patch). - we force each tool to create its own meta mount. This fixes any possible race conditions between tools (and thanks to the use of mkdtemp that will guarantee the creation of a unique mount point). It also makes find_gfs2_meta function unrequired (hence removed by the patch). - cleanup struct gfs2_sbd of unrequired fields. - cleanup the cleanup_metafs code path. - cleanup exit path from mount_gfs2_meta. - simplify code around different tools by using mount_gfs2_meta only. - turn lock_for_admin static. Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com> :100644 100644 acca5e7... 250372e... M gfs2/libgfs2/libgfs2.h :100644 100644 7c414b1... 2f2d6b5... M gfs2/libgfs2/misc.c :100644 100644 e91630c... 44e1540... M gfs2/mkfs/main_grow.c :100644 100644 5c928b9... f0255d0... M gfs2/mkfs/main_jadd.c :100644 100644 c3c2b18... da32742... M gfs2/quota/check.c :100644 100644 0b04d47... 7e31e4f... M gfs2/quota/gfs2_quota.h :100644 100644 aac3cf6... 773c250... M gfs2/quota/main.c :100644 100644 5237072... fe53afc... M gfs2/tool/df.c :100644 100644 7432ea1... eeaa091... M gfs2/tool/misc.c commit 7a798fa3bc2aa3cbea40ec91b326abd58fd738bd Author: Fabio M. Di Nitto <fdinitto@redhat.com> Date: Thu Oct 30 13:21:38 2008 +0100 ccs_tool: randomize temporary file by using a static path to /tmp, the operation can be used to trigger a local DoS by a normal user. Switch to mkostemp(3). Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com> :100644 100644 a8a2314... b7cecf0... M ccs/ccs_tool/upgrade.c commit 5482f2c16e3a76d4dbdcf3477fc9627c4cb00807 Author: Fabio M. Di Nitto <fdinitto@redhat.com> Date: Thu Oct 30 12:36:05 2008 +0100 rgmanager: randomize svclib_nfslock temp dir by using a static path to /tmp, the operation can be used to trigger a local DoS by a normal user. Randomize temp dir via mktemp. Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com> :100644 100644 9cf74d5... f69a57c... M rgmanager/src/resources/svclib_nfslock commit 58bf50859a8cdffcbf7ca202229119bcb0cb0673 Author: Fabio M. Di Nitto <fdinitto@redhat.com> Date: Thu Oct 30 12:32:08 2008 +0100 rgmanager: randomize smb.sh temp file by using a static path to /tmp, the operation can be used to trigger a local DoS by a normal user. Randomize temp files via mktemp. Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com> :100644 100644 73087c1... ddc5f58... M rgmanager/src/resources/smb.sh commit b7bb3ea2906dba5ce2d8bea267f4b565f51fe84b Author: Fabio M. Di Nitto <fdinitto@redhat.com> Date: Thu Oct 30 12:27:31 2008 +0100 misc: fix mktemp usage Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com> :100644 100644 ddf52c9... 4c906a9... M rgmanager/src/resources/ASEHAagent.sh :100644 100644 49b5cbc... a614dc9... M rgmanager/src/resources/SAPDatabase commit f1504ae991a668975aaacdbb9d322d5e87e8856b Author: Fabio M. Di Nitto <fdinitto@redhat.com> Date: Thu Oct 30 12:24:59 2008 +0100 rgmanager: randomize oracledb.sh temp file by using a static path to /tmp, the operation can be used to trigger a local DoS by a normal user. Randomize temp files via mktemp. Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com> :100644 100644 0c59072... 72c1966... M rgmanager/src/resources/oracledb.sh.in commit 1be9adf2881ad22c264f6fda4fff7bb3c13e87f4 Author: Fabio M. Di Nitto <fdinitto@redhat.com> Date: Wed Oct 22 11:30:06 2008 +0200 libgfs2: randomize creation of temporary directories for metafs mount by using a static path to /tmp, the operation can fail in different ways. randomize the path a bit by using the invoking pid. This will also allow multiple simultaneous invokation of mount_gfs2_meta on different mountpoints. Similar to 18b24ae55c3e4abdc256a3b6c4f15ae0116a0f14 there is a small race condition in this implentation. Implementation: - Fix return info from find_gfs2_meta to set TRUE when we find a mountpoint in gfs2_sbd struct. - Add metafs_created_mount to gfs2_sbd struct to propagate info if we did create the mount point or not. - Randomize sdp->metafs_path with pid info. - Remove the metafs_path mount point if we did create it. Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com> :100644 100644 6197b4a... acca5e7... M gfs2/libgfs2/libgfs2.h :100644 100644 4a6665c... 7c414b1... M gfs2/libgfs2/misc.c commit 51bfd01ade6b21c0e78354c9ad1eca541e81b6ad Author: Fabio M. Di Nitto <fdinitto@redhat.com> Date: Thu Oct 30 10:32:11 2008 +0100 rgmanager: randomize SAPDatabase temp file even more ad4d9bd9216d6fa259118017bac8b5c032b7b3b9 didn't introduce enough security. Switch to mktemp(1). Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com> :100644 100644 533b91b... 49b5cbc... M rgmanager/src/resources/SAPDatabase commit 76e46bc7375cf5a3ac0f9d3b6df23d822ec7dabd Author: Fabio M. Di Nitto <fdinitto@redhat.com> Date: Wed Oct 22 10:34:40 2008 +0200 rgmanager: randomize SAPDatabase temp file by using a static path to /tmp, the operation can be used to trigger a local DoS by a normal user. Mitigate the issue by randomizing the temp files with pid. Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com> :100644 100644 b38ad7c... 533b91b... M rgmanager/src/resources/SAPDatabase commit 11debd2a5705d91cc8062d9205f277cd201ea038 Author: Fabio M. Di Nitto <fdinitto@redhat.com> Date: Wed Oct 22 10:29:02 2008 +0200 build: reinstate targets in rgmanager metadata check Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com> :100644 100644 ee4598f... 6ef9f74... M rgmanager/src/resources/Makefile commit 6f2cf3676bda2baef4b58ce322279d894e133a2a Author: Fabio M. Di Nitto <fdinitto@redhat.com> Date: Wed Oct 22 10:26:58 2008 +0200 rgmanager: move oracledb.sh log files where they belong by using a static path to /tmp, the operation can be used to trigger a local DoS by a normal user. Move the log files to LOGDIR where they are expected to be. LOGDIR is generally owned by root and doesn't allow normal users to play with it. Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com> :100644 100644 cdfd835... ee4598f... M rgmanager/src/resources/Makefile :100644 000000 5a72700... 0000000... D rgmanager/src/resources/oracledb.sh :000000 100644 0000000... 0c59072... A rgmanager/src/resources/oracledb.sh.in commit d3ed6498588279abf547417b0902c3b68f67885d Author: Fabio M. Di Nitto <fdinitto@redhat.com> Date: Wed Oct 22 10:10:08 2008 +0200 rgmanager: move nfsclient.sh cache files where they belong by using a static path to /tmp, the operation can be used to trigger a local DoS by a normal user. Move the cache files to /var/cache/cluster that's owned by root and doesn't allow normal users to play with it. Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com> :100644 100644 7cc9399... a526cca... M rgmanager/src/resources/nfsclient.sh commit 8715e507f9ff64aec79658e7d6404245ff6d7b2e Author: Fabio M. Di Nitto <fdinitto@redhat.com> Date: Wed Oct 22 09:49:49 2008 +0200 rgmanager: move fs.sh log file where they belong by using a static path to /tmp, the operation can be used to trigger a local DoS by a normal user. Move the log files to LOGDIR where they are expected to be. LOGDIR is generally owned by root and doesn't allow normal users to play with it. Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com> :100644 100644 a585e7e... cdfd835... M rgmanager/src/resources/Makefile :100644 000000 3289383... 0000000... D rgmanager/src/resources/fs.sh :000000 100644 0000000... b00cf46... A rgmanager/src/resources/fs.sh.in commit 3c34d788d5fdd1724feec9669750225d4437556f Author: Jonathan Brassow <jbrassow@redhat.com> Date: Wed Oct 22 11:27:26 2008 -0500 rgmanager (HALVM): Stop dumping debug output to /tmp Remove some left-over debugging :100644 100644 31cd404... 0c1bf0b... M rgmanager/src/resources/lvm_by_vg.sh commit cf6518b7cd0547b24493c088cbd8d442c5d0c180 Author: Fabio M. Di Nitto <fdinitto@redhat.com> Date: Thu Oct 30 10:18:19 2008 +0100 rgmanager: randomize ASEHAagent temp files even more f8943d17d4c108d44af7a42ad0fd646d4e75990e didn't didn't introduce enough security. Switch to mktemp(1). Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com> :100644 100644 35f3fa1... ddf52c9... M rgmanager/src/resources/ASEHAagent.sh commit f186ae843357846ae742f578f7965ea94b67a410 Author: Fabio M. Di Nitto <fdinitto@redhat.com> Date: Wed Oct 22 09:40:08 2008 +0200 rgmanager: randomize ASEHAagent temp files by using a static path to /tmp, the operation can be used to trigger a local DoS by a normal user. Mitigate the issue by randomizing the temp files with pid. Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com> :100644 100644 4f709e9... 35f3fa1... M rgmanager/src/resources/ASEHAagent.sh commit 0b5f7b6f80a8d00943374a98227b137f381498d1 Author: Fabio M. Di Nitto <fdinitto@redhat.com> Date: Thu Oct 30 10:09:58 2008 +0100 rgmanager: move state dump file where it belongs commit bde3b975fc4caffaa2aabd82d7d3cda8f4432f6a did try to mitigate a possible DoS in the wrong way. Move the file where it belongs instead. rgmanager is a "long time" running daemon and the pid is known upfront making the old fix pointless. Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com> :100644 100644 9f4a32f... 68d8a93... M rgmanager/src/daemons/main.c commit 8e7eaa9bc66e010e9c8c4938db67ef67573e6783 Author: Fabio M. Di Nitto <fdinitto@redhat.com> Date: Wed Oct 22 08:56:16 2008 +0200 rgmanager: randomize file for automatic data dump by using a static path to /tmp, the operation can be used to trigger a local DoS by a normal user. Mitigate the issue by randomizing the output file with pid. Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com> :100644 100644 bc2375d... 9f4a32f... M rgmanager/src/daemons/main.c commit e2eba2cb43acaf17c37d5994154fb7b833de1046 Author: Fabio M. Di Nitto <fdinitto@redhat.com> Date: Wed Oct 22 08:51:00 2008 +0200 gfs2: remove unused define Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com> :100644 100644 83a13cf... 0b04d47... M gfs2/quota/gfs2_quota.h commit 58a054bff87c5e6afa21bdafd81ad5b95360e67b Author: Fabio M. Di Nitto <fdinitto@redhat.com> Date: Thu Oct 30 09:54:52 2008 +0100 gfs2: randomize file for savemeta operations even more 15f9eb851b8924271095b159b2d077a9a0595cd5 didn't introduce enough security. Switch to mkstemp(3) and cleanup unrequired code as a consequence. Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com> :100644 100644 4ee1e5d... 901d28c... M gfs2/edit/savemeta.c commit df5592b2b25b586b06465ef8b756e561fd47b46e Author: Fabio M. Di Nitto <fdinitto@redhat.com> Date: Wed Oct 22 08:45:11 2008 +0200 gfs2: randomize file for savemeta operations by using a static path to /tmp, the operation can be used to trigger a local DoS by a normal user. Mitigate the issue by randomizing the output file when none is specified. Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com> :100644 100644 534d8cb... 6ee9bab... M gfs2/edit/hexedit.c :100644 100644 693ac0f... 4ee1e5d... M gfs2/edit/savemeta.c commit cc25cc497eea07c519139ebbd476050ad223e851 Author: Fabio M. Di Nitto <fdinitto@redhat.com> Date: Thu Oct 30 09:43:07 2008 +0100 gfs2: randomize debugfs mount point even more 18b24ae55c3e4abdc256a3b6c4f15ae0116a0f14 didn't introduce enough security. Switch to mkdtemp(3) and cleanup unrequired code as a consequence. Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com> :100644 100644 3e223d0... 7432ea1... M gfs2/tool/misc.c commit df2e01186129a41d313a25bc79d8d87fd9a6a71f Author: Fabio M. Di Nitto <fdinitto@redhat.com> Date: Wed Oct 22 08:13:33 2008 +0200 gfs2: randomize debugfs mount point by using a static path to /tmp, the operation can fail in different ways. randomize the path a bit by using the invoking pid. This will also allow multiple simultaneous invokation of lockdump operations. There is still a small window for a race where one gfs2_tool invokation has created the mount point, the second one finds the mount point, the first one succeed in an umount and the second one will not be able to access the data. This is a very unlikely condition to happen and it's not mission critical so we can live with it. Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com> :100644 100644 0882b49... 3e223d0... M gfs2/tool/misc.c commit 1be838e57dea824d31d72c793efeeb8f70e1a82e Author: Fabio M. Di Nitto <fdinitto@redhat.com> Date: Wed Oct 22 07:03:36 2008 +0200 fence: update man page for fence_apc we don't save logs there anymore Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com> :100644 100644 e2baee0... 933cb97... M fence/man/fence_apc.8 commit f29ab55aa97afa7359a741c19bfe12c4c832bf80 Author: Marek 'marx' Grac <mgrac@redhat.com> Date: Wed Oct 29 16:50:31 2008 +0100 [fence] WTI should not power on/off plug if it is unable to get status Fix #468904 - I have to remember difference between and/or :100644 100644 0a575bb... 07aa51f... M fence/agents/lib/fencing.py.py commit 73503509b29afbc0ea29a38ba3a41a7008edaf8e Author: Marek 'marx' Grac <mgrac@redhat.com> Date: Wed Oct 29 16:20:39 2008 +0100 [fence] WTI should not power on/off plug if it is unable to get status Fix #468904. On some WTI devices plugs are numbered as 1,2,3 and on the others as A1,A2,...B1,.... Both types accept numbers (A1 = 1, B1 = [number of last A] + 1). Power on/off works with numbers but if we want to parse status of plug then we have a problem. This patch is a general solution (fencing library) because it tests value of get_status() which have to be on/off otherwise we exit with new error code. :100644 100644 90b3f03... 0a575bb... M fence/agents/lib/fencing.py.py commit 5387db82a08b8d8bed5ab20226512816ef29b867 Author: Fabio M. Di Nitto <fdinitto@redhat.com> Date: Thu Oct 30 07:10:29 2008 +0100 cman: fix buffer overflow when reading huge config files it was possible to overflow a buffer when adding more than 52 entries within the same xml block: <block> <entry1... <entry2... .... <entry53.. <- </block> fix the overflow by increasing the limit to 1024 and fail to start if we hit the limit. Bugzilla: #468966 Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com> :100644 100644 77cbf19... 3f10f63... M cman/daemon/ais.c :100644 100644 a9228f1... 29f91a2... M cman/daemon/config.c commit f30044e43a7b5260b18cc184888509ee3d719033 Author: Jan Friesse <jfriesse@redhat.com> Date: Thu Oct 23 15:40:30 2008 +0200 fence: Fixed case sensitives in action parameter. Some agents use case sensitive action parameter. This patch makes that agents case insensitive and fix their man pages to reflect this change. :100644 100644 dea529f... b7a8c8a... M fence/agents/apc_snmp/fence_apc_snmp.py :100644 100644 0fa7642... 3b07a3c... M fence/agents/baytech/fence_baytech.pl :100644 100644 7fc978c... 90b3f03... M fence/agents/lib/fencing.py.py :100644 100644 b95dabe... 51910e8... M fence/agents/rsa/fence_rsa.py :100644 100644 f8997f6... a11e7ce... M fence/agents/rsb/fence_rsb.py :100644 100644 385686e... 9e65ff8... M fence/agents/xcat/fence_xcat.pl :100644 100644 d569292... 367bb54... M fence/man/fence_alom.8 :100644 100644 59676c9... e2baee0... M fence/man/fence_apc.8 :100644 100644 ddf366a... e60175d... M fence/man/fence_baytech.8 :100644 100644 14b2ee9... ba364c6... M fence/man/fence_ibmblade.8 :100644 100644 d2617b5... ad50860... M fence/man/fence_rsa.8 :100644 100644 308fb70... 2bb7bf4... M fence/man/fence_rsb.8 :100644 100644 8c9e4c7... 6f75afa... M fence/man/fence_vmware.8 commit 8ffd4d381cd978b5a836d1d6577cb2890254dbb2 Author: Jan Friesse <jfriesse@redhat.com> Date: Wed Oct 22 16:19:52 2008 +0200 fence: Added support for no_password in fence agents library and fence_eps. Some fence devices don't need login name and password for fencing (this is generally bad idea, but ePowerSwitch 8M+ is good example). :100644 100644 c91d5af... f3b7f15... M fence/agents/eps/fence_eps.py :100644 100644 85aa89e... 7fc978c... M fence/agents/lib/fencing.py.py commit 7a8ef1e8fbd60fc1f582111b53b1f7fb2a562794 Author: Christine Caulfield <ccaulfie@redhat.com> Date: Wed Oct 22 14:21:41 2008 +0100 dlmtop: fix some typos. Signed-off-by: Christine Caulfield <ccaulfie@redhat.com> :100644 100644 8ae3f19... 528a2b6... M dlm/tests/tcpdump/dlmtop.c commit 83f0ae0c5055e5781de3cd8f59cbebdfe7d71be6 Author: Christine Caulfield <ccaulfie@redhat.com> Date: Wed Oct 22 14:21:12 2008 +0100 cman: fix two_node startup if -e is specified two_node startup could fail because the vote_sum variable isn't calulated if expected_votes is specified on the command-line. Now we always iterate the nodes list to get the vote_sum. Signed-off-by: Christine Caulfield <ccaulfie@redhat.com> :100644 100644 4878810... 0819b12... M cman/daemon/cmanccs.c commit ca27cf5a3acc9020b99ab9a9712af211148b036d Author: Jan Friesse <jfriesse@redhat.com> Date: Tue Oct 21 14:12:56 2008 +0200 [fence] Fixed man pages makefile, so fence_eps.8 is now installed. :100644 100644 b7e5171... a80182d... M fence/man/Makefile commit 6ce1abb2d9705b85cfce7d398ac999dcc1ca9f8f Author: Jan Friesse <jfriesse@redhat.com> Date: Tue Oct 21 14:00:45 2008 +0200 [fence] Fence agent for ePowerSwitch 8M+ (fence_eps) bz 467112 Fence agent for ePowerSwitch 8M+ works only on 8M+ device, because this is only one with hidden page (this feature has to be allowed, otherwise agent will not work) feature support. :000000 100644 0000000... fc665bc... A fence/agents/eps/Makefile :000000 100644 0000000... c91d5af... A fence/agents/eps/fence_eps.py :000000 100644 0000000... 3685837... A fence/man/fence_eps.8 commit bb7369013f7a3058add7030fbf2c40d05f9d8fdb Author: Fabio M. Di Nitto <fdinitto@redhat.com> Date: Tue Oct 21 12:39:37 2008 +0200 misc: fix gfs2_edit build broken by wrong copyright update commit Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com> :100644 100644 c9dc0b5... 6f25a9f... M config/copyright.cf commit ee7b9bcb123d2c5c88aad75a58f3fa5d3119035a Author: Fabio M. Di Nitto <fdinitto@redhat.com> Date: Tue Oct 21 11:42:49 2008 +0200 misc: cleanup copyright.... again... and again... Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com> :100644 100644 37adffb... 75aa37a... M fence/agents/apc_snmp/README :100644 100644 438e373... ef7d91a... M fence/agents/lpar/Makefile :100755 100755 8b81dbb... a8a4fe9... M fence/agents/lpar/fence_lpar.py :100755 100755 e9a061e... 887b3bb... M fence/agents/vmware/fence_vmware.py :100644 100644 3f3f5f7... d569292... M fence/man/fence_alom.8 :100644 100644 31ea5f8... 8c9e4c7... M fence/man/fence_vmware.8 :100644 100644 f1d17ec... fd07379... M gfs-kernel/src/gfs/lm_interface.h :100644 100644 624614e... 15908cd... M gfs-kernel/src/gfs/lock_dlm.h :100644 100644 bbc7308... 65ef0bd... M gfs-kernel/src/gfs/lock_dlm_lock.c :100644 100644 e019177... be7c625... M gfs-kernel/src/gfs/lock_dlm_main.c :100644 100644 ed08bc2... de7cc2a... M gfs-kernel/src/gfs/lock_dlm_mount.c :100644 100644 31fd6e1... 98626fa... M gfs-kernel/src/gfs/lock_dlm_sysfs.c :100644 100644 521694f... 58641c7... M gfs-kernel/src/gfs/lock_dlm_thread.c :100644 100644 c8ce5cc... 18315ef... M gfs-kernel/src/gfs/lock_nolock_main.c :100644 100644 96da559... 26c3c51... M gfs-kernel/src/gfs/locking.c :100644 100644 2486b04... 8992072... M gfs2/edit/hexedit.h commit 43a9fba5000a2a869a41f435fa088204abdab83c Author: Christine Caulfield <ccaulfie@redhat.com> Date: Tue Oct 21 08:52:34 2008 +0100 dlmtop: Add usage message And also allow port to be specified for odd installations. Signed-off-by: Christine Caulfield <ccaulfie@redhat.com> :100644 100644 38cf4e5... 8ae3f19... M dlm/tests/tcpdump/dlmtop.c commit 812f002364f33eb634f24cb2c5205570dc23cd04 Author: Abhijith Das <adas@redhat.com> Date: Tue Aug 12 11:49:45 2008 -0500 gfs-kernel: bug 450209 - addendum to previous patch. Removes extraneous lock_dlm_plock.c I accidentally added this file to the patch I posted earlier to this bug. It's just an extra file at this point; Makefile doesn't even compile it. This commit removes it. :100644 000000 d6d6e37... 0000000... D gfs-kernel/src/gfs/lock_dlm_plock.c commit 8fb801282da88b6cc104d961c51ed031c9943a7d Author: Fabio M. Di Nitto <fdinitto@redhat.com> Date: Fri Oct 17 13:38:17 2008 +0200 fence egenera: fix logging file Move log file where it belongs with all the others. Addresses: CVE-2008-4192 Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com> :100644 100644 30607fe... 67d1d83... M fence/agents/egenera/fence_egenera.pl commit f42418abf4092b1fd0ee8a719b3be5ceaaa6e0b2 Author: Fabio M. Di Nitto <fdinitto@redhat.com> Date: Tue Jul 22 07:10:35 2008 +0200 [FENCE] Fix fence_apc_snmp logging Move log file together with all the others when invoked in verbose mode. Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com> :100644 100644 b635193... dea529f... M fence/agents/apc_snmp/fence_apc_snmp.py commit 40b61d8e7943f65831544940b893892192416ac3 Author: Fabio M. Di Nitto <fdinitto@redhat.com> Date: Tue Oct 21 06:05:12 2008 +0200 [BUILD] Allow users to set default log dir Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com> :100755 100755 c121b3e... 36be925... M configure :100644 100644 a4fa193... ed4f72d... M make/defines.mk.input :100644 100644 2dcfeb9... ffc1f43... M make/fencebuild.mk commit 40be4e735d48bd3de9001fb5874778bffe96dd52 Author: Simone Gotti <simone.gotti@email.it> Date: Mon Oct 20 13:07:13 2008 -0400 [rgmanager] Fix fuser parsing on later versions of psmisc Description of problem: fuser from rhel5 has different output respect the one from rhel4 so fs.sh needs a little change. Looks like the 2 differences are: *) mountpoint has an ending colon *) Everything except the pid file is printed to sdterr instead of stdout Bugzilla #467686 :100644 100644 b953d01... 127c5eb... M rgmanager/src/resources/clusterfs.sh :100644 100644 6d82698... 3289383... M rgmanager/src/resources/fs.sh :100644 100644 81cbd3d... e6b0296... M rgmanager/src/resources/netfs.sh commit 65d8849b826445ac01b465cbf6b30ab747256adc Author: Christine Caulfield <ccaulfie@redhat.com> Date: Mon Oct 20 16:15:52 2008 +0100 dlm: Add dlmtop Add dlmtop program (this needs some work still, but is quite functional). Also, some small fixes for dlm_tcpdump on STABLE2/RHEL5 Signed-off-by: Christine Caulfield <ccaulfie@redhat.com> :100644 100644 f572e3b... 3c63491... M dlm/tests/tcpdump/Makefile :100644 100644 655803d... 6741888... M dlm/tests/tcpdump/dlm_tcpdump.c :000000 100644 0000000... 38cf4e5... A dlm/tests/tcpdump/dlmtop.c commit ddebb0c3dc7d0b87c402ba17731ad41abdd43f2d Author: Abhijith Das <adas@redhat.com> Date: Mon Oct 20 00:21:45 2008 -0500 gfs-kernel: bz 458765 - In linux-2.6.26 / 2.03.06, GFS1 can't create more than 4kb file Temporary workaround fix to make gfs1 work properly in upstream kernels until we do it the right way by using the new aops write_begin/write_end instead of the prepare_write/commit_write interface that we currently use. :100644 100644 98c3384... 0a9c7cd... M gfs-kernel/src/gfs/ops_address.c commit 66a16aae99461b575f3987f44feccceb2e7a60ea Author: Lon Hohberger <lhh@redhat.com> Date: Wed Oct 15 15:19:11 2008 -0400 [fence] Fix fence_xvmd trying to read wrong args from ccs :100644 100644 a4b7987... 0384aee... M fence/agents/xvm/options-ccs.c commit 3ece18fdd89a4a45166d71d811b78c7ceda57a7d Author: Christine Caulfield <ccaulfie@redhat.com> Date: Tue Oct 14 13:12:06 2008 +0100 dlm: Add timestamp and full cmdline to dlm_tcpdump Patch from Djuran, with some modifications. Signed-off-by: Christine Caulfield <ccaulfie@redhat.com> :100644 100644 8b2bffe... 655803d... M dlm/tests/tcpdump/dlm_tcpdump.c commit 8702bca16ba0db6cad48a16e9d597def1494c459 Author: Christine Caulfield <ccaulfie@redhat.com> Date: Tue Oct 14 11:14:38 2008 +0100 dlm: make dlm_tcpdump cope with length==0 packets I don't know why some packets have length & cmd set to 0, given that it doesn't seem to cause trouble with DLM operations I suspect it might be an artifact of pcap or something. For the purposes if this code it's easiest just to ignore them. Signed-off-by: Christine Caulfield <ccaulfie@redhat.com> :100644 100644 a88302c... 8b2bffe... M dlm/tests/tcpdump/dlm_tcpdump.c commit d9c3e59e90437567d063144bcfdbbc9fe6e8d615 Author: Abhijith Das <adas@redhat.com> Date: Mon Oct 13 23:24:47 2008 -0500 gfs-kernel and mount.gfs2: GFS ignore the noatime and nodiratime mount options Since the vfs moved the MS_NOATIME, MS_NODIRATIME flags from the superblock to the vfsmount structure (MNT_NOATIME, MNT_NODIRATIME, which are not accessible to gfs), gfs no longer knows when to enable/disable atime updates and the atime_quantum stuff is broken in the sense that it doesn't respect the noatime and nodiratime flags. This patch attempts to fix this by creating a gfs-specific mount option gfs_noatime and having the mount.gfs helper pass it along when the user specifies noatime or nodiratime in the command line. It's not the ideal way to fix it, and it is a bit ugly. :100644 100644 fedde49... 84c6860... M gfs-kernel/src/gfs/incore.h :100644 100644 2683736... 534b911... M gfs-kernel/src/gfs/mount.c :100644 100644 8f067d0... 93bf4d1... M gfs-kernel/src/gfs/ops_fstype.c :100644 100644 6c10d30... 61c752a... M gfs2/mount/mount.gfs2.c :100644 100644 a070d41... bfb03d0... M gfs2/mount/util.c commit b631e4309e23fe8f62e0e88b0c91f94029cdfcd3 Author: Abhijith Das <adas@redhat.com> Date: Mon Oct 13 17:07:19 2008 -0500 Revert "gfs-kernel: bz457473 - GFS ignore the noatime and nodiratime mount options" This reverts commit df24065a1e15e3fcb194f80c5df1aa8fe6974bb3. :100644 100644 9b80ca8... 0648d28... M gfs-kernel/src/gfs/gfs_ondisk.h :100644 100644 9fdc2f9... a0342b1... M gfs-kernel/src/gfs/glock.h :100644 100644 21a500a... fedde49... M gfs-kernel/src/gfs/incore.h :100644 100644 45245bb... a193fcf... M gfs-kernel/src/gfs/inode.c :100644 100644 ad09796... 01f80b7... M gfs-kernel/src/gfs/inode.h :100644 100644 c66197b... d5489b5... M gfs-kernel/src/gfs/ioctl.c :100644 100644 2ca5242... 95eb2a3... M gfs-kernel/src/gfs/ops_file.c :100644 100644 ba10b6f... 8f067d0... M gfs-kernel/src/gfs/ops_fstype.c :100644 100644 3b3eec3... afac554... M gfs-kernel/src/gfs/ops_super.c :100644 100644 943ee31... 781350e... M gfs-kernel/src/gfs/super.c commit 32036c520e81aa0c51079e6726cca588be3bfa33 Author: Christine Caulfield <ccaulfie@redhat.com> Date: Fri Oct 10 13:50:16 2008 +0100 dlm: Make dlm_tcpdump compile for RHEL5 too This is a conditional compilation. The RHEL5 code is untested as yet Signed-off-by: Christine Caulfield <ccaulfie@redhat.com> :100644 100644 6ad2d32... f572e3b... M dlm/tests/tcpdump/Makefile :100644 100644 a4f3d7e... a88302c... M dlm/tests/tcpdump/dlm_tcpdump.c commit f6c27d970d7e9e9588aa3818f27b93510e1e376d Author: Christine Caulfield <ccaulfie@redhat.com> Date: Fri Oct 10 10:25:47 2008 +0100 dlm: add dlm_tcpdump tool This is a very basic DLM analysis tool that watches the local network for DLM packets and prints them on stdout. It works best with GFS but should copy quite happily with other DLM traffic too. It's primary use is in identifying heavy DLM users. It will display the REMOTE locks taken out by processes and identify them by PID and process name. NOTE: because it sniffs the network it can only identify locks taken out on the local system that are mastered on another system. If you don't understand what this means then you should probably read http://people.redhat.com/ccaulfie/docs/rhdlmbook.pdf This isn't as much of a restriction as you might think, as it's locking traffic that cases the bottleneck mostly anyway, local locking is VERY fast. :000000 100644 0000000... 6ad2d32... A dlm/tests/tcpdump/Makefile :000000 100644 0000000... 8a85148... A dlm/tests/tcpdump/README :000000 100644 0000000... a4f3d7e... A dlm/tests/tcpdump/dlm_tcpdump.c commit 7511d2f6d8dbadd7217ea9dcb585feb5f71ce30c Author: Fabio M. Di Nitto <fdinitto@redhat.com> Date: Fri Oct 10 07:44:51 2008 +0200 build: bump kernel requirement to 2.6.27 gfs-kernel module now needs 2.6.27. Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com> :100755 100755 431af22... c121b3e... M configure commit ff7d89bfe60ed041d9342c8c9d91815c1f3d3bef Author: Abhijith Das <adas@redhat.com> Date: Tue Aug 12 09:59:36 2008 -0500 gfs-kernel: Bug 450209: Create gfs1-specific lock modules + minor fixes to build with 2.6.27 gfs1 has its own lock modules now and is no longer dependent on gfs2.ko or lock_nolock.ko or lock_dlm.ko. This commit contains the lock modules patch and the following fixes to make gfs1 build with Steve's git tree. - change all instances of <asm/semaphore.h> to <linux/semaphore.h> - change all calls to permission() to inode_permission() - change all calls to remote_llseek() to generic_file_llseek_unlocked() I have been able to successfully compile with the patch against Steve's git tree, insmod the gfs.ko module, and mount a nolock filesystem using it. I don't have a cluster running upstream bits, so I couldn't test the module in a cluster. :100644 100644 19f3b4f... aa12e01... M gfs-kernel/src/gfs/Makefile :100644 100644 63cf1cd... a3e30b0... M gfs-kernel/src/gfs/acl.c :100644 100644 4265db8... af84bf0... M gfs-kernel/src/gfs/bits.c :100644 100644 cc8744a... 0efd1d1... M gfs-kernel/src/gfs/bmap.c :100644 100644 7313f7b... 0d09023... M gfs-kernel/src/gfs/dio.c :100644 100644 14422af... 7dadf7f... M gfs-kernel/src/gfs/dir.c :100644 100644 4a99707... dbd0254... M gfs-kernel/src/gfs/eaops.c :100644 100644 8f7d88c... 062b682... M gfs-kernel/src/gfs/eattr.c :100644 100644 a9c6ff2... 3f8e5b9... M gfs-kernel/src/gfs/file.c :100644 100644 6616662... 7cec09c... M gfs-kernel/src/gfs/gfs.h :100644 100644 a54ffed... 57a829d... M gfs-kernel/src/gfs/glock.c :100644 100644 37f5c09... 708291d... M gfs-kernel/src/gfs/glops.c :100644 100644 533117a... 45245bb... M gfs-kernel/src/gfs/inode.c :100644 100644 cc174f6... c66197b... M gfs-kernel/src/gfs/ioctl.c :100644 100644 d08d7e4... f27d581... M gfs-kernel/src/gfs/lm.c :000000 100644 0000000... f1d17ec... A gfs-kernel/src/gfs/lm_interface.h :000000 100644 0000000... 624614e... A gfs-kernel/src/gfs/lock_dlm.h :000000 100644 0000000... bbc7308... A gfs-kernel/src/gfs/lock_dlm_lock.c :000000 100644 0000000... e019177... A gfs-kernel/src/gfs/lock_dlm_main.c :000000 100644 0000000... ed08bc2... A gfs-kernel/src/gfs/lock_dlm_mount.c :000000 100644 0000000... d6d6e37... A gfs-kernel/src/gfs/lock_dlm_plock.c :000000 100644 0000000... 31fd6e1... A gfs-kernel/src/gfs/lock_dlm_sysfs.c :000000 100644 0000000... 521694f... A gfs-kernel/src/gfs/lock_dlm_thread.c :000000 100644 0000000... c8ce5cc... A gfs-kernel/src/gfs/lock_nolock_main.c :000000 100644 0000000... 96da559... A gfs-kernel/src/gfs/locking.c :100644 100644 eaa0949... 8305ff2... M gfs-kernel/src/gfs/log.c :100644 100644 ebfbbd7... 6010444... M gfs-kernel/src/gfs/lops.c :100644 100644 eccedc2... 41fc26f... M gfs-kernel/src/gfs/lvb.c :100644 100644 ca5e55d... 16b520b... M gfs-kernel/src/gfs/main.c :100644 100644 d2d341b... 2683736... M gfs-kernel/src/gfs/mount.c :100644 100644 566e9cf... 1d169eb... M gfs-kernel/src/gfs/ondisk.c :100644 100644 ff08c66... 98c3384... M gfs-kernel/src/gfs/ops_address.c :100644 100644 6cd7520... 48efd34... M gfs-kernel/src/gfs/ops_dentry.c :100644 100644 cc21c5a... bf3484c... M gfs-kernel/src/gfs/ops_export.c :100644 100644 93d728a... 2ca5242... M gfs-kernel/src/gfs/ops_file.c :100644 100644 20fc4f9... 78a245a... M gfs-kernel/src/gfs/ops_inode.c :100644 100644 3b869cb... 3b3eec3... M gfs-kernel/src/gfs/ops_super.c :100644 100644 cad15cb... 423435e... M gfs-kernel/src/gfs/ops_vm.c :100644 100644 faac61a... 4c5cdb3... M gfs-kernel/src/gfs/page.c :100644 100644 7685344... b25cd1c... M gfs-kernel/src/gfs/proc.c :100644 100644 13093a6... 4e2bee6... M gfs-kernel/src/gfs/quota.c :100644 100644 ed759f2... ba5f34d... M gfs-kernel/src/gfs/recovery.c :100644 100644 947757e... e0c670f... M gfs-kernel/src/gfs/rgrp.c :100644 100644 438aa07... 943ee31... M gfs-kernel/src/gfs/super.c :100644 100644 f28b01f... 77f542a... M gfs-kernel/src/gfs/sys.c :100644 100644 cefb4a3... 985533e... M gfs-kernel/src/gfs/trans.c :100644 100644 90d427c... d41c48a... M gfs-kernel/src/gfs/unlinked.c :100644 100644 eebfef2... 7d1c0e4... M gfs-kernel/src/gfs/util.c commit 7d5a4d0247c2d874d04be4ee4e74b8bf48ec09a3 Author: Marek 'marx' Grac <mgrac@redhat.com> Date: Wed Oct 8 16:50:08 2008 +0200 [RGMANAGER] - Fix #462910 postgres-8.sh and metadata fixes :100644 100644 e243dd9... ad3f84e... M rgmanager/src/resources/postgres-8.metadata :100644 100644 3716be6... 31302a7... M rgmanager/src/resources/postgres-8.sh :100644 100644 1b9f471... 982bbc6... M rgmanager/src/resources/utils/ra-skelet.sh commit 38a6ca8a2f2b016bded882c2aaaa24dd30f96a68 Author: Ryan McCabe <rmccabe@redhat.com> Date: Mon Oct 6 17:30:43 2008 -0400 cman: Fix typo that caused start-up to fail "/usr/sbin/cman_tool" should be "/sbin/cman_tool" :100644 100644 603817b... 7e41208... M cman/init.d/cman.in commit df24065a1e15e3fcb194f80c5df1aa8fe6974bb3 Author: Abhijith Das <adas@redhat.com> Date: Mon Oct 6 11:51:54 2008 -0500 gfs-kernel: bz457473 - GFS ignore the noatime and nodiratime mount options This patch corrects noatime support in GFS. It works by ditching the special casing which we had previously and using the support already in the VFS layer. The problem which this solves was introduced a while back when noatime became a per-vfsmnt flag rather than a per-sb flag. GFS was still assuming that this flag would be passed to the fs, whereas in reality it was being horded by the vfsmnt code and not being passed to the fs. As a result of this patch, GFS will not only obey the noatime flag correctly, but also relatime and these will also be supported per-vfsmnt rather than on a per-sb basis as before. This fixes bz #457473 :100644 100644 0648d28... 9b80ca8... M gfs-kernel/src/gfs/gfs_ondisk.h :100644 100644 a0342b1... 9fdc2f9... M gfs-kernel/src/gfs/glock.h :100644 100644 fedde49... 21a500a... M gfs-kernel/src/gfs/incore.h :100644 100644 0017da2... 533117a... M gfs-kernel/src/gfs/inode.c :100644 100644 01f80b7... ad09796... M gfs-kernel/src/gfs/inode.h :100644 100644 73985df... cc174f6... M gfs-kernel/src/gfs/ioctl.c :100644 100644 44656f2... 93d728a... M gfs-kernel/src/gfs/ops_file.c :100644 100644 8f067d0... ba10b6f... M gfs-kernel/src/gfs/ops_fstype.c :100644 100644 0d60d18... 3b869cb... M gfs-kernel/src/gfs/ops_super.c :100644 100644 1dea0a0... 438aa07... M gfs-kernel/src/gfs/super.c commit 7eb24e29894c827072a82907c81a4fbcbd0d0883 Author: Abhijith Das <adas@redhat.com> Date: Thu Oct 2 13:07:44 2008 -0500 gfs-kernel: GFS: madvise system call causes assertion Since the madvise system call was enabled by the patch to bug 429343, it's possible for a inode glock holder to never get dequeued through gfs_readpage. This causes an assertion (bug 464837) GFS: fsid=cl102a:gfs1.1: warning: assertion "(gh->gh_flags & LM_FLAG_ANY) || (tmp_gh->gh_flags & LM_FLAG_ANY)" failed GFS: fsid=cl102a:gfs1.1: function = add_to_queue GFS: fsid=cl102a:gfs1.1: file = /builddir/build/BUILD/gfs-kmod-0.1.23/_kmod_build_/src/gfs/glock.c, line = 1418 GFS: fsid=cl102a:gfs1.1: time = 1222739610 This patch reverts the patch to bz 429343. Don't log any warnings/errors and simply return ENOSYS when you arrive at gfs_readpage without the inode glock held. (madvise syscall case) :100644 100644 198dc39... a0342b1... M gfs-kernel/src/gfs/glock.h :100644 100644 63854ef... ff08c66... M gfs-kernel/src/gfs/ops_address.c commit 39fab5d033b57b3b8804d88bae22be3cb04fac17 Author: Bob Peterson <rpeterso@redhat.com> Date: Fri Aug 8 13:49:56 2008 -0500 gfs-kmod: GFS corruption after forced withdraw bz 452274 GFS file systems were being corrupted because some of the functions in log.c were writing to the journal after the file system had been withdrawn. :100644 100644 3a1896f... eaa0949... M gfs-kernel/src/gfs/log.c commit 67067a37a9acc356a42c5f69bd3f7f39284f8ce1 Author: Ryan O'Hara <rohara@redhat.com> Date: Wed Sep 17 16:04:57 2008 -0500 fence_scsi: correctly declare key_list The key_list hash was not being declared in the get_key_list subroutine, which was causing problem with the scope of the variable. In short, Perl assumes that the scope of an undeclared variable is global. This caused the contents of the has to remain unchanged. (BZ 462628) :100644 100644 85d67d6... a02ac7a... M fence/agents/scsi/fence_scsi.pl commit f7e66c1e6744ce02827539fd239b4ee7919f63b0 Author: Ryan O'Hara <rohara@redhat.com> Date: Mon Sep 15 09:49:47 2008 -0500 groupd.8: update man page with information about -s option Document new option (-s [0|1]). :100644 100644 634d0a0... 7c8ea19... M group/man/groupd.8 commit 45f1776b076b92dd28a7b2bcb17cc9d468a55d43 Author: Ryan O'Hara <rohara@redhat.com> Date: Wed Sep 10 16:55:04 2008 -0500 fence_scsi: improve logging for debugging Using the -v (verbose) option will print more information that it previously did. Output will also be easier to understand, which should help track down any problems that might occur. :100644 100644 fb5093f... 85d67d6... M fence/agents/scsi/fence_scsi.pl commit 07aaff32a7abf3533bf560e5d2641b893c4bbd80 Author: Ryan O'Hara <rohara@redhat.com> Date: Tue Sep 9 09:57:17 2008 -0500 groupd: detect dead daemons and remove node from cluster If any of the daemons that run within groupd fail unexpectedly, we detect this failure and remove the node from the cluster. These daemons include fenced, dlm_controld, and gfs_controld. If any of these daemons die unexpectedly (or are killed), the cluster in in an invalid state, so the proper thing to do is remove the node from the cluster (cman_leave_cluster). This behavior is enabled by default, but can be turned off with the -s option for groupd. For example, 'groupd -s0' will disable this "shutdown mode". (BZ #318571) :100644 100644 1b44269... 998197b... M group/daemon/cman.c :100644 100644 b56dd92... bb6e284... M group/daemon/gd_internal.h :100644 100644 8e278c5... 18b1e50... M group/daemon/main.c commit 2468574b5056b45b26787db1e89664abefab043c Author: rohara <rohara@spartan.(none)> Date: Fri Sep 5 16:34:51 2008 -0500 scsi_reserve: add restart option Added restart option to scsi_reserve init script. Using this option will result is re-registering with all devices. It will not remove any existing registrations, since doing so would be dangerous. In short, it is nearly identical to calling the script with the "start" option. (BZ #455330) :100644 100644 00fc650... a376b97... M fence/agents/scsi/scsi_reserve commit d5318d9d6b5f1267de2a340fb89fbf56cf9c6203 Author: rohara <rohara@spartan.(none)> Date: Thu Sep 4 16:25:56 2008 -0500 fence_scsi.pl: check if nodeid is zero If the nodeid we get from the XML query of cluster.conf is zero, then either the node does not exist in the cluster of the nodeid is not set. Each case is invalid, so report an error and exit. :100644 100644 b9aea99... fb5093f... M fence/agents/scsi/fence_scsi.pl commit 641b0f5e3fdd1815d4641135495018d5dbf53bbd Author: Ryan O'Hara <rohara@redhat.com> Date: Fri Aug 29 10:07:38 2008 -0500 cman: allow custom xen network bridge scripts This patch allows users to define custom scripts for Xen network bridging. Previously, the name of the Xen network bridge was hard-coded in the cman init script. Users that wish to use custom Xen network bridge script should define NETWORK_BRIDGE_SCRIPT in /etc/sysconfig/cman. This script must exist in the /etc/xen/scripts directory. Users must also update the /etc/xen/xend-config.sxp file accordingly. :100644 100644 8594675... 603817b... M cman/init.d/cman.in commit f15900037e0cdc433fd29009ca1026a2b0ee26f6 Author: Andrew Price <andy@andrewprice.me.uk> Date: Thu Jul 24 19:09:36 2008 +0200 [GFS2] libgfs2: Build with -fPIC Build libgfs2 with -fPIC to enable linking on x86_64 and others. Signed-off-by: Andrew Price <andy@andrewprice.me.uk> Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com> :100644 100644 de0d1a2... 0ce1641... M gfs2/libgfs2/Makefile commit 897627c5e22ba9f78a22cd213d02acb1fa7b68f4 Author: Marek 'marx' Grac <mgrac@redhat.com> Date: Wed Sep 24 16:46:35 2008 +0200 [FENCE] Fix #290231 - "Switch (optional)" param does not default to "1" and program fails Bug itself was almost corrected in new fence agent but unfortunately '1' was entered as number not as string. Python can not do int + string and agent fails. :100644 100644 b8f0637... 5d132be... M fence/agents/apc/fence_apc.py commit fedd56b97fdc9b9bb2fa47958d14b9a324c4df3b Author: Bob Peterson <rpeterso@redhat.com> Date: Thu Sep 25 15:29:31 2008 -0500 GFS: gfs_fsck invalid response to question changes the question bz 463817 - gfs_fsck can't decide which bitmap to fix When the gfs_fsck ran into a problem and asked whether to fix it, if the users gave an invalid response, the block referenced in the question would become a random number. That's because in function "query" it was parsing the arguments once, using the va_start function, but after the arguments have been parsed, it's left in an invalid state. The proper thing to do is to call va_start for each time we need to parse the arguments. :100644 100644 9c89683... 3730d41... M gfs/gfs_fsck/log.c commit 27ab4fdb8adc64f51663102d1e1a537d175c0403 Author: Jan Friesse <jfriesse@redhat.com> Date: Thu Sep 25 11:30:13 2008 +0200 fence: New fence agent for Logical Domains (LDOMs) It's tested on LDOM 1.0.3. Because interface is backward compatible, it will work with 1.0, 1.0.1 and .2 too. It's tested with bash and csh shells on host machine. :000000 100644 0000000... a288025... A fence/agents/ldom/Makefile :000000 100644 0000000... 8b2c210... A fence/agents/ldom/fence_ldom.py :100644 100644 803b086... b7e5171... M fence/man/Makefile :000000 100644 0000000... 59167c8... A fence/man/fence_ldom.8 commit 2fd99f351d7d694c3b7773500bc7994a6cb3196e Author: Lon Hohberger <lhh@redhat.com> Date: Thu Aug 28 16:52:36 2008 -0400 group: Allow group_tool ls <name> <level> to be scriptable * Returns 1 if the group is not found or found and not joined * Returns 0 if the group is found and joined This is needed to solve rhbz 459754. :100644 100644 99b3b3f... 6764d28... M group/tool/main.c commit 14409bc4ff53cd8c596d2eb06b881840195089de Author: Bob Peterson <rpeterso@redhat.com> Date: Wed Sep 24 11:50:22 2008 -0500 GFS2: gfs2_fsck: fix segfault while running special block lists. bz 463588 - GFS2: gfs2_fsck segfaults when extended attributes are on the file system The gfs2_fsck tool was running special block lists with osi_list_foreach but then it was sometimes deleting the entries from the lists. Therefore it should have been using osi_list_foreach_safe instead. :100644 100644 bfe0456... 60ccf39... M gfs2/fsck/pass1b.c :100644 100644 45d3dec... ec097ad... M gfs2/fsck/pass1c.c commit b1a74af43a6f1eea42e9536f5d360130dbb8e394 Author: Fabio M. Di Nitto <fdinitto@redhat.com> Date: Wed Sep 24 11:38:17 2008 +0200 fence: install fence_alom man page update build to install fence alom man page Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com> :100644 100644 ddb9d17... 803b086... M fence/man/Makefile commit fd7ca99fd260f59687e94376588457389593d484 Author: Fabio M. Di Nitto <fdinitto@redhat.com> Date: Wed Sep 24 11:37:46 2008 +0200 fence: update alom description add CMT version information in the alom header Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com> :100644 100644 275cadc... b1d8dcc... M fence/agents/alom/fence_alom.py commit 277c247e93a10056a9ffe147a2c4c880b0f8a5f5 Author: Bob Peterson <rpeterso@redhat.com> Date: Wed Sep 3 13:49:41 2008 -0500 Changes needed to stay current with libvolume_id. :100644 100644 8aa9c39... 7aeb3af... M gfs2/mkfs/main_mkfs.c commit ac3aed5d029da9f62c4c574f341951c8d5040ec6 Author: Bob Peterson <rpeterso@redhat.com> Date: Wed Sep 3 13:29:35 2008 -0500 Changes needed to stay compatible with libvolume_id. :100644 100644 87316c7... f216b5c... M gfs/gfs_mkfs/main.c commit c0d298321776c1d468eef2658c258a699853a054 Author: Lon Hohberger <lhh@redhat.com> Date: Tue May 20 09:49:31 2008 -0400 [rgmanager] Fix live migration option (broken in last commit) :100644 100644 e423889... 15e1f2a... M rgmanager/src/resources/vm.sh commit 70928ae17cfc67e76421357000ace3f0f55a5119 Author: Lon Hohberger <lhh@redhat.com> Date: Tue May 20 09:46:13 2008 -0400 [rgmanager] Apply patch from Marcelo Azevedo to make migration more robust * Adds a mapping of cluster nodes to private hostnames for migration paths * Makes migration status reporting more robust :100644 100644 bf6af90... e423889... M rgmanager/src/resources/vm.sh commit 35fd8a4574edafa4034422a3619b552321acd461 Author: Jan Friesse <jfriesse@redhat.com> Date: Mon Sep 22 18:20:22 2008 +0200 Fence: Added fence agent for Sun Advanced Lights Out Manager (ALOM) Because of strange behavior of ALOM SSH, which behaves more like telnet, fencing.py library is changed too. There is new option telnet_over_ssh (accessible only from source code of agent), which supports this behavior. :000000 100644 0000000... 6efc272... A fence/agents/alom/Makefile :000000 100644 0000000... 275cadc... A fence/agents/alom/fence_alom.py :100644 100644 8eab0e5... 85aa89e... M fence/agents/lib/fencing.py.py :000000 100644 0000000... 3f3f5f7... A fence/man/fence_alom.8 commit d90d392c09022c009df1140198d538546ca3b0d2 Author: Lon Hohberger <lhh@redhat.com> Date: Tue Mar 4 17:24:15 2008 -0500 [fence] Make fence_xvmd support reloading of key files on the fly. :100644 100644 e5847db... f2b714f... M fence/agents/xvm/fence_xvm.c :100644 100644 0af22ea... ba55752... M fence/agents/xvm/fence_xvmd.c :100644 100644 f0dad17... 82ab204... M fence/agents/xvm/simple_auth.c :100644 100644 db4041f... 092ab1f... M fence/agents/xvm/xvm.h commit 2f17f7ef52bda4891a1afa1517d53d354e545737 Author: Lon Hohberger <lhh@redhat.com> Date: Thu Aug 28 17:36:31 2008 -0400 cman: show '-d' option in mkqdisk -h and mkqdisk.8 rhbz 459678 :100644 100644 ca3009a... a097680... M cman/man/mkqdisk.8 :100644 100644 63b04f2... c063d1e... M cman/qdisk/mkqdisk.c commit 839c697d39dc4698da5de301ceb21e0b594d87f9 Author: Lon Hohberger <lhh@redhat.com> Date: Fri Sep 5 10:50:19 2008 -0400 cman: Don't let qdiskd update cman if the disk is unavailable rhbz#460937 :100644 100644 569563c... dcf0908... M cman/man/qdisk.5 :100644 100644 0062c86... 27a4db4... M cman/qdisk/disk.h :100644 100644 3301d45... 0e27cb7... M cman/qdisk/main.c commit 62e48ab2112089fa79aa686a6bed923530c6a3d6 Author: Lon Hohberger <lhh@redhat.com> Date: Fri Sep 5 10:56:50 2008 -0400 cman: Fix broken qdisk main.c patch reverted with scandisk merge Re-fixes 442541 :100644 100644 b07ff41... 3301d45... M cman/qdisk/main.c commit c67dfe5cfc7f72917ac533d7335aa0e465a20f65 Author: Lon Hohberger <lhh@redhat.com> Date: Tue Sep 16 10:59:47 2008 -0400 rgmanager: Resolve hostnames->IPs and back when checking NFS clients Also enable caching for improved performance in services with lots (hundreds) of individual mounters Bugzillas #246668 & #455324 :100644 100644 0f8a1bd... 7cc9399... M rgmanager/src/resources/nfsclient.sh :100644 100644 3a3e3a8... 04f968d... M rgmanager/src/resources/service.sh commit 50582b1fe9330cfd26be7031743cbc5b002eff55 Author: Lon Hohberger <lhh@redhat.com> Date: Thu Sep 11 13:08:51 2008 -0400 rgmanager: Make clustat and clusvcadm work faster rhbz#461956 :100644 100644 8339f03... 41a88ca... M rgmanager/src/daemons/rg_event.c commit a627a3eb07fbe2d1af4f9790f167ffb911b48fec Author: Lon Hohberger <lhh@redhat.com> Date: Mon Sep 8 15:43:39 2008 -0400 rgmanager: Implement enforcement of timeouts on a per-resource basis Set "__enforce_timeouts" to "1" in the resource tree in order to enable this behavior (e.g. not the global resources list). rhbz #455326 :100644 100644 7b0934a... 206567d... M rgmanager/include/reslist.h :100644 100644 ec5a684... 94e8b2f... M rgmanager/src/daemons/restree.c commit 5c5b6e5ed97417ec3f1b88a365e9db49e0accd3a Author: Lon Hohberger <lhh@redhat.com> Date: Mon Sep 8 12:53:46 2008 -0400 rgmanager: Clean up build General build cleanups. Also fixes small bug in check_rdomain_crash(). :100644 100644 5aa9f1e... 768f040... M rgmanager/include/members.h :100644 100644 c79924c... 915925d... M rgmanager/include/resgroup.h :100644 100644 563e96d... 46a79ca... M rgmanager/src/daemons/clurmtabd.c :100644 100644 5764102... 514d68f... M rgmanager/src/daemons/event_config.c :100644 100644 6104c40... 222a12d... M rgmanager/src/daemons/fo_domain.c :100644 100644 f656977... 7300443... M rgmanager/src/daemons/groups.c :100644 100644 bb69e07... bc2375d... M rgmanager/src/daemons/main.c :100644 100644 647fe15... d6fb015... M rgmanager/src/daemons/reslist.c :100644 100644 51f26fa... ec5a684... M rgmanager/src/daemons/restree.c :100644 100644 fc5b1cb... 8339f03... M rgmanager/src/daemons/rg_event.c :100644 100644 1694124... 197cddd... M rgmanager/src/daemons/rg_forward.c :100644 100644 225c0be... f5f8d6b... M rgmanager/src/daemons/rg_locks.c :100644 100644 14a1d5e... 0edd3b4... M rgmanager/src/daemons/rg_state.c :100644 100644 c57a4ff... 8ba2474... M rgmanager/src/daemons/rg_thread.c :100644 100644 57ddf98... 5d236fe... M rgmanager/src/daemons/test.c commit 360f2d3cceb34bf510459b971ec3fbbaa1f3755e Author: Lon Hohberger <lhh@redhat.com> Date: Mon Sep 8 11:16:25 2008 -0400 rgmanager: make status poll interval configurable This allows administrators to define an alternate poll interval; the default is 10 seconds. This has no functional change unless an administrator sets: <rm ... status_poll_interval="X"/> :100644 100644 0c168f5... bb69e07... M rgmanager/src/daemons/main.c commit 4c79aea06bb46acbd2914bbb47d02a88aaced19e Author: Lon Hohberger <lhh@redhat.com> Date: Wed Sep 3 11:49:45 2008 -0400 rgmanager: Fix up clusvcadm.8 manual page to show -M option rhbz#460032 :100644 100644 155ac88... d1435ef... M rgmanager/man/clusvcadm.8 commit 573ebbb8ff9839a353d98fbbfbd306b43c49f623 Author: Lon Hohberger <lhh@redhat.com> Date: Thu Aug 28 16:53:11 2008 -0400 rgmanager: Wait for fence domain join to complete rhbz 459754, take 3 :100644 100644 89bdcd1... 0c168f5... M rgmanager/src/daemons/main.c :100644 100644 af3bf08... fc5b1cb... M rgmanager/src/daemons/rg_event.c commit 48a7f1f03296474e017e970af02463d2aae52983 Author: Satoru SATOH <satoru.satoh@gmail.com> Date: Mon Sep 8 11:27:51 2008 -0400 fence: Add network interface select option for fence_xvmd 1. fence_xvmd selects wrong network interface to listen on if host has multiple interfaces and target interface is not for default route. As a result, fence_xvmd does not repond to fence_xvm's request. 2. fence_xvmd cannot start if default route is not set. Ex: fence_xvmd -I <interface_name> Signed-Off-By: Satoru SATOH <satoru.satoh@gmail.com> Signed-Off-By: Lon Hohberger <lhh@redhat.com> :100644 100644 e8d507e... 0af22ea... M fence/agents/xvm/fence_xvmd.c :100644 100644 65d32d1... 4281416... M fence/agents/xvm/mcast.c :100644 100644 5113f04... 08fd6de... M fence/agents/xvm/mcast.h :100644 100644 616b8db... a08c204... M fence/agents/xvm/options.c :100644 100644 985f38d... 13d8599... M fence/agents/xvm/options.h :100644 100644 5a47211... 12af607... M fence/man/fence_xvmd.8 commit c43a9f56842da8a6f52b931d4a4b9ed90f0bda81 Author: Lon Hohberger <lhh@redhat.com> Date: Mon Sep 8 11:59:36 2008 -0400 rgmanager: Permit careful restart w/o disturbing services ... e.g. for upgrades of rgmanager in-place for example. Note: Requires service-freeze patch Example use: * Manually freeze all services on a node. * Stop rgmanager (service rgmanager stop) * Upgrade rgmanager package * Manually start rgmanager from the command line 'clurgmgrd -N' :100644 100644 a4a55b0... c79924c... M rgmanager/include/resgroup.h :100644 100644 bbde0f2... 7b43925... M rgmanager/man/clurgmgrd.8 :100644 100644 20ae823... 155ac88... M rgmanager/man/clusvcadm.8 :100644 100644 6641fc5... 8c613bf... M rgmanager/src/clulib/rg_strings.c :100644 100644 97f244c... 6104c40... M rgmanager/src/daemons/fo_domain.c :100644 100644 3927479... f656977... M rgmanager/src/daemons/groups.c :100644 100644 9c4f842... 89bdcd1... M rgmanager/src/daemons/main.c :100644 100644 c57b148... 14a1d5e... M rgmanager/src/daemons/rg_state.c :100644 100644 737e01a... 01fff05... M rgmanager/src/daemons/slang_event.c :100644 100644 df9bce0... 3f1379a... M rgmanager/src/resources/default_event_script.sl commit 471ed8d20588266236bd48f22b95e0a0b9da757d Author: Lon Hohberger <lhh@redhat.com> Date: Mon Sep 8 11:52:33 2008 -0400 rgmanager: Detect restricted failover domain crash Mark service as 'stopped' when it is 'running' but the node is down. rhbz #435466 :100644 100644 08feee0... 5aa9f1e... M rgmanager/include/members.h :100644 100644 7440341... 7b0934a... M rgmanager/include/reslist.h :100644 100644 ee7f1fe... fb77cea... M rgmanager/src/clulib/members.c :100644 100644 c17b0e3... 97f244c... M rgmanager/src/daemons/fo_domain.c :100644 100644 91c5fae... 3927479... M rgmanager/src/daemons/groups.c :100644 100644 8a205ba... c57b148... M rgmanager/src/daemons/rg_state.c :100644 100644 653e988... 855975f... M rgmanager/src/daemons/service_op.c :100644 100644 a50b1af... 737e01a... M rgmanager/src/daemons/slang_event.c :100644 100644 8e519fa... df9bce0... M rgmanager/src/resources/default_event_script.sl commit ac1e2f52cd92cc78abebc0ae31c79862735945b8 Author: Lon Hohberger <lhh@redhat.com> Date: Mon Aug 25 15:28:25 2008 -0400 rgmanager: Make freeze/unfreeze work with central_processing Part 2 of 2 for rhbz 448046 :100644 100644 2593350... 8a205ba... M rgmanager/src/daemons/rg_state.c :100644 100644 7272818... a50b1af... M rgmanager/src/daemons/slang_event.c :100644 100644 dfd31e0... 8e519fa... M rgmanager/src/resources/default_event_script.sl commit 8a110f230d45b330cc3c088b804ad62a245709a1 Author: Jan Friesse <jfriesse@redhat.com> Date: Mon Sep 22 11:12:24 2008 +0200 fence: Fix fence agent for VMware ESX. Added support for identity_file. :100755 100755 e02052f... e9a061e... M fence/agents/vmware/fence_vmware.py :100644 100644 de9b6ff... 31ea5f8... M fence/man/fence_vmware.8 commit 5c0eeefffe2ef260383ae0287cb82bfdd3a38a70 Author: Christine Caulfield <ccaulfie@redhat.com> Date: Fri Sep 19 13:02:40 2008 +0100 cman: Clean shutdown_con if the controlling process is killed. If a shutdown is initiated by a process that is then killed, the shutdown_con isn't cleared. So if another process replies to the shutdown request cman could segfault. Signed-off-by: Christine Caulfield <ccaulfie@redhat.com> :100644 100644 162e8be... 519a10d... M cman/daemon/commands.c commit 04b532e83dd7fef23daf1ba89677a09c18fbca49 Author: Fabio M. Di Nitto <fdinitto@redhat.com> Date: Fri Sep 19 11:38:54 2008 +0200 cman: fix broken init script remove merge/cherry-pick leftovers from 55ea74998e36f6f43380fdd3a8a15943b1123792 fix BZ #461004 Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com> :100644 100644 b2106d3... 8594675... M cman/init.d/cman.in commit d625f38c76d0c4f40a8701f7a67b4723f9978922 Author: Abhijith Das <adas@redhat.com> Date: Wed Sep 17 11:54:02 2008 -0500 Revert "gfs-kernel: bz298931 - GFS unlinked inode metadata leak" This reverts commit f8d0cbc5b06340085e077d5b41e0b226732332af. :100644 100644 c0c8057... 378e0a7... M gfs-kernel/src/gfs/daemon.c :100644 100644 bad76fc... fedde49... M gfs-kernel/src/gfs/incore.h :100644 100644 46517b6... 73985df... M gfs-kernel/src/gfs/ioctl.c :100644 100644 47f8e78... 947757e... M gfs-kernel/src/gfs/rgrp.c :100644 100644 c10a9e0... 0f5c620... M gfs-kernel/src/gfs/rgrp.h :100644 100644 12f7a25... 1dea0a0... M gfs-kernel/src/gfs/super.c commit 63a9107568c5d33b79cef212322c951f5ea6cec2 Author: Jan Friesse <jfriesse@redhat.com> Date: Tue Sep 16 10:30:31 2008 +0200 fence: Fix fence agent for VMware ESX. Use dynamic import path and RELEASE_VERSION variable. :100755 100755 5e01ffb... e02052f... M fence/agents/vmware/fence_vmware.py commit f2f60eab693300a496eee220be53c9aa44784323 Author: Jan Friesse <jfriesse@redhat.com> Date: Tue Sep 16 09:10:35 2008 +0200 cman: Removed old Perl version of VMware fence agent, so new version is built. :100644 000000 9769d15... 0000000... D fence/agents/vmware/fence_vmware.pl commit a8c7ee8c24ea8ff495faae6e6b46a6340429a40e Author: Chris Feist <cfeist@redhat.com> Date: Mon Sep 15 15:25:08 2008 -0500 cman: fixed makefiles to actually install the vmware manpage :100644 100644 97c8be8... ddb9d17... M fence/man/Makefile commit f8d0cbc5b06340085e077d5b41e0b226732332af Author: Abhijith Das <adas@redhat.com> Date: Fri Sep 12 16:44:04 2008 -0500 gfs-kernel: bz298931 - GFS unlinked inode metadata leak Have inoded reclaim metadata from x rgrps at a time The tunable max_rgrp_free_mdata is the maximum number of rgrps to free unused metadata from during each cycle of inoded. Default is 5. :100644 100644 378e0a7... c0c8057... M gfs-kernel/src/gfs/daemon.c :100644 100644 fedde49... bad76fc... M gfs-kernel/src/gfs/incore.h :100644 100644 73985df... 46517b6... M gfs-kernel/src/gfs/ioctl.c :100644 100644 947757e... 47f8e78... M gfs-kernel/src/gfs/rgrp.c :100644 100644 0f5c620... c10a9e0... M gfs-kernel/src/gfs/rgrp.h :100644 100644 1dea0a0... 12f7a25... M gfs-kernel/src/gfs/super.c commit 707bb488158fb80a4166dc10197b017a222bab55 Author: Abhijith Das <adas@redhat.com> Date: Fri Sep 12 00:45:57 2008 -0500 libgfs2: Bug 459630 - GFS2: changes needed to gfs2-utils due to gfs2meta fs changes in bz 457798 The changes to the gfs2meta component of gfs2 (through bz 457798) do not require any major changes to gfs2_utils except this one liner. We now use the gfs2 mount point rather than the device to mount the meta fs. :100644 100644 daef2f3... 4a6665c... M gfs2/libgfs2/misc.c commit 929b0ada6043dd3bc0b7029183010436b1a9343c Author: Marek 'marx' Grac <mgrac@redhat.com> Date: Thu Sep 11 17:57:45 2008 +0200 [FENCE] Fix #460054 - fence_apc fails with pexpect exception In some special unspecified cases it is possible that connection will be closed before we run close(). This is not a problem because everything is checked before. :100644 100644 65b9502... b8f0637... M fence/agents/apc/fence_apc.py commit b510f49442c733617c88051057f538abff17b412 Author: Jan Friesse <jfriesse@redhat.com> Date: Thu Sep 11 15:56:09 2008 +0200 fence: Fence agent for VMware ESX Another fence agent for VMware ESX which is written in Python using our fencing library. Old agent (written in Perl) segfaulted in my test environment. This agent is tested on VMware ESX 3.5 and Server 1.0.7. bz 251048 :100644 100644 f3f9e6c... 8eab0e5... M fence/agents/lib/fencing.py.py :000000 100755 0000000... 5e01ffb... A fence/agents/vmware/fence_vmware.py :000000 100644 0000000... de9b6ff... A fence/man/fence_vmware.8 commit d23899a10e804a8a871a3f3510f4efb3ac9815a8 Author: Christine Caulfield <ccaulfie@redhat.com> Date: Wed Sep 10 09:00:35 2008 +0100 cman: honour the dirty flag on a node we haven't seen before The dity-node code used to check if a node had been down before honouring the dirty flag, this was to prevent nodes already in the cluster from kicking each other out at a transition. This had the problem that it could not detect if a new node joined that already had state (eg a new cluster started up in a split network). So, now we also check the 'first_trans' flag in the transition message so that we know when the node has newly joined a multi-node cluster. For more information see bz#460909 Signed-off-by: Christine Caulfield <ccaulfie@redhat.com> :100644 100644 087448d... 77cbf19... M cman/daemon/ais.c :100644 100644 f7fd269... 162e8be... M cman/daemon/commands.c commit a67ddce0f321b800b68362bb96b5cf20081b483a Author: Bob Peterson <rpeterso@redhat.com> Date: Tue Sep 9 16:57:22 2008 -0500 GFS2: sync buffers to disk when rewriting superblock bz 461290 GFS2: mount during fsck protections not working. When gfs2_fsck is run, it is supposed to rewrite the locking protocol in the superblock to "fsck_xxxx" (e.g. "fsck_dlm") to prevent all cluster nodes from mounting the file system while gfs2_fsck is running. The data was being written out, but the buffers were not synched to disk. That created a timing window where processes could still mount the file system. This was uncovered by the gfs2_fsck_stress test. This fix syncs the buffers to disk before continuing. Note that this still does not prevent users from running gfs2_fsck on file systems that are still mounted, but that is the way it has always been in the past. :100644 100644 b706375... e3c437b... M gfs2/libgfs2/buf.c commit a7f790217bb6914f91d698b481021fb22a923aea Author: David Teigland <teigland@redhat.com> Date: Mon Sep 8 14:10:15 2008 -0500 groupd: send and check version messages fix bz 457104 Don't try to resend these messages (we seem to get TRY_AGAIN back from cpg a lot for them). They are non-essential, and we don't want them to interfere with the existing behavior. Signed-off-by: David Teigland <teigland@redhat.com> :100644 100644 869cdb3... f8a4e84... M group/daemon/cpg.c commit 94832c3e09fe8ed376733cb6ecf446d6b22efd66 Author: Christine Caulfield <ccaulfie@redhat.com> Date: Fri Sep 5 14:06:02 2008 +0100 cman: initialise key_filename variable. Tho' I thought the loader was supposed to do this. Signed-off-by: Christine Caulfield <ccaulfie@redhat.com> :100644 100644 65a29b8... 4878810... M cman/daemon/cmanccs.c commit 7040e494c6208f5f01ef8457f81e99464373b0b3 Author: Chris Feist <cfeist@redhat.com> Date: Wed Aug 27 13:50:06 2008 -0500 fence: fixed a fence storm with fence_egenera 4.8 - bz#437867 4.7.z - bz#459501 Committed on behalf of Jim Parsons (jparsons@redhat.com) :100644 100644 6970a13... 30607fe... M fence/agents/egenera/fence_egenera.pl commit a012dc47f024f327029865073a41afd573a4b5d0 Author: Lon Hohberger <lhh@redhat.com> Date: Tue Sep 2 11:33:18 2008 -0400 cman: Fix qdiskd file descriptor leak Patch from Sean E. Millichamp <sean at bruenor dot org> rhbz#460645 :100644 100644 6c591f3... 6839c95... M cman/qdisk/disk.c commit 75695e0c5cdd2511aef1b52a46dbf69ff95869dc Author: Bob Peterson <rpeterso@redhat.com> Date: Thu Aug 28 14:40:29 2008 -0500 GFS2: Make gfs2_fsck accept UNLINKED metadata blocks bz 460327 Originally, GFS2 did not use a block type of 2 in the bitmaps, so it was considered invalid. However, GFS2 now uses that block type to indicate unlinked metadata blocks. This allows for cases where an inode is unlinked on one node while still open on another node. This fix changes gfs2_fsck so that it ignores these blocks (eventually the file system will reclaim them) rather than reporting them as errors. :100644 100644 28d37e3... 2a2cf4e... M gfs2/fsck/pass5.c commit 78722d4068c7f2810a43615c69591e9e6fb9b9a4 Author: Christine Caulfield <ccaulfie@redhat.com> Date: Thu Aug 28 15:12:15 2008 +0100 cman: Allow a recently left node to join cleanly. If a node leaves cleanly and then joins within the corosync totem timeout then odd things can happen and the nodeslist can get inconsistent. With the rest of the cluster stack on top this is probably quite hard to do I suspect. Signed-off-by: Christine Caulfield <ccaulfie@redhat.com> :100644 100644 6728335... f7fd269... M cman/daemon/commands.c commit e7ccca48f51ad98c3e0420fed25b742377890bac Author: Fabio M. Di Nitto <fdinitto@redhat.com> Date: Thu Aug 28 14:45:57 2008 +0200 ccs: deal with xml file format special case when talking about specific xpath queries, writing: <clusternode name="node4" votes="1" nodeid="4"><fence>.. is not the same as writing: <clusternode name="node4" votes="1" nodeid="4"> <fence> fix possible memory overflow in ccsd. It is impossible to exploit this overflow for anything useful since it's used at the very beginning of the startup process when literally nothing is running and it causes the XML parser to crash. ccsd did never show this issue because it was using a pre-allocated buffer and it was always big enough to hold the data (even when we were writing more than our calculated size). Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com> :100644 100644 5fcaaa0... e2def86... M ccs/daemon/cnx_mgr.c commit e4b12524d8b99edff1fac8c6680aa4fd047dec9f Author: Fabio M. Di Nitto <fdinitto@redhat.com> Date: Thu Aug 28 11:36:11 2008 +0200 rgmanger: fix handling of VIP v6 when using ip to handle ipv6 address, we need to speficify netmask on add and remove operations, the same way is done in ipv4 code. Fix bugzilla: #459582 Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com> :100644 100644 112c5b2... 245dcf5... M rgmanager/src/resources/ip.sh commit 7087a7d5e8c9601a9f405ee71befa3db90256481 Author: David Teigland <teigland@redhat.com> Date: Wed Aug 27 11:29:20 2008 -0500 init.d/cman: use fence_tool -m for two node clusters bz 460190 Use the new fence_tool -m option in the cman init script for two node clusters. This delays fence_tool join when both nodes aren't members. The delay allows initial cluster partitions (due to badly configured network/switches) to converge before starting fencing. Signed-off-by: David Teigland <teigland@redhat.com> :100644 100644 7c86f82... b2106d3... M cman/init.d/cman.in commit 41a69f04aeaf9aa3f38c899bf55495f04c19831c Author: David Teigland <teigland@redhat.com> Date: Tue Aug 26 15:50:49 2008 -0500 fence_tool: new option to delay before join bz 460190 Certain network/switch settings cause nodes to form partitioned clusters when they start up. Add code to better cope with these initial partitions. The network partitions are a particular problem for two_node clusters where a node has quorum when it starts up on its own. This adds a new fence_tool option -m, e.g. fence_tool join -m <seconds>. It causes fence_tool to delay the join by up to <seconds> to allow all nodes in cluster.conf to become cluster members. This allows openais on the nodes to all see each other before starting the fence domain. So we join the domain *after* the nodes merge into a single cluster. If we joined the domain *before* the cluster partition merged, then nodes end up being fenced unnecessarily. (This is a similar idea to post_join_delay; a delay that gives us time to determine that a node in an unknown state is actually ok and doesn't require fencing.) Signed-off-by: David Teigland <teigland@redhat.com> :100644 100644 7a4fe27... 60d47eb... M fence/fence_tool/fence_tool.c :100644 100644 73867cb... 2a35240... M fence/man/fence_tool.8 commit 672db2d7e03d61f4f64a51fdbde4e887054e7839 Author: Marek 'marx' Grac <mgrac@redhat.com> Date: Wed Aug 27 14:37:31 2008 +0200 [FENCE] Fix #237266 - LPAR/HMC fence agent Minor fix (thanks to brking@us.ibm.com) in get_power_status(). If the state is not 'Running' then it is considered off, originally function returns undefined value in specific cases (like panic on machine - 'Error'). :100755 100755 2c343a3... 8b81dbb... M fence/agents/lpar/fence_lpar.py commit c164f9dc1298a25af7a7398313a64b5e88a8280e Author: David Teigland <teigland@redhat.com> Date: Thu Aug 21 13:55:52 2008 -0500 groupd: send and check version messages for better compatibility with and upgrades to cluster3 eventually. bz 457104 - cluster3 nodes that are trying to detect old cluster2 nodes will be helped by the cluster2 groupd sending its version. - if someone adds a cluster2 node to a cluster3 cluster (which is not supposed to be done), detect the newer version and exit Signed-off-by: David Teigland <teigland@redhat.com> :100644 100644 3ac42f9... 869cdb3... M group/daemon/cpg.c :100644 100644 b842905... b56dd92... M group/daemon/gd_internal.h :100644 100644 e02c925... 8e278c5... M group/daemon/main.c commit 3d592cd8d21b3bd14587b899364686b9586a8111 Author: Lon Hohberger <lhh@redhat.com> Date: Fri Aug 22 14:01:33 2008 -0400 rgmanager: Ancillary fix for rhbz #453000 See: https://bugzilla.redhat.com/show_bug.cgi?id=453000#c6 :100644 100644 2e0ca03... 112c5b2... M rgmanager/src/resources/ip.sh commit 97b34a12441f5149ccb9d37b29b01db2cb073028 Author: David Teigland <teigland@redhat.com> Date: Thu Aug 21 14:07:50 2008 -0500 fenced: add skip_undefined option fix fix the previous commit bz 459127 Signed-off-by: David Teigland <teigland@redhat.com> :100644 100644 50b9aa2... e73531e... M fence/fenced/main.c commit c9ce9e3c7e6b5eac73ecca416a5fe98f72bbd7aa Author: David Teigland <teigland@redhat.com> Date: Thu Aug 14 11:35:51 2008 -0500 fenced: add skip_undefined option bz 459127 New fenced config option <fence_daemon skip_undefined="1"/> would cause fenced to not do startup fencing of nodes with zero defined fence methods. The primary use for this option would be asymmetric cluster configs (http://sources.redhat.com/cluster/wiki/asymmetric_cluster_config) where client/small/spectator nodes do not join the fence domain and have no fencing configured. The problem we have is that even with no fencing configured, and not joining the fence domain, other nodes may attempt (and fail) to fence these client nodes during startup fencing. Signed-off-by: David Teigland <teigland@redhat.com> :100644 100644 033f447... a41dd03... M fence/fenced/agent.c :100644 100644 f45be11... 90bfdcb... M fence/fenced/fd.h :100644 100644 9e2d901... 50b9aa2... M fence/fenced/main.c commit 2c84dad158099d33d5f68f0416fa9389ddd8a1b6 Author: Christine Caulfield <ccaulfie@redhat.com> Date: Wed Aug 20 09:51:32 2008 +0100 cman: Return quorum state in a STATECHANGE notification This should remove a potential race condition where quorum changes after the message is received. Signed-off-by: Christine Caulfield <ccaulfie@redhat.com> :100644 100644 9abcccb... 6728335... M cman/daemon/commands.c :100644 100644 1ae8b45... 3771176... M cman/lib/libcman.h commit 58f17ffd05d7333ae45c6a3c21fc87e42bff85e5 Author: David Teigland <teigland@redhat.com> Date: Tue Aug 19 15:50:34 2008 -0500 groupd: ignore nolock gfs fix This commit was missing a call to close(). bz 315741 When starting up, we look for existing, "uncontrolled" gfs file systems in the kernel (which would require the node to be rebooted.) This check needs to ignore nolock fs's. Signed-off-by: David Teigland <teigland@redhat.com> :100644 100644 a32b47d... e02c925... M group/daemon/main.c commit f45d8f5c18f91c8284456b05235798cec90b8918 Author: Fabio M. Di Nitto <fdinitto@redhat.com> Date: Fri Aug 15 19:29:32 2008 +0200 qdisk: fix sysfs path diving Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com> :100644 100644 0f4efa5... 4456e53... M cman/qdisk/scandisk.c commit 7d8d69254991e5661284e329ac57df540519b298 Author: Fabio M. Di Nitto <fdinitto@redhat.com> Date: Fri Aug 15 17:23:59 2008 +0200 qdisk: allow scan of sysfs to dive into first level symlinks Some kernels populate /sys/block with symlinks when others don't. Allow sysfs to dive into symlinks at the top level to handle both. Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com> :100644 100644 820f63e... 0f4efa5... M cman/qdisk/scandisk.c commit 45e9ef23b075edda61908071e635fb0850431b46 Author: Christine Caulfield <ccaulfie@redhat.com> Date: Tue Aug 12 15:14:36 2008 +0100 cman: fix uninitialised variable warning. Signed-off-by: Christine Caulfield <ccaulfie@redhat.com> :100644 100644 c219642... b07ff41... M cman/qdisk/main.c commit 9420fea55723aff303dea245df6f47371da30e2a Author: Lon Hohberger <lhh@redhat.com> Date: Fri Aug 8 12:07:03 2008 -0400 [rgmanager] Re-fix permissions bits broken in last commit Remove execute flag from file permissions. :100755 100644 4f709e9... 4f709e9... M rgmanager/src/resources/ASEHAagent.sh :100755 100644 b38ad7c... b38ad7c... M rgmanager/src/resources/SAPDatabase :100755 100644 0ef2fd3... 0ef2fd3... M rgmanager/src/resources/SAPInstance :100755 100644 0573a38... 0573a38... M rgmanager/src/resources/apache.sh :100755 100644 b953d01... b953d01... M rgmanager/src/resources/clusterfs.sh :100755 100644 6d82698... 6d82698... M rgmanager/src/resources/fs.sh :100755 100644 2e0ca03... 2e0ca03... M rgmanager/src/resources/ip.sh :100755 100644 b19a8ac... b19a8ac... M rgmanager/src/resources/lvm.sh :100755 100644 b7b0fcf... b7b0fcf... M rgmanager/src/resources/mysql.sh :100755 100644 685eefd... 685eefd... M rgmanager/src/resources/named.sh :100755 100644 81cbd3d... 81cbd3d... M rgmanager/src/resources/netfs.sh :100755 100644 0f8a1bd... 0f8a1bd... M rgmanager/src/resources/nfsclient.sh :100755 100644 cd5bfdf... cd5bfdf... M rgmanager/src/resources/nfsexport.sh :100755 100644 6df0c1a... 6df0c1a... M rgmanager/src/resources/nfsserver.sh :100755 100644 1f17a4e... 1f17a4e... M rgmanager/src/resources/openldap.sh :100755 100644 5a72700... 5a72700... M rgmanager/src/resources/oracledb.sh :100755 100644 3716be6... 3716be6... M rgmanager/src/resources/postgres-8.sh :100755 100644 bb7862e... bb7862e... M rgmanager/src/resources/samba.sh :100755 100644 4129811... 4129811... M rgmanager/src/resources/script.sh :100755 100644 3a3e3a8... 3a3e3a8... M rgmanager/src/resources/service.sh :100755 100644 73087c1... 73087c1... M rgmanager/src/resources/smb.sh :100755 100644 2cc814b... 2cc814b... M rgmanager/src/resources/tomcat-5.sh :100755 100644 bf6af90... bf6af90... M rgmanager/src/resources/vm.sh commit 7fd32c1fefa9fca0d8d76f6072787ab9abbf8c41 Author: Lon Hohberger <lhh@redhat.com> Date: Thu Aug 7 17:12:57 2008 -0400 [rgmanager] Fix resource agent metadata and un-break 'make check' target :100644 100755 4f709e9... 4f709e9... M rgmanager/src/resources/ASEHAagent.sh :100644 100644 8462c4a... a585e7e... M rgmanager/src/resources/Makefile :100644 100755 5e2aa83... b38ad7c... M rgmanager/src/resources/SAPDatabase :100644 100755 b84a967... 0ef2fd3... M rgmanager/src/resources/SAPInstance :100644 100644 d219fdd... 727d138... M rgmanager/src/resources/apache.metadata :100644 100755 0573a38... 0573a38... M rgmanager/src/resources/apache.sh :100644 100755 b953d01... b953d01... M rgmanager/src/resources/clusterfs.sh :100644 100755 6d82698... 6d82698... M rgmanager/src/resources/fs.sh :100644 100755 2e0ca03... 2e0ca03... M rgmanager/src/resources/ip.sh :100644 100644 fdf2621... 3759063... M rgmanager/src/resources/lvm.metadata :100644 100755 29e3687... b19a8ac... M rgmanager/src/resources/lvm.sh :100644 100644 9bd1341... edb3744... M rgmanager/src/resources/mysql.metadata :100644 100755 b7b0fcf... b7b0fcf... M rgmanager/src/resources/mysql.sh :100644 100644 3cd96fa... 64442b1... M rgmanager/src/resources/named.metadata :100644 100755 685eefd... 685eefd... M rgmanager/src/resources/named.sh :100644 100755 81cbd3d... 81cbd3d... M rgmanager/src/resources/netfs.sh :100644 100755 0f8a1bd... 0f8a1bd... M rgmanager/src/resources/nfsclient.sh :100644 100755 cd5bfdf... cd5bfdf... M rgmanager/src/resources/nfsexport.sh :100644 100755 6df0c1a... 6df0c1a... M rgmanager/src/resources/nfsserver.sh :100644 100644 40d03be... 9bd7193... M rgmanager/src/resources/openldap.metadata :100644 100755 1f17a4e... 1f17a4e... M rgmanager/src/resources/openldap.sh :100644 100755 d018267... 5a72700... M rgmanager/src/resources/oracledb.sh :100644 100644 1dfb6f7... e243dd9... M rgmanager/src/resources/postgres-8.metadata :100644 100755 3716be6... 3716be6... M rgmanager/src/resources/postgres-8.sh :100644 100644 66cf307... 51354d6... M rgmanager/src/resources/ra-api-1-modified.dtd :100644 100644 b67d076... 1e03fcd... M rgmanager/src/resources/samba.metadata :100644 100755 bb7862e... bb7862e... M rgmanager/src/resources/samba.sh :100644 100755 4129811... 4129811... M rgmanager/src/resources/script.sh :100644 100755 06438b7... 3a3e3a8... M rgmanager/src/resources/service.sh :100644 100755 73087c1... 73087c1... M rgmanager/src/resources/smb.sh :100644 100644 3fdd35e... 021bef7... M rgmanager/src/resources/tomcat-5.metadata :100644 100755 2cc814b... 2cc814b... M rgmanager/src/resources/tomcat-5.sh :100644 100755 bf6af90... bf6af90... M rgmanager/src/resources/vm.sh commit 65ce950ec30018a5d08fcb74ae8d933942ee9237 Author: Fabio M. Di Nitto <fdinitto@redhat.com> Date: Mon Aug 11 09:33:09 2008 +0200 rgmanager: unbreak locking in clulib commit 1edb73bd098500d459c16797da2377a59f1ef180 introduced a set of checks for read/write operations. the error checks in cman.c where wrong and caused endless loops in rgmanager startup. fix those checks by making them "dumb" since we don't really care about the result of the operation directly, but other bits of code will take care of those. Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com> :100644 100644 4e18aa8... 1d15d3e... M rgmanager/src/clulib/cman.c commit a64697b2ae09f196e016f0ab7bdf592cbdfcd852 Author: Bob Peterson <rpeterso@redhat.com> Date: Fri Aug 8 15:38:29 2008 -0500 mkfs.gfs2: should have an optional fs size parm bz 450764 This patch fixes two problems with the previous patch for an optional "blocks" parameter to mkfs.gfs2. The bugs are: (1) If the blocks specified is too big, it gave a wrong message. This fixes the message and prints out what the numbers are (to help the user get it right). (2) If the number of blocks was specified, the device size was reported incorrectly. :100644 100644 38af2b9... 8aa9c39... M gfs2/mkfs/main_mkfs.c commit 9a37dd3dee9819b8105916139a81e3070323e0b0 Author: Fabio M. Di Nitto <fdinitto@redhat.com> Date: Thu Aug 7 10:37:13 2008 +0200 cman: make sure not to umount configfs when there are other users Fix bugzilla: #457991 Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com> :100644 100644 cc0618a... 7c86f82... M cman/init.d/cman.in commit 35d6cd1658c743c9e0419a4fd9acd54397558490 Author: Ryan O'Hara <rohara@redhat.com> Date: Fri Aug 1 15:14:15 2008 -0500 ip.sh: add sleeptime parameter Allow user to specify amount of time to sleep after removing and IP address ('stop' command). The sleeptime parameter is specified in number of seconds. Default is 10 seconds. Setting sleeptime to zero will result in no sleep. :100644 100644 e4c13d7... 2e0ca03... M rgmanager/src/resources/ip.sh
Attachment:
signature.asc
Description: This is a digitally signed message part.