[opensm/f18] Remove -B option to opensm on start
Doug Ledford
dledford at fedoraproject.org
Mon Mar 25 21:06:07 UTC 2013
commit ac2064a1ab7be8abbe5b2fe0c63e5c3b4ac69cfd
Author: Doug Ledford <dledford at redhat.com>
Date: Mon Mar 25 17:05:13 2013 -0400
Remove -B option to opensm on start
We need opensm to not go into the background and act like a daemon
for our new launch script, so don't have it do so.
Signed-off-by: Doug Ledford <dledford at redhat.com>
opensm.launch | 6 +++---
opensm.spec | 5 ++++-
2 files changed, 7 insertions(+), 4 deletions(-)
---
diff --git a/opensm.launch b/opensm.launch
index b2bbbde..ba21a71 100644
--- a/opensm.launch
+++ b/opensm.launch
@@ -31,14 +31,14 @@ if [ -n "$GUIDS" ]; then
SUBNET_COUNT=0
for guid in $GUIDS; do
SUBNET_PREFIX=`printf "0xfe800000000000%02d" $SUBNET_COUNT`
- (while true; do $prog -B $prio -g $guid --subnet_prefix $SUBNET_PREFIX; sleep 30; done) &
+ (while true; do $prog $prio -g $guid --subnet_prefix $SUBNET_PREFIX; sleep 30; done) &
let SUBNET_COUNT++
done
elif [ -n "$CONFIGS" ]; then
for config in $CONFIGS; do
- (while true; do $prog -B $prio -F $config; sleep 30; done) &
+ (while true; do $prog $prio -F $config; sleep 30; done) &
done
else
- (while true; do $prog -B $prio; sleep 30; done) &
+ (while true; do $prog $prio; sleep 30; done) &
fi
exit 0
diff --git a/opensm.spec b/opensm.spec
index 3b24d59..e56828e 100644
--- a/opensm.spec
+++ b/opensm.spec
@@ -1,6 +1,6 @@
Name: opensm
Version: 3.3.15
-Release: 5%{?dist}
+Release: 6%{?dist}
Summary: OpenIB InfiniBand Subnet Manager and management utilities
Group: System Environment/Daemons
License: GPLv2 or BSD
@@ -125,6 +125,9 @@ fi
%{_libdir}/lib*.a
%changelog
+* Mon Mar 25 2013 Doug Ledford <dledford at redhat.com> - 3.3.15-6
+- Oops, forgot to remove the -B option to opensm when starting it
+
* Mon Mar 25 2013 Doug Ledford <dledford at redhat.com> - 3.3.15-5
- Drop the old sysv init script
- Fix opensm-launch to restart opensm in a loop. This works around the
More information about the scm-commits
mailing list