test if the package is not missing any files/directories - #45
Open
milosmalik wants to merge 1 commit into
Open
milosmalik wants to merge 1 commit into
milosmalik wants to merge 1 commit into
Conversation
milosmalik
force-pushed
the
verify-RPM-package
branch
from
August 21, 2026 14:00
7fdea68 to
30b1174
Compare
bachradsusi
reviewed
Aug 24, 2026
bachradsusi
reviewed
Aug 24, 2026
bachradsusi
reviewed
Aug 24, 2026
A recently reported customer issue revealed that the /run/fapolicyd directory is flagged as missing by the 'rpm -V' command after starting and stopping the fapolicyd service. The TC reproduces the situation with older builds. The package is fixed now and the 'rpm -V' command does not produce such a misleading message anymore. The TC covers RHEL-186528 and RHEL-186534.
milosmalik
force-pushed
the
verify-RPM-package
branch
from
August 24, 2026 09:32
30b1174 to
af9b4b3
Compare
bachradsusi
reviewed
Aug 24, 2026
| rlAssertNotGrep "missing.*/run/fapolicyd" $rlRun_LOG -i | ||
| rlRun "systemctl start fapolicyd" | ||
| rlRun -s "rpm -Va fapolicyd\*" 0,1 | ||
| rlAssertNotGrep "missing.*/run/fapolicyd" $rlRun_LOG -i |
Member
There was a problem hiding this comment.
What would be a correct case when rpm -Va ... returns 1 and it PASSed at the same time? Is it expected that there's another rpm -V reports (other than "missing ... file") which are considered ok?
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
A recently reported customer issue revealed that the /run/fapolicyd directory is flagged as missing by the 'rpm -V' command after starting and stopping the fapolicyd service. The TC reproduces the situation with older builds.
The package is fixed now and the 'rpm -V' command does not produce such a misleading message anymore.
The TC covers RHEL-186528 and RHEL-186534.