Commit Graph

795 Commits

Author SHA1 Message Date
Tom Sweeney c3a22a01ec Merge pull request #239 from rhafer/libpod_warn
Fix deprecation warnings about libpod.conf and raise log level
2020-07-30 13:58:29 -04:00
Ralf Haferkamp c31f675faf Fix deprecation warnings about libpod.conf and raise log level
"Found deprecated file $HOME/.config/containers/containers.conf,
please remove." was pointing to the wrong file. Should be libpod.conf.
Also the Warning about EventsLogger had the format string args mixed
up.

Additionally raise the log level of these messages to WARN to have them
displayed more prominently.

Signed-off-by: Ralf Haferkamp <rhafer@suse.com>
2020-07-30 14:06:05 +02:00
Daniel J Walsh 09070a3571 Merge pull request #238 from rhatdan/VERSION
Bump to v0.18.0
2020-07-23 04:58:30 -04:00
Daniel J Walsh 36119455b5 Move to v0.18.1-dev
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-07-23 04:57:36 -04:00
Daniel J Walsh 69cbee712a Bump to v0.18.0
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-07-23 04:57:11 -04:00
Daniel J Walsh f7822ea9b1 Merge pull request #237 from QiWang19/pkg-retry
Move retry code to pkg/retry
2020-07-23 04:55:04 -04:00
Qi Wang 423d28c4b7 Move retry code to pkg/etry
Move the retry helper functions to pkg/retry.

