Commit graph

27470 commits

Author SHA1 Message Date
renovate[bot]
91232cc274
Update module golang.org/x/crypto to v0.53.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-09 10:06:18 +00:00
Jan Rodák
3e6de5ffd7
Merge pull request #28854 from bit-hope/some-improvements-for-cmd-podman
Some improvements for cmd/podman
2026-06-09 12:02:22 +02:00
Paul Holzinger
77939c6d07
Merge pull request #28884 from podman-container-tools/renovate/golang.org-x-sync-0.x
Update module golang.org/x/sync to v0.21.0
2026-06-09 11:56:45 +02:00
Jan Rodák
0859e28ba6
Merge pull request #28845 from bit-hope/fix-podman-inspect-type-all
fix: handle multiple networks in 'podman inspect --type=all'
2026-06-09 11:47:03 +02:00
Matt Heon
334e0f23c8
Merge pull request #28820 from crawfordxx/fix-escape-percent-in-systemd-proxy-conf
machine: escape % as %% in proxy values written to systemd unit conf
2026-06-08 11:31:55 -04:00
renovate[bot]
a03c1bf396
Update module golang.org/x/sync to v0.21.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-08 13:08:04 +00:00
zhongchunhe.zch
a351cf32f1 Some improvements for cmd/podman
Signed-off-by: zhongchunhe.zch <zhongchunhe.zch@qq.com>
2026-06-08 20:45:23 +08:00
zhongchunhe.zch
45b9e6f1a2 fix: handle multiple networks in 'podman inspect --type=all'
Signed-off-by: zhongchunhe.zch <zhongchunhe.zch@qq.com>
2026-06-08 20:37:47 +08:00
crawfordxx
d0f97989ad machine: escape % as %% in proxy values written to systemd unit conf
systemd interprets % as specifier characters in unit configuration files
(e.g. %H, %u, %40). Proxy environment variable values that contain
percent-encoded URL characters (such as %40 for @ in usernames) cause
systemd to emit warnings and fail to parse the generated
/etc/systemd/system.conf.d/default-env.conf:

  system.conf.d/default-env.conf:2: Failed to resolve specifiers in
  HTTP_PROXY=http://user%40example.com@proxy:3128

Fix by adding a bash variable substitution that doubles every % to %%
before writing to the systemd unit conf files. The profile.d and
environment.d destinations do not need this escaping and continue to
use the original value.

Fixes #28698

Signed-off-by: crawfordxx <crawfordxx@users.noreply.github.com>
2026-06-06 12:04:48 +08:00
Mario Loriedo
138879058b
Merge pull request #28843 from kolyshkin/should-include-tests
ci: fix validate-source checks vs stale labels
2026-06-05 19:23:44 +02:00
Mario Loriedo
3ab25801a8
Merge pull request #28867 from ashley-cui/relauto
Release automation: update org location
2026-06-05 19:04:41 +02:00
Paul Holzinger
312fed2bc9
Merge pull request #28872 from l0rd/update-repo-in-pwsh
Update the GitHub org from which releases are pulled in PowerShell scripts
2026-06-05 19:00:23 +02:00
Mario Loriedo
ff9f192f4d Update gh org from which releases are pulled in pswh scripts
Use https://api.github.com/repos/podman-container-tools/podman/releases.

That may eventually fix
https://github.com/podman-container-tools/podman/issues/28850 based on
https://docs.github.com/en/actions/concepts/security/github_token:

> The token's permissions are limited to the repository that contains your
> workflow.

Signed-off-by: Mario Loriedo <mario.loriedo@gmail.com>
2026-06-05 18:35:41 +02:00
Paul Holzinger
fd9ca9d1f6
Merge pull request #28862 from podman-container-tools/renovate/actions-checkout-6.x
[skip-ci] Update actions/checkout action to v6.0.3
2026-06-05 18:15:22 +02:00
Paul Holzinger
486bacd3e4
Merge pull request #28335 from axel7083/refactor/quadlet-applications
refactor: podman quadlet sub-command
2026-06-05 17:55:51 +02:00
Brent Baude
ca780164e5
Merge pull request #28869 from podman-container-tools/renovate/github.com-mattn-go-sqlite3-1.x
Update module github.com/mattn/go-sqlite3 to v1.14.45
2026-06-05 08:48:09 -05:00
Ashley Cui
c0f582d734 Release automation: update org location
containers -> podman-container-tools

