Commit Graph

24456 Commits

Author SHA1 Message Date
openshift-merge-bot[bot] e2e40b4367
Merge pull request #24956 from containers/renovate/setuptools-75.x
chore(deps): update dependency setuptools to ~=75.7.0
2025-01-07 14:29:39 +00:00
renovate[bot] b23349d3bd
chore(deps): update dependency setuptools to ~=75.7.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-07 14:02:54 +00:00
openshift-merge-bot[bot] 601b7e45bf
Merge pull request #24953 from containers/renovate/github.com-shirou-gopsutil-v4-4.x
fix(deps): update module github.com/shirou/gopsutil/v4 to v4.24.12
2025-01-07 14:02:10 +00:00
openshift-merge-bot[bot] a44a760656
Merge pull request #24954 from Luap99/vendor-common
vendor latest c/common from main
2025-01-07 13:37:25 +00:00
openshift-merge-bot[bot] ddc19ff752
Merge pull request #24908 from jmozmoz/machine_restart_after_certificate_installation
Add hint to restart Podman machine to really accept new certificates
2025-01-07 13:15:20 +00:00
Valery Masiutsin dd76034660 Fixing ~/.ssh/identity handling
Signed-off-by: Valery Masiutsin <val.masutin@gmail.com>
2025-01-07 12:36:01 +00:00
Paul Holzinger 1dbd68f061
vendor latest c/common from main
Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2025-01-07 13:35:43 +01:00
renovate[bot] 17a9408c0d
fix(deps): update module github.com/shirou/gopsutil/v4 to v4.24.12
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-07 12:19:04 +00:00
openshift-merge-bot[bot] 52b8f6e369
Merge pull request #24952 from containers/renovate/github.com-opencontainers-runc-1.x
fix(deps): update module github.com/opencontainers/runc to v1.2.4
2025-01-07 12:17:33 +00:00
renovate[bot] 481c608fd4
fix(deps): update module github.com/opencontainers/runc to v1.2.4
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-07 11:02:05 +00:00
openshift-merge-bot[bot] 4f575a1d23
Merge pull request #24945 from containers/renovate/github.com-onsi-gomega-1.x
fix(deps): update module github.com/onsi/gomega to v1.36.2
2025-01-07 11:00:37 +00:00
Giuseppe Scrivano 1e0f03b046
specgen: fix comment
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2025-01-07 11:33:35 +01:00
openshift-merge-bot[bot] b4ef95590b
Merge pull request #24868 from rhatdan/kube
Kube volumes can not contain _
2025-01-07 01:23:05 +00:00
jmozmoz 7a51916e3b Add hint to restart Podman machine to really accept new certificates
Signed-off-by: jmozmoz <joachim.herb@gmx.de>
2025-01-07 00:07:18 +01:00
openshift-merge-bot[bot] e79686ee12
Merge pull request #24675 from gtjoseph/main-pass-hostname-to-netavark
Pass container hostname to netavark
2025-01-06 17:20:07 +00:00
renovate[bot] a445ebde9d
fix(deps): update module github.com/onsi/gomega to v1.36.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-06 16:59:51 +00:00
openshift-merge-bot[bot] 04bc545cb9
Merge pull request #24944 from containers/renovate/github.com-moby-term-0.x
fix(deps): update module github.com/moby/term to v0.5.2
2025-01-06 16:58:06 +00:00
openshift-merge-bot[bot] 5550e1fd83
Merge pull request #24935 from swestersund/patch-1
Fix slirp4netns typo in podman-network.1.md
2025-01-06 16:12:47 +00:00
openshift-merge-bot[bot] 7786378e06
Merge pull request #24899 from Odilhao/pod-shm-size-issue
Add support to ShmSize in Pods with Quadlet
2025-01-06 16:09:49 +00:00
renovate[bot] 2aff249156
fix(deps): update module github.com/moby/term to v0.5.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-06 14:47:04 +00:00
openshift-merge-bot[bot] d12f9d5e89
Merge pull request #24866 from containers/renovate/github.com-docker-docker-27.x
fix(deps): update module github.com/docker/docker to v27.4.1+incompatible
2025-01-06 14:44:32 +00:00
George Joseph 6fa234a5de Pass container hostname to netavark
Passing the hostname allows netavark to include it in DHCP lease
requests which, in an environment where DDNS is used, can cause
DNS entries to be created automatically.

