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
FYI: Fix for issue 3180 (will be done together with #3168) #3181
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jsmeix
added
bug
The code does not do what it is meant to do
blocker
The next ReaR version is not released unless that issue is solved.
labels
Mar 18, 2024
With the changes of this pull request I get
|
jsmeix
added a commit
that referenced
this pull request
Mar 18, 2024
In sbin/rear set TMPDIR to ReaR's TMP_DIR in any case unless in RECOVERY_MODE, see #3167 (comment) Additionally remember what TMPDIR was originally set when ReaR was launched and provide meaningful debug info when ReaR uses a different TMPDIR. Furthermore added the changes from #3181 to fix #3180
jsmeix
changed the title
Fix for issue 3180
FYI: Fix for issue 3180 (will be done together with https://github.com/rear/rear/pull/3168)
Mar 18, 2024
jsmeix
changed the title
FYI: Fix for issue 3180 (will be done together with https://github.com/rear/rear/pull/3168)
FYI: Fix for issue 3180 (will be done together with #3168)
Mar 18, 2024
This one is obsoleted by one part of |
jsmeix
added a commit
that referenced
this pull request
Mar 26, 2024
In usr/sbin/rear set TMPDIR to ReaR's TMP_DIR (within BUILD_DIR) (except in RECOVERY_MODE to avoid failures in "chroot /mnt/local"). This ensures that also for programs that are called by ReaR ReaR will clean up all temporary stuff carefully and completely via the function cleanup_build_area_and_end_program() and it ensures that temporary files from programs that are called by ReaR are sufficiently safe against unwanted access by non-root users via 'mktemp -d' where BUILD_DIR and implicitly TMP_DIR=$BUILD_DIR/tmp has permissions only for root but none for the group or others, see #3167 Furthermore added the changes from #3181 to fix #3180 which is also about BUILD_DIR / TMPDIR related code.
With #3168 merged |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
blocker
The next ReaR version is not released unless that issue is solved.
bug
The code does not do what it is meant to do
won't fix / can't fix / obsolete
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
In sbin/rear do
after the build area was successfully created to fix
#3180
but still before the first possible call
of the 'Error' function to avoid to error out
but leave the build area behind, see
#2633