If std descriptor is bound with regular file, redirect it to pseudo terminal before the checkpoint - #24
If std descriptor is bound with regular file, redirect it to pseudo terminal before the checkpoint#24Larry-N wants to merge 6 commits into
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