Skip to content
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

Allow rpmdb_migrate execute rpmdb #1670

Merged
merged 1 commit into from May 9, 2023

Conversation

zpytela
Copy link
Contributor

@zpytela zpytela commented May 4, 2023

There is a chain of commands executed in the rpmdb-migrate service. A command running in the rpmdb_t context need to execute another one in the same context.

The commit addresses the following AVC denial:
type=AVC msg=audit(1682710462.695:1049): avc: denied { execute_no_trans } for pid=361861 comm="rpm" path="/usr/bin/rpmdb" dev="dm-1" ino=1998503 scontext=unconfined_u:unconfined_r:rpmdb_t:s0-s0:c0.c1023 tcontext=system_u:object_r:rpmdb_exec_t:s0 tclass=file permissive=0

Resolves: rhbz#2191724

There is a chain of commands executed in the rpmdb-migrate service.
A command running in the rpmdb_t context need to execute another one
in the same context.

The commit addresses the following AVC denial:
type=AVC msg=audit(1682710462.695:1049): avc:  denied  { execute_no_trans } for  pid=361861 comm="rpm" path="/usr/bin/rpmdb" dev="dm-1" ino=1998503 scontext=unconfined_u:unconfined_r:rpmdb_t:s0-s0:c0.c1023 tcontext=system_u:object_r:rpmdb_exec_t:s0 tclass=file permissive=0

Resolves: rhbz#2191724
@zpytela zpytela merged commit 15953af into fedora-selinux:rawhide May 9, 2023
2 checks passed
@zpytela zpytela deleted the rpmdb-migrate branch May 9, 2023 17:43
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.

None yet

1 participant