dmlb2000 pushed to torque (el5). "Add patch torque-initd-hangs-rhbz-744138.patch"
notifications at fedoraproject.org
notifications at fedoraproject.org
Wed Apr 8 06:04:03 UTC 2015
>From cb579b8d8b0ac6a45071945c08d9f008c6e54c35 Mon Sep 17 00:00:00 2001
From: Steve Traylen <steve.traylen at cern.ch>
Date: Sun, 9 Oct 2011 00:16:39 +0200
Subject: Add patch torque-initd-hangs-rhbz-744138.patch
diff --git a/torque-initd-hangs-rhbz-744138.patch b/torque-initd-hangs-rhbz-744138.patch
new file mode 100644
index 0000000..c0ffbd2
--- /dev/null
+++ b/torque-initd-hangs-rhbz-744138.patch
@@ -0,0 +1,19 @@
+diff -uNr torque-3.0.2.ORIG/contrib/init.d/pbs_server torque-3.0.2/contrib/init.d/pbs_server
+--- torque-3.0.2.ORIG/contrib/init.d/pbs_server 2011-10-09 00:09:29.026651535 +0200
++++ torque-3.0.2/contrib/init.d/pbs_server 2011-10-09 00:12:05.012653474 +0200
+@@ -14,13 +14,11 @@
+ echo "Configuration already exists. Please remove $PBS_SERVERDB to create a new one."
+ exit 1
+ fi
+-
+ $PBS_DAEMON -d $PBS_HOME -t create &
+- while [ ! -r $PBS_SERVERDB ]; do
+- sleep 1
+- done
++ sleep 5
+ killproc pbs_server
+ RET=$?
++
+ }
+
+ start() {
diff --git a/torque.spec b/torque.spec
index 4278f84..1c2c958 100644
--- a/torque.spec
+++ b/torque.spec
@@ -71,7 +71,7 @@
Name: torque
Version: 3.0.2
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: Tera-scale Open-source Resource and QUEue manager
Source0: http://www.clusterresources.com/downloads/%{name}/%{name}-%{version}.tar.gz
Source2: xpbs.desktop
@@ -89,6 +89,9 @@ Source8: config
# https://bugzilla.redhat.com/show_bug.cgi?id=713996
Patch1: torque-munge-size.patch
+# https://bugzilla.redhat.com/show_bug.cgi?id=744138
+Patch2: torque-initd-hangs-rhbz-744138.patch
+
License: OpenPBS and TORQUEv1.1
Group: System Environment/Daemons
URL: http://www.clusterresources.com/products/torque/
@@ -339,6 +342,7 @@ DRMAA is "Distributed Resource Management Application API"
%prep
%setup -q -n torque-%{version}
%patch1 -p 1
+%patch2 -p 1
install -pm 644 %{SOURCE2} %{SOURCE3} %{SOURCE4} %{SOURCE5} \
%{SOURCE6} %{SOURCE8} .
# rm x bit on some documentation.
@@ -786,6 +790,9 @@ fi
%endif
%changelog
+* Sun Oct 9 2011 Steve Traylen <steve.traylen at cern.ch> - 3.0.2-4
+- Add patch torque-initd-hangs-rhbz-744138.patch
+
* Mon Sep 19 2011 Steve Traylen <steve.traylen at cern.ch> - 3.0.2-3
- Add --with-tcp-retry-limit=2 to build, rhbz#738576.
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/torque.git/commit/?h=el5&id=cb579b8d8b0ac6a45071945c08d9f008c6e54c35
More information about the scm-commits
mailing list