Skip to content

Mask thermal paths#6074

Merged
openshift-merge-bot[bot] merged 2 commits into
podman-container-tools:mainfrom
giuseppe:mask-thermal-paths
Mar 21, 2025
Merged

Mask thermal paths#6074
openshift-merge-bot[bot] merged 2 commits into
podman-container-tools:mainfrom
giuseppe:mask-thermal-paths

Conversation

@giuseppe

Copy link
Copy Markdown
Contributor

/kind bug

What this PR does / why we need it:

Mask /proc/interrupts and /sys/devices/system/cpu//thermal_throttle by default

Fixes #6073

 /proc/interrupts and /sys/devices/system/cpu/*/thermal_throttle are masked by default

@openshift-ci openshift-ci Bot added do-not-merge/work-in-progress kind/bug Categorizes issue or PR as related to a bug. labels Mar 20, 2025
@packit-as-a-service

Copy link
Copy Markdown

Ephemeral COPR build failed. @containers/packit-build please check.

@giuseppe giuseppe force-pushed the mask-thermal-paths branch from a26646e to f4f8efa Compare March 20, 2025 10:53
giuseppe added a commit to giuseppe/libpod that referenced this pull request Mar 20, 2025
vendor the following dependencies:

- containers/common#2375
- podman-container-tools/buildah#6074

Closes: podman-container-tools#25634

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
@giuseppe giuseppe force-pushed the mask-thermal-paths branch from f4f8efa to 2d3e4dd Compare March 20, 2025 11:41
giuseppe added a commit to giuseppe/libpod that referenced this pull request Mar 20, 2025
vendor the following dependencies:

- containers/common#2375
- podman-container-tools/buildah#6074

Closes: podman-container-tools#25634

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
@giuseppe giuseppe added the No New Tests Allow PR to proceed without adding regression tests label Mar 20, 2025
@giuseppe giuseppe force-pushed the mask-thermal-paths branch from 2d3e4dd to 0e11a5d Compare March 20, 2025 13:28
giuseppe added a commit to giuseppe/libpod that referenced this pull request Mar 20, 2025
vendor the following dependencies:

- containers/common#2375
- podman-container-tools/buildah#6074

Closes: podman-container-tools#25634

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
giuseppe added a commit to giuseppe/libpod that referenced this pull request Mar 20, 2025
vendor the following dependencies:

- containers/common#2375
- podman-container-tools/buildah#6074

Closes: podman-container-tools#25634

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Closes: podman-container-tools#6073

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
@giuseppe giuseppe force-pushed the mask-thermal-paths branch from 0e11a5d to 95fb646 Compare March 21, 2025 07:50
@giuseppe giuseppe marked this pull request as ready for review March 21, 2025 07:51
@giuseppe giuseppe force-pushed the mask-thermal-paths branch from 95fb646 to cbcdff4 Compare March 21, 2025 07:52
@giuseppe

Copy link
Copy Markdown
Contributor Author

@containers/buildah-maintainers ready for review

That is the same configuration used already by Podman.

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>

@lsm5 lsm5 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Do we need to add / update tests?

LGTM as such.

@openshift-ci

openshift-ci Bot commented Mar 21, 2025

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

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

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

The pull request process is described here

Details 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

@giuseppe

Copy link
Copy Markdown
Contributor Author

Do we need to add / update tests?

the tests were added to the c/common change

@lsm5

lsm5 commented Mar 21, 2025

Copy link
Copy Markdown
Contributor

Do we need to add / update tests?

NVM, looks handled in containers/common#2375 . LGTM.

@flouthoc @nalind PTAL.

@rhatdan

rhatdan commented Mar 21, 2025

Copy link
Copy Markdown
Contributor

/lgtm

@openshift-ci openshift-ci Bot added the lgtm label Mar 21, 2025
@openshift-merge-bot openshift-merge-bot Bot merged commit bc4d7eb into podman-container-tools:main Mar 21, 2025
giuseppe added a commit to giuseppe/libpod that referenced this pull request Mar 21, 2025
vendor the following dependencies:

- containers/common#2375
- podman-container-tools/buildah#6074

Closes: podman-container-tools#25634

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
giuseppe added a commit to giuseppe/libpod that referenced this pull request Mar 21, 2025
vendor the following dependencies:

- containers/common#2375
- podman-container-tools/buildah#6074

Closes: podman-container-tools#25634

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
@stale-locking-app stale-locking-app Bot locked as resolved and limited conversation to collaborators Jun 20, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

approved kind/bug Categorizes issue or PR as related to a bug. lgtm locked - please file new issue/PR No New Tests Allow PR to proceed without adding regression tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Mask Linux thermal interrupt info in /proc and /sys

3 participants