From 21e3d0b85bd384e277529b3543e50107c0098c39 Mon Sep 17 00:00:00 2001 From: Steve Traylen Date: Sat, 3 Dec 2011 19:38:21 +0100 Subject: [PATCH] Add torque-2.5.7-rhbz#759141-r5167-pbs_server-crash.patch --- ...ue-2.5.7-rhbz#759141-r5167-pbs_server-crash.patch | 12 ++++++++++++ torque.spec | 9 ++++++++- 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 torque-2.5.7-rhbz#759141-r5167-pbs_server-crash.patch diff --git a/torque-2.5.7-rhbz#759141-r5167-pbs_server-crash.patch b/torque-2.5.7-rhbz#759141-r5167-pbs_server-crash.patch new file mode 100644 index 0000000..ec1374b --- /dev/null +++ b/torque-2.5.7-rhbz#759141-r5167-pbs_server-crash.patch @@ -0,0 +1,12 @@ +diff -uNr torque-2.5.7.ORIG/src/server/req_getcred.c torque-2.5.7/src/server/req_getcred.c +--- torque-2.5.7.ORIG/src/server/req_getcred.c 2011-12-03 19:05:46.670461225 +0100 ++++ torque-2.5.7/src/server/req_getcred.c 2011-12-03 19:07:50.013609563 +0100 +@@ -471,7 +471,7 @@ + if(rc) + { + /* FAILED */ +- req_reject(PBSE_SYSTEM, 0, preq, NULL, "munge failure"); ++ /* req_reject(PBSE_SYSTEM, 0, preq, NULL, "munge failure"); */ + return (PBSE_SYSTEM); + } + diff --git a/torque.spec b/torque.spec index f7b7685..7ce53f7 100644 --- a/torque.spec +++ b/torque.spec @@ -3,7 +3,7 @@ %define name torque %define version 2.5.7 #%%define snap 200604251602 -%define release 6 +%define release 7 # The following options are supported: # --with server_name=hostname @@ -107,6 +107,9 @@ Patch4: torque-fix-munge-rhbz#752079-PTII.patch Patch5: torque-rhbz#758740-r5258-dis-close.patch Patch6: torque-rhbz#758740-r5270-dis-array.patch +# https://bugzilla.redhat.com/show_bug.cgi?id=759141 +Patch7: torque-2.5.7-rhbz#759141-r5167-pbs_server-crash.patch + License: OpenPBS and TORQUEv1.1 Group: System Environment/Daemons @@ -147,6 +150,7 @@ popd %patch5 -p0 %patch6 -p0 +%patch7 -p1 %__install -pm 644 %{SOURCE2} %{SOURCE3} %{SOURCE4} %{SOURCE5} %{SOURCE6} %{SOURCE7} . @@ -502,6 +506,9 @@ A simple PAM module to authorize users on PBS MOM nodes with a running job. %changelog +* Sat Dec 3 2011 Steve Traylen - 2.5.7-7 +- Add torque-2.5.7-rhbz#759141-r5167-pbs_server-crash.patch + * Mon Nov 21 2011 Steve Traylen - 2.5.7-6 - Add torque-rhbz#758740-r5258-dis-close.patch and torque-rhbz#758740-r5270-dis-array.patch