Daniel J Walsh
0332d42d57
Do not retry on most syscall failures
...
Also we now log at Warning level, so we should see the warnings on retries.
The current code retries on all failures except ECONNREFUSED. We believe
this was a mistake, and should have been retrying on ECONNREFUSED, since this
could change on a retry. On the other hand there are many other errno that
should not be ignored. This PR attempts to use the ERNNO that we assume might
be retryable and not retry on the others.
Fixes: https://github.com/containers/podman/issues/7963
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-12-30 06:40:52 -05:00
Daniel J Walsh
58231b6407
http_proxy is supposed to default to true.
...
In the containers.conf we default to true, but in code and man page
it is defaulted to false. Since Podman wants it defaulted to true
we need to change default and man page to match.
Also fixed the testing for SELinux, which would never succeed on an SELinux box.
Helps fix: https://github.com/containers/podman/pull/8844
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-12-29 08:04:52 -05:00
OpenShift Merge Robot
d47b4bad6d
Merge pull request #391 from rhatdan/completions
...
Add completions for --arch and --os
2020-12-25 03:10:23 +01:00
OpenShift Merge Robot
cfd16b788a
Merge pull request #390 from containers/dependabot/go_modules/github.com/containers/storage-1.24.4
...
Bump github.com/containers/storage from 1.24.3 to 1.24.4
2020-12-25 03:05:07 +01:00
Daniel J Walsh
65d9929a4f
Add completions for --arch and --os
...
--arch and --os have a limited number of options, and these
should be filled in automatically.
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-12-24 06:33:25 -05:00
dependabot-preview[bot]
810202a46d
Bump github.com/containers/storage from 1.24.3 to 1.24.4
...
Bumps [github.com/containers/storage](https://github.com/containers/storage ) from 1.24.3 to 1.24.4.
- [Release notes](https://github.com/containers/storage/releases )
- [Changelog](https://github.com/containers/storage/blob/master/docs/containers-storage-changes.md )
- [Commits](https://github.com/containers/storage/compare/v1.24.3...v1.24.4 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-12-23 16:00:00 -05:00
OpenShift Merge Robot
57e9c853aa
Merge pull request #388 from rhatdan/seccomp1
...
Add support for DOCKER_CONFIG
2020-12-22 11:02:10 -05:00
Daniel J Walsh
4a45b19f07
Merge pull request #389 from rhatdan/VERSION
...
Bump to v0.31.2
2020-12-22 08:06:03 -05:00
Daniel J Walsh
cd0fdfbf43
Moce to v0.31.3-dev
...
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-12-22 08:05:08 -05:00
Daniel J Walsh
ddf4af29c6
Bump to v0.31.2
...
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-12-22 08:04:42 -05:00
Daniel J Walsh
6172fd7db6
Add support for DOCKER_CONFIG
...
DOCKER_CONFIG environment variable is sometimes used to point
to the config.json. The container engines use REGISTRY_AUTH_FILE
for similar functionality. This PR causes programs that use
GetAuthFile to use DOCKER_CONFIG if it set and REGISTRY_AUTH_FILE
is not.
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-12-21 17:07:24 -05:00
OpenShift Merge Robot
eb61713f10
Merge pull request #387 from rhatdan/seccomp1
...
Fix building on non linux platforms
2020-12-21 15:24:57 -05:00
Daniel J Walsh
70d93c6deb
Fix building on non linux platforms
...
Currently this code is not building correctly on darwin builds.
This PR handles non linux platforms correctly.
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-12-21 13:33:12 -05:00
OpenShift Merge Robot
afb2659b2a
Merge pull request #386 from rhatdan/VERSION
...
Switch references of /var/run -> /run
2020-12-21 15:02:54 +00:00
Daniel J Walsh
ec4a98a333
Switch references of /var/run -> /run
...
Systemd is now complaining or mentioning /var/run as a legacy directory.
It has been many years where /var/run is a symlink to /run on all
most distributions, make the change to the default.
Partial fix for https://github.com/containers/podman/issues/8369
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-12-18 06:27:41 -05:00
Daniel J Walsh
33bf5263bc
Merge pull request #384 from rhatdan/VERSION
...
Bump to v0.31.1
2020-12-17 06:03:36 -05:00
Daniel J Walsh
ba74110fcd
Move to v1.31.2-dev
...
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-12-17 06:02:28 -05:00
Daniel J Walsh
72c68af81d
Bump to v1.31.1
...
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-12-17 06:02:08 -05:00
OpenShift Merge Robot
d5f97d9c96
Merge pull request #382 from rhatdan/master
...
Find ociruntime instead of hard coding default
2020-12-16 18:45:35 +00:00
OpenShift Merge Robot
f4af6b1da8
Merge pull request #383 from containers/dependabot/go_modules/github.com/opencontainers/selinux-1.8.0
...
Bump github.com/opencontainers/selinux from 1.7.0 to 1.8.0
2020-12-16 18:40:47 +00:00
dependabot-preview[bot]
60f936e119
Bump github.com/opencontainers/selinux from 1.7.0 to 1.8.0
...
Bumps [github.com/opencontainers/selinux](https://github.com/opencontainers/selinux ) from 1.7.0 to 1.8.0.
- [Release notes](https://github.com/opencontainers/selinux/releases )
- [Commits](https://github.com/opencontainers/selinux/compare/v1.7.0...v1.8.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-12-16 09:14:28 -05:00
Tom Sweeney
e999c045ac
Merge pull request #381 from rhatdan/seccomp1
...
Add pidfd_open syscall by default
2020-12-15 09:55:31 -05:00
Daniel J Walsh
297a9ab8d6
Add pidfd_open syscall by default
...
This syscall will actually allow processes to be more secure, Should be allowed by
default.
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-12-15 05:46:02 -05:00
Daniel J Walsh
44e14b12b9
Find ociruntime instead of hard coding default
...
Users could have any one of the OCI runtimes installed,
code will search for default. This way they do not need
to modify defaults if they have "crun" installed.
Search order will be crun, runc, kata
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-12-15 05:43:45 -05:00
OpenShift Merge Robot
31771c7c1a
Merge pull request #379 from containers/dependabot/go_modules/github.com/onsi/gomega-1.10.4
...
Bump github.com/onsi/gomega from 1.10.3 to 1.10.4
2020-12-09 08:42:56 -05:00
OpenShift Merge Robot
1be4611dce
Merge pull request #378 from containers/dependabot/go_modules/github.com/opencontainers/selinux-1.7.0
...
Bump github.com/opencontainers/selinux from 1.6.0 to 1.7.0
2020-12-09 08:40:56 -05:00
dependabot-preview[bot]
3c27a11cae
Bump github.com/onsi/gomega from 1.10.3 to 1.10.4
...
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega ) from 1.10.3 to 1.10.4.
- [Release notes](https://github.com/onsi/gomega/releases )
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md )
- [Commits](https://github.com/onsi/gomega/compare/v1.10.3...v1.10.4 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-12-09 08:07:52 -05:00
dependabot-preview[bot]
42bb65e542
Bump github.com/opencontainers/selinux from 1.6.0 to 1.7.0
...
Bumps [github.com/opencontainers/selinux](https://github.com/opencontainers/selinux ) from 1.6.0 to 1.7.0.
- [Release notes](https://github.com/opencontainers/selinux/releases )
- [Commits](https://github.com/opencontainers/selinux/compare/v1.6.0...v1.7.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-12-09 08:07:25 -05:00
OpenShift Merge Robot
75d4ba7320
Merge pull request #377 from containers/dependabot/go_modules/github.com/containers/storage-1.24.3
...
Bump github.com/containers/storage from 1.24.2 to 1.24.3
2020-12-08 09:28:29 -05:00
Daniel J Walsh
21dc020ae5
Bump github.com/containers/storage from 1.24.2 to 1.24.3
...
Bumps [github.com/containers/storage](https://github.com/containers/storage ) from 1.24.2 to 1.24.3.
- [Release notes](https://github.com/containers/storage/releases )
- [Changelog](https://github.com/containers/storage/blob/master/docs/containers-storage-changes.md )
- [Commits](https://github.com/containers/storage/compare/v1.24.2...v1.24.3 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-12-08 06:52:29 -05:00
OpenShift Merge Robot
06931f7f1a
Merge pull request #376 from containers/dependabot/go_modules/github.com/containers/image/v5-5.9.0
...
Bump github.com/containers/image/v5 from 5.8.1 to 5.9.0
2020-12-08 05:57:26 -05:00
dependabot-preview[bot]
7ae4a0816c
Bump github.com/containers/image/v5 from 5.8.1 to 5.9.0
...
Bumps [github.com/containers/image/v5](https://github.com/containers/image ) from 5.8.1 to 5.9.0.
- [Release notes](https://github.com/containers/image/releases )
- [Commits](https://github.com/containers/image/compare/v5.8.1...v5.9.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-12-08 05:42:23 -05:00
OpenShift Merge Robot
4ca8b346e9
Merge pull request #374 from containers/dependabot/go_modules/github.com/containers/storage-1.24.2
...
Bump github.com/containers/storage from 1.24.1 to 1.24.2
2020-12-07 16:48:59 -05:00
dependabot-preview[bot]
b635bb1dd5
Bump github.com/containers/storage from 1.24.1 to 1.24.2
...
Bumps [github.com/containers/storage](https://github.com/containers/storage ) from 1.24.1 to 1.24.2.
- [Release notes](https://github.com/containers/storage/releases )
- [Changelog](https://github.com/containers/storage/blob/master/docs/containers-storage-changes.md )
- [Commits](https://github.com/containers/storage/compare/v1.24.1...v1.24.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-12-07 05:46:13 -05:00
Daniel J Walsh
7a054180bd
Merge pull request #373 from rhatdan/libpod.conf
...
Bump to v0.31.0
2020-12-05 06:20:45 -05:00
Daniel J Walsh
04ff834752
Move to v0.31.1-dev
...
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-12-05 06:19:41 -05:00
Daniel J Walsh
1e3f7b6050
Bump to v0.31.0
...
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-12-05 06:19:15 -05:00
OpenShift Merge Robot
a0ff81965b
Merge pull request #370 from rhatdan/crun
...
Switch default runtime from runc to crun
2020-12-04 16:31:22 -05:00
OpenShift Merge Robot
16098c3cca
Merge pull request #371 from mheon/add_volume_plugins
...
Add a volume plugins field to containers.conf
2020-12-04 16:29:28 -05:00
Matthew Heon
33a960773b
Add a volume plugins field to containers.conf
...
We decided that making users explicitly list plugins they wanted
to use was not a bad thing, and greatly simplifies our
implementation. As such, we need a place to do that, and
`containers.conf` is the logical location.
Signed-off-by: Matthew Heon <mheon@redhat.com>
2020-12-04 13:48:24 -05:00
OpenShift Merge Robot
782eaa8e04
Merge pull request #369 from rhatdan/libpod.conf
...
Remove libpod.conf
2020-12-04 09:22:17 -05:00
Daniel J Walsh
f58e310727
Remove libpod.conf
...
We no longer support libpod.conf, remove any code that deals with it.
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-12-04 08:11:31 -05:00
Daniel J Walsh
8618895ac3
Switch default runtime from runc to crun
...
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-12-04 08:06:11 -05:00
Daniel J Walsh
e6415beab9
Merge pull request #366 from rhatdan/VERSION
...
Bump to v0.30.0
2020-11-25 14:04:52 -05:00
Daniel J Walsh
e58b1a19f1
Move to v0.30.1-dev
...
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-11-25 14:03:33 -05:00
Daniel J Walsh
2a0ec0c98f
Bump to v0.30.0
...
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-11-25 14:03:32 -05:00
OpenShift Merge Robot
8576244d95
Merge pull request #365 from rhatdan/VERSION
...
Add ability to set system wide options for slirp4netns
2020-11-25 20:03:17 +01:00
Daniel J Walsh
d568d40354
Add ability to set system wide options for slirp4netns
...
Also fixup some formatting issues in man pages.
Fix generation of multiple man pages.
Partial fix for: https://github.com/containers/podman/issues/7888
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-11-25 13:42:53 -05:00
Daniel J Walsh
77f855fa7c
Merge pull request #362 from rhatdan/VERSION
...
Bump to v0.29.0
2020-11-20 15:35:34 -05:00
Daniel J Walsh
288f076570
Move to v0.29.1-dev
...
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-11-20 15:34:27 -05:00