Skip to content

test if the package is not missing any files/directories - #45

Open
milosmalik wants to merge 1 commit into
linux-application-whitelisting:mainfrom
milosmalik:verify-RPM-package
Open

milosmalik wants to merge 1 commit into
linux-application-whitelisting:mainfrom
milosmalik:verify-RPM-package

Conversation

@milosmalik

Copy link
Copy Markdown
Collaborator

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.

Comment thread Sanity/verify-RPM-package/main.fmf Outdated
Comment thread Sanity/verify-RPM-package/main.fmf Outdated
Comment thread Sanity/verify-RPM-package/main.fmf
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.
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

@bachradsusi bachradsusi Aug 24, 2026

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants