collect exclude list handling is not always working
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Low
|
Eric MacDonald |
Bug Description
Brief Description
-----------------
If the collect exclude list contains dirs or files that are found in the collect include list then those intended exclude files are not excluded.
Tar favors the include list content over the exclude list content in its include/exclude handling.
Severity
--------
Minor: Some intended excluded files are included when they should not be.
Steps to Reproduce
------------------
run collect
Expected Behavior
------------------
If /var/log/lastlog were in the collect exclude list then it should be excluded
Actual Behavior
----------------
It is not excluded if that same file exists in the include list
Reproducibility
---------------
100%
System Configuration
-------
Any
Branch/Pull Time/Commit
-------
Any prior to the release of a fix for this issue.
Last Pass
---------
Never noticed. Test escape.
Timestamp/Logs
--------------
N/A
Test Activity
-------------
Developer Testing
Workaround
----------
Not easy. maybe remove the offending exclude file before running collect.
description: | updated |
Changed in starlingx: | |
importance: | Undecided → Low |
tags: | added: stx.10.0 stx.tools |
Changed in starlingx: | |
assignee: | nobody → Eric MacDonald (rocksolidmtce) |
Fix proposed to branch: master /review. opendev. org/c/starlingx /utilities/ +/922856
Review: https:/