Signed-off-by: Ashley Cui <acui@redhat.com>
2026-06-05 09:22:33 -04:00
renovate[bot]
2b079d8f69
Update module github.com/mattn/go-sqlite3 to v1.14.45
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-05 12:55:53 +00:00
Giuseppe Scrivano
2c7acfbbdb
Merge pull request #28866 from Luap99/test-login-logout
test/e2e: fix flake in login tests and small cleanup
2026-06-05 14:45:29 +02:00
Paul Holzinger
1eda0cfbb4
test/e2e: fix flake in login tests
By default we run tests in parallel so when we mount test/certs with the
":Z" option it means only one container can read it, depending on the
startup times this can mean the container fails to start. I observed
this error in a CI run:

level=fatal msg="open /certs/domain.crt: permission denied"

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2026-06-05 13:06:26 +02:00
Paul Holzinger
88a32272b7
test/e2e: do not call out to htpasswd/cp in registry tests
Because we use hard coded names anyway we might as well skip the extra
command execution here that happened for each test.

Just inline a valid htpasswd line. Also remove the extra sync call,
there is no reason whatsoever for this file to be synced.

For cp there is also no reason at all to call an external command. Worse
the command also was never checked for errors.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2026-06-05 13:02:17 +02:00
Paul Holzinger
65abd4ea6c
Merge pull request #28865 from podman-container-tools/renovate/macos-26.x
Update dependency macos to v26
2026-06-05 12:08:06 +02:00
renovate[bot]
821ab5493a
Update dependency macos to v26
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-04 22:49:32 +00:00
renovate[bot]
dbd7b4c138
[skip-ci] Update actions/checkout action to v6.0.3
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-04 19:13:23 +00:00
Brent Baude
93bc51e7cc
Merge pull request #28858 from mheon/danishprakash_to_maintainer
Move Danish Prakash to Maintainer
2026-06-04 14:03:56 -05:00
Miloslav Trmač
31544e1f10
Merge pull request #28852 from l0rd/more-gh-token-in-webrequest
Set permissions for win installer CI job
2026-06-04 18:50:29 +02:00
Paul Holzinger
8502475211
Merge pull request #28840 from Luap99/governance
Governance: better define github permission setup
2026-06-04 16:39:22 +02:00
Matt Heon
fe3695b78d Move Danish Prakash to Maintainer
Given his continued contributions and valuable support with PRs,
issue triage, and code review, this is well-deserved.

Signed-off-by: Matt Heon <mheon@redhat.com>
2026-06-04 10:30:27 -04:00
Paul Holzinger
0cb16919b3
Merge pull request #28819 from podman-container-tools/renovate/github.com-shirou-gopsutil-v4-4.x
Update module github.com/shirou/gopsutil/v4 to v4.26.5
2026-06-04 15:20:46 +02:00
Mario Loriedo
9c7ad74ede Set permissions for win installer CI job
Explicitly set `content: read` permissions so that the GITHUB_TOKEN type
have permissions to "Get a release".

Fixes https://github.com/podman-container-tools/podman/issues/28850

Signed-off-by: Mario Loriedo <mario.loriedo@gmail.com>
2026-06-04 12:25:24 +02:00
Jan Rodák
5992898b3b
Merge pull request #28708 from podman-container-tools/renovate/zizmorcore-zizmor-action-0.x
[skip-ci] Update zizmorcore/zizmor-action action to v0.5.6
2026-06-04 11:09:17 +02:00
renovate[bot]
23ebddbee1
[skip-ci] Update zizmorcore/zizmor-action action to v0.5.6
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-04 09:01:31 +00:00
Paul Holzinger
3caa80eb73
Merge pull request #28848 from jelly/dont-mention-martinpitt
packit: Stop notifying martinpitt for Cockpit test failures
2026-06-03 21:22:26 +02:00
Kir Kolyshkin
d05c113acd ci: fix validate-source checks vs stale labels
When the validate-source job is re-run manually after adding a label,
it uses stale labels (from the "pull_request" event that originally
triggered it), and so the steps that check labels don't see new labels.

Fix by querying the labels live (similar to how it was done before
commits 6e597af6dc and 1da154117c).

