Skip to content

Conversation

@Luap99
Copy link
Member

@Luap99 Luap99 commented Jun 23, 2025

A recent pasta update changed the selinux rules and we now run pasta under pasta_t and no longer the container_runtime_t type. The pasta type has much stricter type rules on what the file we hand it must be labelled. This test tries to mount the runroot which gets relabeled with the container_file_t type but that means pasta can no longer access its pid file we give it. To fix this test here simply mount a subdir.

see #26473

Does this PR introduce a user-facing change?

None

A recent pasta update changed the selinux rules and we now run pasta
under pasta_t and no longer the container_runtime_t type. The pasta type
has much stricter type rules on what the file we hand it must be
labelled. This test tries to mount the runroot which gets relabeled with
the container_file_t type but that means pasta can no longer access its
pid file we give it. To fix this test here simply mount a subdir.

see containers#26473

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
@Luap99
Copy link
Member Author

Luap99 commented Jun 23, 2025

cc @timcoding1988 This will fix the test problem found in #26341

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jun 23, 2025
@packit-as-a-service
Copy link

[NON-BLOCKING] Packit jobs failed. @containers/packit-build please check. Everyone else, feel free to ignore.

@timcoding1988 timcoding1988 requested review from timcoding1988 and removed request for timcoding1988 June 23, 2025 14:05
Copy link
Member

@lsm5 lsm5 left a comment

Choose a reason for hiding this comment

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

LGTM

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jun 23, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: lsm5, Luap99

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@baude
Copy link
Member

baude commented Jun 23, 2025

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Jun 23, 2025
@openshift-merge-bot openshift-merge-bot bot merged commit 72e8c82 into containers:main Jun 23, 2025
52 of 53 checks passed
@Luap99 Luap99 deleted the pasta-testfix branch June 23, 2025 15:14
@stale-locking-app stale-locking-app bot added the locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. label Sep 22, 2025
@stale-locking-app stale-locking-app bot locked as resolved and limited conversation to collaborators Sep 22, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. release-note-none

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants