Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
emulab-devel
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
143
Issues
143
List
Boards
Labels
Service Desk
Milestones
Merge Requests
6
Merge Requests
6
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
emulab
emulab-devel
Commits
b326f05e
Commit
b326f05e
authored
Mar 14, 2002
by
Leigh B. Stoller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move eventsys start till after os_setup finishes so that all nodes
have been rebooted (no longer in ISUP state).
parent
62e9aee6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
7 deletions
+12
-7
tbsetup/tbswapin.in
tbsetup/tbswapin.in
+12
-7
No files found.
tbsetup/tbswapin.in
View file @
b326f05e
...
...
@@ -141,13 +141,6 @@ if (system("named_setup")) {
#
}
print
"
Starting the event system.
\n
";
if
(
system
("
eventsys_control start
$pid
$eid
"))
{
print
STDERR
"
*** Failed to start the event system.
\n
";
cleanup
;
exit
(
1
);
}
#
# Since it'll take a while for the nodes to reboot, we'll start now, and
# wait for the os_setup to finish, down below
...
...
@@ -206,6 +199,18 @@ if ($kid == $os_setup_pid) {
exit
(
1
);
}
#
# Okay, start the event system now that we know all the nodes have
# rebooted (os_setup is done). This only takes a moment (puts itself
# in the background), so its not enough of a delay to worry about.
#
print
"
Starting the event system.
\n
";
if
(
system
("
eventsys_control start
$pid
$eid
"))
{
print
STDERR
"
*** Failed to start the event system.
\n
";
cleanup
;
exit
(
1
);
}
# Accounting info.
TBSetExpSwapTime
(
$pid
,
$eid
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment