Bug 1655956
| Summary: | Automatically exclude $BUILD_DIR from the backup | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Renaud Métrich <rmetrich> | |
| Component: | rear | Assignee: | Pavel Cahyna <pcahyna> | |
| Status: | CLOSED ERRATA | QA Contact: | David Jež <djez> | |
| Severity: | medium | Docs Contact: | ||
| Priority: | medium | |||
| Version: | 7.6 | CC: | djez, ovasik, pcahyna | |
| Target Milestone: | rc | |||
| Target Release: | --- | |||
| Hardware: | All | |||
| OS: | Linux | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | ||
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1677733 (view as bug list) | Environment: | ||
| Last Closed: | 2019-08-06 13:12:05 UTC | Type: | Bug | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Embargoed: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 1677733 | |||
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2019:2273 |
Description of problem: Usually $BUILD_DIR hosted on /tmp and hence automatically excluded from the backup. When specifying $TMPDIR, $BUILD_DIR was not excluded from the backup. Version-Release number of selected component (if applicable): All How reproducible: Always Steps to Reproduce: 1. Specify a TMPDIR alternate directory in environment or /etc/rear/{local,site}.conf # mkdir /temporary # TMPDIR=/temporary rear mkbackup 2. Check the backup content # tar tzvf /path/to/the/backup.tar.gz | grep "^temporary/rear" Actual results: drwxr-xr-x root/root 0 2018-12-04 10:44 temporary/rear.XXX Expected results: No rear temp directory Additional info: PR submitted upstream: https://github.com/rear/rear/pull/1993