Signed-off-by: Qi Wang <qiwan@redhat.com>
2020-07-22 13:15:51 -04:00
Daniel J Walsh d9618d6a3e Merge pull request #232 from containers/dependabot/go_modules/github.com/containers/storage-1.21.2
Bump github.com/containers/storage from 1.21.1 to 1.21.2
2020-07-22 06:31:39 -04:00
Daniel J Walsh df5262a0f5 Merge pull request #233 from rhatdan/VENDOR
Bump to v0.17.1
2020-07-22 05:52:17 -04:00
Daniel J Walsh eacd09cfce Move to v0.17.2-dev
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-07-22 05:50:38 -04:00
Daniel J Walsh 26011402f9 Bump to v0.17.1
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-07-22 05:50:23 -04:00
dependabot-preview[bot] 8862672420 Bump github.com/containers/storage from 1.21.1 to 1.21.2
Bumps [github.com/containers/storage](https://github.com/containers/storage) from 1.21.1 to 1.21.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.21.1...v1.21.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-22 05:49:02 -04:00
Daniel J Walsh 08e2e3dd92 Merge pull request #231 from mheon/fix_rootless_systemd
Ensure that rootless cgroupsv1 will select cgroupfs
2020-07-22 05:43:21 -04:00
Matthew Heon 4229e03e6d Ensure that rootless cgroupsv1 will select cgroupfs
The current logic is that, if Podman was built with the systemd
build flag, we will always select systemd cgroups by default.
Then, if we detect no systemd dbus session, we will swap to
cgroupfs. Problem: there are cases where a systemd dbus session
is available, but systemd cgroups don't work - most notably,
rootless mode on cgroups v1 systems. Special-case this so that we
will not try to force systemd mode and break rootless containers.

Fixes https://github.com/containers/podman/issues/6982

Signed-off-by: Matthew Heon <matthew.heon@pm.me>
2020-07-21 16:15:50 -04:00
Daniel J Walsh 9aab09d8b0 Merge pull request #230 from rhatdan/VERSION
Bump to v0.17.0
2020-07-21 10:40:41 -04:00
Daniel J Walsh 19ce5b9568 Move to v0.17.1-dev
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-07-21 10:39:45 -04:00
Daniel J Walsh 186496d51e Bump to v0.17.0
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-07-21 10:39:24 -04:00
Daniel J Walsh 48e278b7e7 Merge pull request #229 from QiWang19/retry-helpers
Add retry helper functions
2020-07-21 10:38:19 -04:00
Valentin Rothberg 988b089a30 Merge pull request #221 from giuseppe/permit-rootless-cni
rootless: permit custom configuration for cni
2020-07-21 11:46:04 +02:00
Qi Wang 4f2aabb28e Add retry helper functions
Add retry functions to retry on some commands and can be shared by Skopeo, Podman.

Signed-off-by: Qi Wang <qiwan@redhat.com>
2020-07-20 18:14:40 -04:00
Giuseppe Scrivano c230858962 Merge pull request #228 from rhatdan/VERSION
Remove extra lock in Reload function
2020-07-20 13:06:01 +02:00
Daniel J Walsh b6bb9b862f Remove extra lock in Reload function
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-07-19 07:13:12 -04:00
Daniel J Walsh ca4af3dc38 Merge pull request #225 from rhatdan/VERSION
Bump to v0.16.0
2020-07-15 20:46:05 -04:00
Daniel J Walsh 8ea4399afe Move to v0.16.1-dev
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-07-15 20:44:45 -04:00
Daniel J Walsh dc4ee7b197 Bump to v0.16.0
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-07-15 20:44:19 -04:00
Tom Sweeney b0dff4761d Merge pull request #223 from ashley-cui/umask
Add support for Umask
2020-07-15 19:43:44 -04:00
Daniel J Walsh 3e3982860a Merge pull request #224 from QiWang19/default-cfg
Fix config reload race
2020-07-15 18:07:46 -04:00
Qi Wang bf0929d101 Fix config reload race
Fix the config reload race following the comments #219.

Signed-off-by: Qi Wang <qiwan@redhat.com>
2020-07-15 18:06:09 -04:00
Tom Sweeney 10ec91928e Merge pull request #222 from jwhonce/wip/identity
Add support for multiple service destinations
2020-07-15 17:32:11 -04:00
Jhon Honce 4f496fde52 Add support for multiple service destinations
Signed-off-by: Jhon Honce <jhonce@redhat.com>
2020-07-15 14:02:00 -07:00
Ashley Cui 93a6847b2d Add support for Umask
Signed-off-by: Ashley Cui <acui@redhat.com>
2020-07-15 13:59:29 -04:00
Daniel J Walsh adb7b07b73 Merge pull request #220 from containers/dependabot/go_modules/github.com/containers/storage-1.21.1
Bump github.com/containers/storage from 1.21.0 to 1.21.1
2020-07-15 13:56:25 -04:00
Tom Sweeney c333e7fff6 Merge pull request #219 from QiWang19/reload
Add config reload
2020-07-14 16:46:17 -04:00
Qi Wang 4c9e0ba4cd Add config reload
Add Reload() to reload configurations from containers.conf files.

Signed-off-by: Qi Wang <qiwan@redhat.com>
2020-07-14 15:08:18 -04:00
dependabot-preview[bot] e667480c71 Bump github.com/containers/storage from 1.21.0 to 1.21.1
Bumps [github.com/containers/storage](https://github.com/containers/storage) from 1.21.0 to 1.21.1.
- [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.21.0...v1.21.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-07-14 11:00:01 -04:00
Giuseppe Scrivano d6300be2bb rootless: permit custom configuration for cni
I am experimenting with supporting CNI in rootless Podman.  There is
no harm in preparing common to support such case and allow a custom
per-user configuration.

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-07-14 15:43:59 +02:00
Daniel J Walsh d81c776fa7 Merge pull request #218 from containers/dependabot/go_modules/github.com/containers/storage-1.21.0
Bump github.com/containers/storage from 1.20.2 to 1.21.0
2020-07-11 07:36:24 -04:00
dependabot-preview[bot] 1f34f095cd Bump github.com/containers/storage from 1.20.2 to 1.21.0
Bumps [github.com/containers/storage](https://github.com/containers/storage) from 1.20.2 to 1.21.0.
- [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.20.2...v1.21.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-07-10 06:38:21 -04:00
Daniel J Walsh 67d806568e Merge pull request #217 from containers/dependabot/go_modules/github.com/opencontainers/selinux-1.6.0
Bump github.com/opencontainers/selinux from 1.5.2 to 1.6.0
2020-07-10 06:37:14 -04:00
dependabot-preview[bot] 408872dd0f Bump github.com/opencontainers/selinux from 1.5.2 to 1.6.0
Bumps [github.com/opencontainers/selinux](https://github.com/opencontainers/selinux) from 1.5.2 to 1.6.0.
- [Release notes](https://github.com/opencontainers/selinux/releases)
- [Commits](https://github.com/opencontainers/selinux/compare/v1.5.2...v1.6.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-07-08 06:45:15 -04:00
Daniel J Walsh 109bba52a4 Merge pull request #213 from containers/dependabot/go_modules/github.com/onsi/ginkgo-1.14.0
Bump github.com/onsi/ginkgo from 1.13.0 to 1.14.0
2020-07-06 09:28:19 -04:00
dependabot-preview[bot] a75f220a6f Bump github.com/onsi/ginkgo from 1.13.0 to 1.14.0
Bumps [github.com/onsi/ginkgo](https://github.com/onsi/ginkgo) from 1.13.0 to 1.14.0.
- [Release notes](https://github.com/onsi/ginkgo/releases)
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/ginkgo/compare/v1.13.0...v1.14.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-07-06 06:07:51 -04:00
Daniel J Walsh 845196921e Merge pull request #211 from rhatdan/pidslimit
Bump to v0.15.2
2020-07-02 14:32:17 -04:00
Daniel J Walsh 08da5e6f79 Move to v0.15.3-dev
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-07-02 14:30:46 -04:00
Daniel J Walsh d8e815f25d Bump to v0.15.2
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-07-02 14:30:23 -04:00
Daniel J Walsh 6e78bb2c02 Merge pull request #210 from rhatdan/pidslimit
PidsLimit should return 0 if rootless and cgroupfs manager
2020-07-02 14:29:33 -04:00
Daniel J Walsh 17371297f1 PidsLimit should return 0 if rootless and cgroupfs manager
Only return the Pids Limit for container engines running as root or
with cgroupv2 and Systemd as a cgroup manager.

Trying to do this will rootless containers on cgroup V1 is not allowed.

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-07-02 14:17:09 -04:00
Daniel J Walsh 7574609611 Merge pull request #207 from containers/dependabot/go_modules/github.com/opencontainers/runc-1.0.0-rc91
Bump github.com/opencontainers/runc from 1.0.0-rc90 to 1.0.0-rc91
2020-07-02 07:58:53 -04:00
Daniel J Walsh bb40e5b412 Merge pull request #206 from TomSweeneyRedHat/dev/tsweeney/quayloop
Use a loop to go through repos in quay script
2020-07-02 06:24:26 -04:00
dependabot-preview[bot] 062447568d Bump github.com/opencontainers/runc from 1.0.0-rc90 to 1.0.0-rc91
Bumps [github.com/opencontainers/runc](https://github.com/opencontainers/runc) from 1.0.0-rc90 to 1.0.0-rc91.
- [Release notes](https://github.com/opencontainers/runc/releases)
- [Commits](https://github.com/opencontainers/runc/compare/v1.0.0-rc90...v1.0.0-rc91)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2020-07-02 06:24:01 -04:00