* The current Hostname() function in container.go was updated to
check the new `container_name_as_hostname` option in the
CONTAINERS table of containers.conf.  If set and no hostname
was configured for the container, it causes the hostname to be
set to a version of the container's name with the characters not
valid for a hostname removed.  If not set (the default), the original
behavior of setting the hostname to the short container ID is
preserved.

* Because the Hostname() function can return the host's hostname
if the container isn't running in a private UTS namespace, and we'd
NEVER want to send _that_ in a DHCP request for a container, a new
function NetworkHostname() was added which functions like Hostname()
except that it will return an empty string instead of the host's
hostname if the container is not running in a private UTS namespace.

* networking_common.getNetworkOptions() now uses NetworkHostname()
to set the ContainerHostname member of the NetworkOptions structure.
That member was added to the structure in a corresponding commit in
common/libnetwork/types/network.go.

* Added test to containers_conf_test.go

Signed-off-by: George Joseph <g.devel@wxy78.net>
2025-01-06 07:09:12 -07:00
openshift-merge-bot[bot] 4d5e518baf
Merge pull request #24897 from containers/renovate/github.com-onsi-ginkgo-v2-2.x
fix(deps): update module github.com/onsi/ginkgo/v2 to v2.22.1
2025-01-06 11:33:12 +00:00
Simon Westersund 53e5e402aa Fix slirp4netns typo in podman-network.1.md
Signed-off-by: Simon Westersund <swestersund@users.noreply.github.com>
2025-01-04 20:04:59 +02:00
Odilon Sousa d1a3f96cbf Add support to ShmSize in Pods with Quadlet
This closes #22915

Signed-off-by: Odilon Sousa <osousa@redhat.com>
2024-12-30 12:33:00 -03:00
openshift-merge-bot[bot] d3cd5098f0
Merge pull request #24784 from containers/renovate/github.com-cyphar-filepath-securejoin-0.x
fix(deps): update module github.com/cyphar/filepath-securejoin to v0.3.6
2024-12-23 15:45:18 +00:00
renovate[bot] de829251fc
fix(deps): update module github.com/onsi/ginkgo/v2 to v2.22.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-23 15:02:22 +00:00
openshift-merge-bot[bot] 2af27b15fe
Merge pull request #24862 from containers/renovate/go-golang.org-x-crypto-vulnerability
chore(deps): update module golang.org/x/crypto to v0.31.0 [security]
2024-12-23 14:59:20 +00:00
openshift-merge-bot[bot] c3b13dfc13
Merge pull request #24873 from containers/renovate/go-golang.org-x-net-vulnerability
fix(deps): update module golang.org/x/net to v0.33.0 [security]
2024-12-19 13:00:00 +00:00
openshift-merge-bot[bot] 0642bb1c25
Merge pull request #24861 from Luap99/debian-fixes
Some debian test fixes
2024-12-19 11:42:58 +00:00
renovate[bot] 29c29e215f
chore(deps): update module golang.org/x/crypto to v0.31.0 [security]
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-19 11:42:36 +00:00
renovate[bot] 1b1e0446a5
fix(deps): update module golang.org/x/net to v0.33.0 [security]
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-19 01:35:14 +00:00
openshift-merge-bot[bot] 7ba410aa76
Merge pull request #24760 from Honny1/fix-major-minor-nums
Fix device limitations in `podman-remote update` on remote systems
2024-12-18 14:15:11 +00:00
Daniel J Walsh ecd882f9f7
Kube volumes can not container _
Need to substiture all _ to - for k8s support.

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2024-12-18 09:07:57 -05:00
renovate[bot] cbd650212a
fix(deps): update module github.com/docker/docker to v27.4.1+incompatible
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-18 12:31:46 +00:00
openshift-merge-bot[bot] 08363250ce
Merge pull request #24852 from rhatdan/kube
When generating host volumes for k8s, force to lowercase
2024-12-18 01:32:48 +00:00
openshift-merge-bot[bot] 2d73ca4b14
Merge pull request #24853 from containers/renovate/github.com-cpuguy83-go-md2man-v2-2.x
fix(deps): update module github.com/cpuguy83/go-md2man/v2 to v2.0.6
2024-12-17 18:18:19 +00:00
Paul Holzinger f2f6eb88e9 test/system: fix "podman play --build private registry" error
When running this test on a system without unqualifiedsearch registries
it will fail with a different error causing the test to fail. to avoid
that case define our own registries.conf that defines quay.io as
registry. This should make the test pass in the debian env.

