21376 Commits

Author SHA1 Message Date
d66b18f5af Merge pull request #21348 from containers/renovate/github.com-docker-docker-25.x
Update module github.com/docker/docker to v25.0.1+incompatible
2024-01-25 15:53:37 +00:00
3531146ae3 Merge pull request #21358 from yselkowitz/c10s
[CI:BUILD] rpm: use go-rpm-macros on RHEL 10
2024-01-25 12:35:32 +00:00
505ed030e6 [CI:BUILD] rpm: use go-rpm-macros on RHEL 10
[NO NEW TESTS NEEDED]

The macros in ELN and c10s have the necessary support.

Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
2024-01-25 06:19:36 -05:00
56cf5b6dff Update module github.com/docker/docker to v25.0.1+incompatible
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-24 19:07:24 +00:00
01b2243e73 Merge pull request #21322 from containers/renovate/github.com-docker-docker-25.x
Update module github.com/docker/docker to v25
2024-01-24 16:07:20 +00:00
3e6bfb6e99 Update module github.com/docker/docker to v25
[NO NEW TESTS NEEDED]

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
2024-01-24 13:21:28 +01:00
73a100e907 Merge pull request #21324 from siretart/pkg-fileserver-buildtags
Restrict building the pkg/fileserver implementation to windows
2024-01-24 10:50:20 +00:00
97cd376e7f Merge pull request #21300 from mheon/deprecate_boltdb
Deprecate BoltDB, preventing creation of new databases.
2024-01-23 22:11:24 +00:00
fb8a7cfcad Merge pull request #21075 from rhatdan/userns1
[CI:DOCS] Warn about whitespace in /etc/subuid and /etc/subgid files
2024-01-23 19:46:55 +00:00
37517d75e8 Merge pull request #21320 from tnk4on/fix-mount-unit-option
Fix Mount Unit Option
2024-01-23 18:07:56 +00:00
cf0b436b96 Deprecate BoltDB, preventing creation of new databases.
This is one of the breaking changes in Podman 5.0: removing the
ability to create new instances of the old Bolt database. This
does not remove support for the database entirely, as existing
Bolt databases will still be usable, but all new installs will
use SQLite after this point - if Bolt is forced by config, we'll
just error.

We don't have plans to outright remove the Bolt code. If that
were to happen, it'd be Podman 6.0 at least, and a significant
enough change it'd warrant a lot of discussion and planning. We
do intend to start winding down support of BoltDB, though, and
new features may be added only to SQLite from here on.

I have added an escape hatch via an undocumented environment
variable that allows us to continue testing BoltDB in CI (and, if
necessary, locally) but I don't want this to be used for any
purpose except continued testing of the old DB to ensure we don't
break it.

Signed-off-by: Matt Heon <mheon@redhat.com>
2024-01-23 12:56:49 -05:00
fcac5044a2 Merge pull request #21312 from albertofaria/no-entrypoint
Allow passing the OCI runtime an empty command
2024-01-23 12:48:52 +00:00
d792cc448e Warn about whitespace in /etc/subuid and /etc/subgid files
Fixes: https://github.com/containers/podman/issues/21071

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2024-01-23 06:09:53 -05:00
5cc83da1c6 Pass the OCI runtime an empty entrypoint when there is no entrypoint
Some OCI runtimes (cf. [1]) may tolerate container images that don't
specify an entrypoint even if no entrypoint is given on the command
line. In those cases, it's annoying for the user to have to pass a ""
argument to podman.

If no entrypoint is given, make the behavior the same as if an empty ""
entrypoint was given.

[1] https://github.com/containers/crun-vm

Signed-off-by: Alberto Faria <afaria@redhat.com>
2024-01-23 10:10:44 +00:00
2e38b9816b Restrict building the pkg/fileserver implementation to windows
This is to avoid p9 dependencies when not building for windows

[NO NEW TESTS NEEDED]

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
2024-01-22 17:54:45 -05:00
d084146864 Merge pull request #21316 from containers/renovate/dawidd6-action-send-mail-3.x
[skip-ci] Update dawidd6/action-send-mail action to v3.10.0
2024-01-22 15:21:13 +00:00
07c877a3ed Merge pull request #21327 from edsantiago/check_farm_docs
[CI:DOCS] podman farm is no longer hidden. Enable doc checks.
2024-01-22 14:48:15 +00:00
17613cc969 podman farm is no longer hidden. Enable doc checks.
Signed-off-by: Ed Santiago <santiago@redhat.com>
2024-01-22 06:55:50 -07:00
1fc34d8e2f Merge pull request #21314 from containers/renovate/github.com-onsi-gomega-1.x
Update module github.com/onsi/gomega to v1.31.1
2024-01-22 10:52:33 +00:00
0e64e107ba Fix Mount Unit Option
Signed-off-by: Shion Tanaka <shtanaka@redhat.com>
2024-01-22 02:41:48 +09:00
660778b2ee [skip-ci] Update dawidd6/action-send-mail action to v3.10.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-20 15:11:30 +00:00
536e0728f0 Merge pull request #21305 from containers/renovate/github.com-opencontainers-image-spec-1.x
Update module github.com/opencontainers/image-spec to v1.1.0-rc6
2024-01-20 12:40:36 +00:00
8d733b6d0e Update module github.com/onsi/gomega to v1.31.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-20 12:39:16 +00:00
d9640cba02 Merge pull request #21299 from containers/renovate/golang.org-x-tools-0.x
Update module golang.org/x/tools to v0.17.0
2024-01-20 12:37:54 +00:00
e37752d5a6 Merge pull request #21297 from rhatdan/apple
Label host volume mounted content in machine as nfs_t
2024-01-20 12:35:23 +00:00
815ae77ab2 Merge pull request #21291 from kaorihinata/main
Ensure podman temp directory is created on Start as well.
2024-01-19 10:58:53 +00:00
a2cc04b155 Update module github.com/opencontainers/image-spec to v1.1.0-rc6
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-19 10:57:39 +00:00
be65b31046 Merge pull request #21018 from containers/renovate/actions-upload-artifact-4.x
[skip-ci] Update actions/upload-artifact action to v4
2024-01-19 10:56:10 +00:00
b22cb209a0 Merge pull request #21303 from baude/varlinkdie
[CI:DOCS]Remove final references to varlink
2024-01-19 02:49:57 +00:00
a0c914c6d9 [CI:DOCS]Remove final references to varlink
[NO NEW TESTS NEEDED]

