7268 Commits

Author SHA1 Message Date
5d44534fff Bump to v1.9.3
Signed-off-by: Matthew Heon <mheon@redhat.com>
v1.9.3
2020-05-22 13:34:31 -04:00
123c0f9ce1 Merge pull request #6346 from mheon/release_notes_193
Update release notes for v1.9.3
2020-05-22 18:12:22 +02:00
2478ec3ae2 Update release notes for v1.9.3
Signed-off-by: Matthew Heon <matthew.heon@pm.me>
2020-05-22 11:02:43 -04:00
d48a47acbe Merge pull request #6325 from mheon/noexec_backport
Turn off 'noexec' option by default for named volumes
2020-05-22 16:51:04 +02:00
67812a52ca Turn off 'noexec' option by default for named volumes
We previously enforced this for security reasons, but as Dan has
explained on several occasions, it's not very valuable there
(it's trivially easy to bypass) and it does seriously annoy folks
trying to use named volumes. Flip the default from 'on' to 'off'.

This is a backport from the master branch to v1.9 branch.

Signed-off-by: Matthew Heon <mheon@redhat.com>
2020-05-22 09:50:53 -04:00
c210bb16ff Merge pull request #6282 from rhatdan/pids
[1.9] Fix mountpont in SecretMountsWithUIDGID
2020-05-20 12:38:41 -04:00
70340244b8 Fix mountpont in SecretMountsWithUIDGID
FIPS Mode is failing, because we are attempting to mount the backend
directory from the wrong spot.  The parameter is supposed to be
the container image mountpoint not the runtime directory.

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-05-19 16:35:56 -04:00
e4ded37b8a Merge pull request #6194 from rhatdan/pids
vendor to containers/buildah 1.14.9
2020-05-19 20:37:55 +02:00
a1790be9cb Merge pull request #6267 from baude/varlinkbuild
Fix EOM for SendFile
2020-05-18 21:33:44 +02:00
904ee392f1 Fix EOM for SendFile
To terminate a connection of varlink, say after sending a file, we need to send a message containing a delimiter of ':' so the client knows to hang up.

Fixes: #6237

Signed-off-by: Brent Baude <bbaude@redhat.com>
2020-05-18 12:34:41 -05:00
5bfc145519 Merge pull request #6216 from mheon/release_v1.9.2
Bump to v1.9.2
2020-05-13 12:49:26 -07:00
90557be108 Bump to v1.9.3-dev
Signed-off-by: Matthew Heon <mheon@redhat.com>
2020-05-13 14:16:04 -04:00
de2379a758 Bump to v1.9.2
Signed-off-by: Matthew Heon <mheon@redhat.com>
v1.9.2
2020-05-13 14:15:23 -04:00
ca0617d0e3 Merge pull request #6210 from mheon/release_notes_192
[CI:DOCS] Add release notes for v1.9.2
2020-05-13 10:54:20 -07:00
74c220b394 Add release notes for v1.9.2
Signed-off-by: Matthew Heon <matthew.heon@pm.me>
2020-05-13 10:50:08 -04:00
2cacad0f7b Merge pull request #6198 from haircommander/skip-unified-1.9
[1.9] cgroup: skip unified if we are using v1
2020-05-12 12:38:33 -07:00
0c81e2256c cgroup: skip unified if we are using v1
There exists a chance for a node to be booted in v1, but have reminents of v2. An example is this CRI-O ci run: https://deck-ci.apps.ci.l2s4.p1.openshiftapps.com/view/gcs/origin-federated-results/pr-logs/pull/cri-o_cri-o/3565/test_pull_request_crio_critest_fedora/11243/

We fail because we are incorrectly writing to the unified path, because we are v1. We should not write to the unified path if we are v1

Signed-off-by: Peter Hunt <pehunt@redhat.com>
2020-05-12 14:32:01 -04:00
ef1c5cdc97 vendor to containers/buildah 1.14.9
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-05-12 13:08:23 -04:00
1b3dc66e73 Merge pull request #6175 from vrothberg/1.9-common
[1.9] vendor github.com/containers/common@v0.8.4
2020-05-12 04:59:56 -07:00
7ec6e25aa2 [1.9] vendor github.com/containers/common@v0.8.4
Fixes: #6163
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2020-05-12 12:42:43 +02:00
4a1bb394a2 Merge pull request #6122 from rhatdan/pids
Set pids-limit to 0 on non cgroupv2 rootless systems
2020-05-12 03:21:01 -07:00
811c5dea8d Merge pull request #6180 from mheon/add_hairpin_19
Add HairpinMode to our CNI configs [v1.9]
2020-05-12 03:15:51 -07:00
15500c028a Add HairpinMode to our CNI configs
This may resolve some issues with routing traffic between
containers using the host's IP.

Signed-off-by: Matthew Heon <mheon@redhat.com>
2020-05-11 14:01:44 -04:00
60dc80f9f3 Set pids-limit to 0 on non cgroupv2 rootless systems
Rootless cgroups V1 does not support setting a pids limit.

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-05-11 13:55:28 -04:00
5ac8e15613 Merge pull request #6125 from rhatdan/reset
Update containers/common to v0.8.3
2020-05-08 19:24:27 +02:00
dca6856728 Merge pull request #6102 from rhatdan/makefile
Add command to build podman-remote-static
2020-05-08 15:09:55 +02:00
6b5be634b9 Merge pull request #6095 from rhatdan/old
Set up ulimits for rootless containers.
2020-05-08 13:51:36 +02:00
4e8d074eb1 Merge pull request #6131 from vrothberg/pidfile-1.9
[1.9] add --conmon-pidfile/--cidfile system test
2020-05-08 12:37:03 +02:00
c433e74ad5 [1.9] add --conmon-pidfile/--cidfile system test
Add a system test to make sure that pidfile and cidfile are being
generated.  Podman regressed in master and given 1.9 will be supported
for a while, let's make extra sure we're catching potential on these
flags early.

Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2020-05-08 10:59:43 +02:00
cb7b97ce5e Fix handling of overridden paths from database
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-05-07 18:02:41 -04:00
5c1c7b77ce Add command to build podman-remote-static
CRC Team wants a static podman-remote that it can install on any linux
box.

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-05-07 14:40:31 -04:00
6daf26fe58 Set up ulimits for rootless containers.
Currently we are setting the maximum limits for rootful podman containers,
no reason not to set them by default for rootless users as well

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-05-06 10:46:42 -04:00
e9b178556d Merge pull request #6028 from rhatdan/old
User specified environment after other environments are set
2020-05-01 21:18:04 +02:00
cc4a1ea8d3 User specified environment after other environments are set
Users can not currently override the environment variables set by
--http-proxy

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-04-29 16:09:07 -04:00
b5af022859 Merge pull request #6040 from giuseppe/1.9-rootless
[1.9] rootless: backport two patches
2020-04-29 21:03:20 +02:00
fb51b3b961 Merge pull request #6032 from sujil02/v1.9
Fixes podman save fails when specifying an image using a digest #5234
2020-04-29 17:17:28 +02:00
efe956249e rootless: move ns open before fork
commit 788fdc685b00dee5ccb594bef845204250c4c123 introduced a race
where the target process dies before the child process opens the
namespace files.  Move the open before the fork so if it fails the
parent process can attempt to join a different container instead of
failing.

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
(cherry picked from commit 89d4940a3787ccc871c92950a79347efc0d5c58c)
2020-04-29 16:56:17 +02:00
b3b889d8a2 rootlessport: use two different channels
The same channel is written to by two different goroutines.

Use a different channel for each of them so to avoid writing to a
closed channel.

Closes: https://github.com/containers/libpod/issues/6018

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
(cherry picked from commit 6d545bb2f773ff996ce28e0b6608380206835004)
2020-04-29 16:56:12 +02:00
2f2d05360b Fixes podman save fails when specifying an image using a digest #5234
Adds check to parse normalized name and create docker archive dst reference
for tagged untagged image. Relevant test case added.

Signed-off-by: Sujil02 <sushah@redhat.com>
2020-04-28 18:26:46 -04:00
41853454b0 Merge pull request #6030 from mheon/bump_191
Bump to v1.9.1
2020-04-28 23:56:14 +02:00
37a3aa6c83 Bump to v1.9.1
Signed-off-by: Matthew Heon <mheon@redhat.com>
v1.9.1
2020-04-28 16:29:37 -04:00
5e0e6967c1 Merge pull request #6023 from mheon/release_notes_191
Release notes v1.9.1
2020-04-28 20:23:29 +02:00
558fb5cc7e Merge pull request #5958 from rhatdan/old
Update vendor to containers/common v0.8.2
2020-04-28 18:59:26 +02:00
2a03017ea0 Update release notes for v1.9.1
Signed-off-by: Matthew Heon <matthew.heon@pm.me>
2020-04-28 12:57:33 -04:00
d2c2858018 Merge pull request #6008 from baude/v19hclogs
separate healthcheck and container log paths
2020-04-28 15:20:06 +02:00
4a5fd6ca60 separate healthcheck and container log paths
instead of using the container log path to derive where to put the healthchecks, we now put them into the rundir to avoid collision of health check log files when the log path is set by user.

Fixes: #5915

Signed-off-by: Brent Baude <bbaude@redhat.com>
2020-04-27 16:03:00 -05:00
d45528cb29 Update vendor to containers/common v0.8.2
This will fix a couple of issues caused by the move to containers.conf

If a libpod.conf file still exists,  we will ignore its events_logger
definition and use "file"

If you are running rootless on cgroupsV1 we will default to host cgroupns.

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-04-27 10:57:27 -04:00
ca15a83fe0 Merge pull request #5953 from rhatdan/v1.9
Don't check configuration until user input is applied
2020-04-27 15:20:50 +02:00
e4b4eaae10 Merge pull request #5959 from giuseppe/move-join-child-process
[1.9] rootless: move join namespace inside child process
2020-04-24 11:02:47 +02:00
2efd32f368 rootless: move join namespace inside child process
open the namespace file descriptors inside of the child process.

Closes: https://github.com/containers/libpod/issues/5873

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
(cherry picked from commit 788fdc685b00dee5ccb594bef845204250c4c123)
2020-04-23 21:28:49 +02:00