Note the logic differs slightly between hack/ci/make-and-check-size.sh
and hack/ci/pr-should-include-tests. This is because
pr-should-include-tests is also executed locally as well as on non-PRs,
while make-and-check-size is run strictly in CI for PRs only.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2026-06-03 11:44:07 -07:00
Jelle van der Waa
60f8d2fd2f packit: Stop notifying martinpitt for Cockpit test failures
Martin left Red Hat and is no longer active in Cockpit development.

Signed-off-by: Jelle van der Waa <jvanderwaa@redhat.com>
2026-06-03 20:38:20 +02:00
Paul Holzinger
2d369caca7
Merge pull request #28823 from inknos/run-4472
machine: share virtiofs systemd unit generation
2026-06-03 19:13:51 +02:00
Paul Holzinger
fab963e01c
Merge pull request #28693 from kolyshkin/change-label
bump selinux to v1.15.1, use SetProcessKind
2026-06-03 18:42:58 +02:00
Paul Holzinger
394af2ebad
Governance: rename Github -> GitHub
As suggested by Tom, by rename Github to the more common spelling
GitHub.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2026-06-03 18:40:09 +02:00
Paul Holzinger
8ba16c8567
Governance: better define github permission setup
Define the team rules we already used before, this makes it explicitly
how the users should be given their access.
In short we should add users to the github teams and not add them
individually to the repos.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2026-06-03 18:39:37 +02:00
renovate[bot]
fff499b14a
Update module github.com/shirou/gopsutil/v4 to v4.26.5
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-03 16:07:56 +00:00
Paul Holzinger
5e0df74d6d
Merge pull request #28847 from pksadiq/docs-systemd-fix-typo
docs(podman-systemd.unit.5.md): fix a typo
2026-06-03 17:57:12 +02:00
Paul Holzinger
55bb61f278
Merge pull request #28844 from nimdrak/rephrase_troubleshooting_docs
docs: redirect version check to GitHub Releases page
2026-06-03 17:36:24 +02:00
Mohammed Sadiq
4af93ba05a docs(podman-systemd.unit.5.md): fix a typo
systemd container user path should be 'users'.  Not 'user'

Signed-off-by: Mohammed Sadiq <sadiq@sadiqpk.org>
2026-06-03 20:46:11 +05:30
Brent Baude
e32fc614df
Merge pull request #28800 from danishprakash/remote-log-path
specgen: move log_path handling over to the server
2026-06-03 08:59:54 -05:00
Matt Heon
fec573f672
Merge pull request #28801 from giuseppe/commit-pause-by-default
cmd, commit: change --pause default to true
2026-06-03 09:43:44 -04:00
Byounguk Lee
5cd4dc4225 docs: redirect version check to latest GitHub release page
The bug reporting instructions previously asked users to compare
their Podman version with the one documented at the top of the README.

This commit updates the issue templates and troubleshooting guide to
point users directly to the latest GitHub release page instead.
Additionally, the obsolete .github/ISSUE_TEMPLATE.md file is removed.

Fixes: #28818

Signed-off-by: Byounguk Lee <nimdrak@gmail.com>
2026-06-03 11:07:10 +00:00
Giuseppe Scrivano
1a76d464fd
cmd, commit: change --pause default to true
Pause the container by default during commit.  It is safer as it
avoids conflicts, and potentially security issues, when another
process is accessing the container rootfs.

Originally this was not done because it was a breaking change and
rootless containers weren't able to use the freezer cgroup controller.
Now that we support only cgroup v2, there is no gap anymore with
root (exotic configurations can still use --pause=false).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2026-06-03 07:28:22 +02:00
Giuseppe Scrivano
1c2a2ffe87
cmd, commit: register shutdown handler to unpause container
When --pause defaults to true, a Ctrl-C during commit would leave the
container paused.  Register a shutdown handler that unpauses the
container on SIGINT/SIGTERM so it is always restored to its running
state.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2026-06-03 07:28:22 +02:00
Giuseppe Scrivano
db804fb1b9
cmd, commit: also pause stopping containers during commit
ContainerStateStopping is still a running state where processes are
active, so it should also be paused during commit.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2026-06-03 07:28:18 +02:00
Danish Prakash
bad0a715ee
specgen: move log_path handling over to the server
log_path is currently set at the client side and is ignored by
the server in a remote session. This leads to either incorrect log_path
being considered by the server or not honored at all. Move the handling
from client to the server, in line with other flags such as log_driver.

Signed-off-by: Danish Prakash <contact@danishpraka.sh>
2026-06-03 09:22:50 +05:30