Signed-off-by: Paul Holzinger <git@holzinger.dev>
2024-12-17 17:20:28 +01:00
Paul Holzinger 23d4908c8b test/system: CopyDirectory() do not chown files
If the source dir is owned by another user then the test the chown will
fail assuming we run the tests rootless. This function is only used by
the quadlet tests and for the purpose all we need is to read the files
so the simple fix is remove the chown as this should make the tests pass
on the special debian gating env.

Fixes #24802

Signed-off-by: Paul Holzinger <git@holzinger.dev>
2024-12-17 17:05:47 +01:00
Paul Holzinger 8729725684 test/system: remove system dial-stdio test
This test a pretty much useless, it checks that a connection attempt on
the default socket fails. But this is incorrect as the socket is outside
of the test control as such it might be ready to accept connections as
thus the test can fail locally or as reported here in the debian tests.

Given that a simple connection fails does not add any value I opted to
remove it.

Fixes #24803

Signed-off-by: Paul Holzinger <git@holzinger.dev>
2024-12-17 17:04:17 +01:00
Paul Holzinger 153a975888 shell completion: respect CONTAINERS_REGISTRIES_CONF
Found in debian testing where by default there are no unqualified search
registries installed. As such the test failed as the FIXME said. Now
there is no need for the test to assume anything.

Instead set our own config via CONTAINERS_REGISTRIES_CONF then we can
do exact matches, except that env was not read in the shell completion
code so move some code around to make it read the var in the same way as
podman login/logout.

Signed-off-by: Paul Holzinger <git@holzinger.dev>
2024-12-17 16:29:40 +01:00
renovate[bot] 10d65f30b6
fix(deps): update module github.com/cpuguy83/go-md2man/v2 to v2.0.6
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-16 18:11:07 +00:00
Daniel J Walsh 8b23e6d408
When generating host volumes for k8s, force to lowercase
Fixes: https://github.com/containers/podman/issues/16542

Kubernetes only allows lower case persistent volume names.

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2024-12-16 11:22:22 -05:00
openshift-merge-bot[bot] 3e385eb76a
Merge pull request #24841 from giuseppe/quadlet-enable-test
test: enable newly added test
2024-12-16 15:03:07 +00:00
Giuseppe Scrivano ff9d4e72b0
test: enable newly added test
follow-up for commit 64e94efb95

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2024-12-14 01:54:24 +01:00
openshift-merge-bot[bot] f325054939
Merge pull request #24827 from l0rd/win-installer-patch
Add a Windows Installer patch to avoid unrequested reboots
2024-12-13 19:33:55 +00:00
openshift-merge-bot[bot] 27eb8e4d49
Merge pull request #24832 from cfergeau/version-updates
Update gvproxy and vfkit binaries
2024-12-13 18:49:44 +00:00
openshift-merge-bot[bot] 3cffc6bcaf
Merge pull request #24825 from giuseppe/simplify-systemd-parser
systemd: simplify parser and fix infinite loop
2024-12-13 18:47:03 +00:00
Christophe Fergeau 8b90e3f9c0 vfkit: Use 0.6.0 binary
The go module was update to 0.6.0 but podman is still installing an
older binary. This is not really a problem, but better to use the
latest version.

Signed-off-by: Christophe Fergeau <cfergeau@redhat.com>
2024-12-13 15:32:49 +01:00
Christophe Fergeau 3021dbec7a gvproxy: Use 0.8.1 binary
This fixes a few bugs, notably in the DNS resolution code.

Signed-off-by: Christophe Fergeau <cfergeau@redhat.com>
2024-12-13 15:20:03 +01:00