-
Couldn't load subscription status.
- Fork 41
If std descriptor is bound with regular file, redirect it to pseudo terminal before the checkpoint #24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
if they are redirected to a file.
|
👋 Welcome back inakonechnyy! A progress list of the required criteria for merging this PR into |
|
@Larry-N This change is no longer ready for integration - check the PR body for details. |
Webrevs
|
replace is with binded to pseudo terminal
|
Hi @Larry-N could you accompany the fix with a test case that would demonstrate it? |
|
@Larry-N this pull request can not be integrated into git checkout stdout-restore
git fetch https://git.openjdk.org/crac.git crac
git merge FETCH_HEAD
# resolve conflicts and follow the instructions given by git merge
git commit -m "Merge crac"
git push |
|
Hi @Larry-N do you intend to work on this any further? |
|
Closing this; the underlying problem is in CRIU and should be fixed in CRaC/criu#13 . This PR should be superseded by test-only #132 . |
CRIU restore fail after Checkpoint stdout to file.
Redirecting a stdout to the pipeline doesn't break the restore.
A proposed approach forces the close of stdout, stdin, and stderr file descriptors if they are redirected to the files, on checkpoint resources verification.
Progress
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/crac.git pull/24/head:pull/24$ git checkout pull/24Update a local copy of the PR:
$ git checkout pull/24$ git pull https://git.openjdk.org/crac.git pull/24/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 24View PR using the GUI difftool:
$ git pr show -t 24Using diff file
Download this PR as a diff file:
https://git.openjdk.org/crac/pull/24.diff
Webrev
Link to Webrev Comment