Signed-off-by: Brent Baude <bbaude@redhat.com>
2024-01-18 16:35:46 -06:00
70c3accf7c Update module golang.org/x/tools to v0.17.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-18 18:58:28 +00:00
34e9146f63 Merge pull request #21290 from containers/renovate/github.com-onsi-gomega-1.x
Update module github.com/onsi/gomega to v1.31.0
2024-01-18 18:57:42 +00:00
75c60d6139 Merge pull request #21295 from sm453/add-makecontainer-error-check
Add missing check for errors returned from SpecGenToOCI to MakeContainer
2024-01-18 18:53:31 +00:00
ce42c9f850 Merge pull request #21233 from edsantiago/quadlet-docs-xref
Quadlet: ensure all keys are documented
2024-01-18 18:45:29 +00:00
75790b42b4 Label host volume mounted content in machine as nfs_t
While this is potentially a security problem, it solves the issues of
users sharing content from the host into containers and attempting to
relabel it. From a security point of view this means all content volume
mounted from the host into the podman machine on apple hypervisor is
read/write from an SELinux point of view if it is volume mounted into
the container. If the user attempts to use :Z or :z it will work and
relabel the content to be only usable bu the specify container.

Helps Fix: https://github.com/containers/podman/issues/21269

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2024-01-18 12:43:16 -05:00
7472bdb161 Ensure podman temp directory is created on Start as well.
`getRuntimeDir()` (which is also responsible for creating TMPDIR if it doesn't exist) was being called on `Init()` but not on `Start()` which meant that after the host was restarted and TMPDIR was wiped, `startHostNetworking()` would try to start gvproxy and immediately bail.

Signed-off-by: kaorihinata <kaori.hinata@gmail.com>
2024-01-18 12:37:13 -05:00
a5612bc540 Quadlet: ensure all keys are documented
New CI validation check: all keys in quadlet.go must be
documented at least once in podman-systemd.unit.5.md.
Adding '// deprecated' next to an enum definition will
exclude said key from the documentation cross-checks.

And, because the md file lists keys in both table and block
form, make sure those all match.

And make sure everything is sorted in lexical order, in
both .go source and in man page.

And add a validation check to make sure it stays that way.

Signed-off-by: Ed Santiago <santiago@redhat.com>
2024-01-18 06:17:57 -07:00
0c3b5e433e quadlet.go: clean up keys
- A number of keys had a "Network" prefix, for historical reasons
  that never panned out ("KeyNetworkGateway"). Remove that prefix
  and remove the two duplicates.

- Three RemapXXX keys were mismatched in case ("UID" vs "Uid").
  Make those consistent.

Signed-off-by: Ed Santiago <santiago@redhat.com>
2024-01-18 06:17:57 -07:00
77389bd05c Add missing check for errors returned from SpecGenToOCI to MakeContainer.
This avoids nil pointer exceptions in the subsequent code that tries to access the runtimeSpec returned from SpecGenToOCI.

[NO NEW TESTS NEEDED]

Signed-off-by: Sebastian Mosbach <sm453@cam.ac.uk>
2024-01-18 11:37:16 +00:00
6226b5669e Update module github.com/onsi/gomega to v1.31.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-18 03:21:14 +00:00
20b22f8f10 Merge pull request #21286 from containers/renovate/golang.org-x-net-0.x
Update module golang.org/x/net to v0.20.0
2024-01-18 03:20:12 +00:00
a0fb4c66b8 Merge pull request #21284 from containers/renovate/github.com-onsi-ginkgo-v2-2.x
Update module github.com/onsi/ginkgo/v2 to v2.14.0
2024-01-18 03:17:27 +00:00
597ff52352 Merge pull request #21264 from cfergeau/applehv
applehv: return socket path from setupAPIForwarding
2024-01-18 02:47:12 +00:00
4c583e7a10 Update module golang.org/x/net to v0.20.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-17 21:15:10 +00:00
e757f7631e Update module github.com/onsi/ginkgo/v2 to v2.14.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-17 20:22:02 +00:00
d38ee1364d Merge pull request #21267 from danishprakash/new-pod-behavior
rm pod with run, create if ctr creation failed with --pod new:
2024-01-17 20:20:52 +00:00
f604693a05 Merge pull request #21282 from containers/renovate/github.com-docker-go-connections-0.x
Update module github.com/docker/go-connections to v0.5.0
2024-01-17 19:56:07 +00:00
f222adbe1a Merge pull request #21281 from containers/renovate/github.com-vbauerster-mpb-v8-8.x
Update module github.com/vbauerster/mpb/v8 to v8.7.2
2024-01-17 19:53:23 +00:00
728e842dbd Update module github.com/docker/go-connections to v0.5.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-17 19:04:52 +00:00
f9a05717a0 Update module github.com/vbauerster/mpb/v8 to v8.7.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-17 18:51:28 +00:00