Skip to content

Background the wait for /dev/shm so vserver start can run post-start scripts#36

Merged
stephen-soltesz merged 1 commit into
npad:masterfrom
stephen-soltesz:master
Mar 8, 2017
Merged

Background the wait for /dev/shm so vserver start can run post-start scripts#36
stephen-soltesz merged 1 commit into
npad:masterfrom
stephen-soltesz:master

Conversation

@stephen-soltesz
Copy link
Copy Markdown
Contributor

@stephen-soltesz stephen-soltesz commented Mar 8, 2017

Upon canary testing we discovered that the original version created a live lock: vserver start blocked on the iupui_npad init scripts returning before running the post-start script that mounts /dev/shm/iupui_npad, and the npad initscripts waited for /dev/shm/iupui_npad to be mounted before returning.

This change allows the initscript wait to run in the background, thus preventing the live lock.


This change is Reviewable

Upon canary testing we discovered that the original version created a
live lock: `vserver start` blocked on the iupui_npad init scripts
returning before running the post-start script that mounts
/dev/shm/iupui_npad, and the npad initscripts waited for
/dev/shm/iupui_npad to be mounted before returning.

This change allows the initscript wait to run in the background.
@coveralls
Copy link
Copy Markdown

Coverage Status

Coverage remained the same at 51.905% when pulling 5dbf087 on stephen-soltesz:master into 1d8fd92 on npad:master.

@gfr10598
Copy link
Copy Markdown
Contributor

gfr10598 commented Mar 8, 2017

LGTM

Comment thread doside

(
# Wait until /dev/shm/iupui_npad is mounted by the
# vserver start sequence.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add a comment explaining why it must be this way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants