summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* do not activate sd_notify support when varlinkbaude2019-08-15
| | | | | | | | | add ability to not activate sd_notify when running under varlink as it causes deadlocks and hangs. Fixes: #3572 Signed-off-by: baude <bbaude@redhat.com>
* Merge pull request #3812 from baude/perffix1OpenShift Merge Robot2019-08-15
|\ | | | | performance fix for podman events with large journalds
| * performance fix for podman events with large journaldsbaude2019-08-14
| | | | | | | | | | | | | | | | | | in the case where the host has a large journald, iterating the journal without using a Match is very poor performance. this might be a temporary fix while we figure out why the systemd library does not seem to behave properly. Signed-off-by: baude <bbaude@redhat.com>
* | Merge pull request #3804 from edsantiago/batsOpenShift Merge Robot2019-08-15
|\ \ | | | | | | tests for exit status on podman run --rm
| * | tests for exit status on podman run --rmEd Santiago2019-08-14
|/ / | | | | | | | | | | | | | | ...and on a container killed by 'podman rm -f'. See #3795 Disable when testing podman-remote; see #3808 Signed-off-by: Ed Santiago <santiago@redhat.com>
* | Merge pull request #3807 from QiWang19/inspect_mergeDirOpenShift Merge Robot2019-08-14
|\ \ | | | | | | removMergeDir from inspect result if not mounted
| * | removMergeDir from inspect result if not mountedQi Wang2019-08-13
| | | | | | | | | | | | | | | | | | Remove GraphDriver.Data.MergedDir from the result of podman inspect if the container not mounte. Because the /var/lib/containers/.../merged directory is no longer created by default; it only exists during the scope of podman mount. Signed-off-by: Qi Wang <qiwan@redhat.com>
* | | Merge pull request #3810 from giuseppe/use-cgroupsOpenShift Merge Robot2019-08-14
|\ \ \ | | | | | | | | pkg/cgroups: use DBUS session when rootless
| * | | pkg/cgroups: use DBUS session when rootlessGiuseppe Scrivano2019-08-14
| | |/ | |/| | | | | | | | | | | | | | | | | | | use the DBUS user session when running in rootless mode. Closes: https://github.com/containers/libpod/issues/3801 Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* | | Merge pull request #3809 from chenzhiwei/fix-play-kubeOpenShift Merge Robot2019-08-14
|\ \ \ | |/ / |/| | Fix play kube command in pod yaml
| * | Fix play kube command in pod yamlChen Zhiwei2019-08-14
| |/ | | | | | | Signed-off-by: Chen Zhiwei <zhiweik@gmail.com>
* | Merge pull request #3806 from mheon/hooks_notexist_nonfatalOpenShift Merge Robot2019-08-14
|\ \ | |/ |/| Running Podman with a nonexistent hooks dir is nonfatal
| * Running Podman with a nonexistent hooks dir is nonfatalMatthew Heon2019-08-13
|/ | | | | | | | Even explicitly defined hooks directories may not exist under some circumstances. It's not worth a hard-fail if we hit an ENOENT in these cases. Signed-off-by: Matthew Heon <matthew.heon@pm.me>
* Merge pull request #3772 from haircommander/snapcraftOpenShift Merge Robot2019-08-13
|\ | | | | fork https://github.com/abitrolly/podman
| * Add missing stage-packages in snapcraft.yaml.Jindrich Novy2019-08-13
| | | | | | | | Signed-off-by: Jindrich Novy <jnovy@redhat.com>
| * Add RHEL and SUSE to snap docPeter Hunt2019-08-13
| | | | | | | | Signed-off-by: Peter Hunt <pehunt@redhat.com>
| * start groundwork for adding snapPeter Hunt2019-08-13
| | | | | | | | | | | | by forking https://github.com/abitrolly/podman Signed-off-by: Peter Hunt <pehunt@redhat.com>
* | Merge pull request #3791 from cevich/install_libvarlinkOpenShift Merge Robot2019-08-13
|\ \ | | | | | | Cirrus: Install varlink in VM images
| * | Cirrus: Install varlink on UbuntuChris Evich2019-08-13
| | | | | | | | | | | | Signed-off-by: Chris Evich <cevich@redhat.com>
| * | Cirrus: Install varlink on FedoraChris Evich2019-08-13
| | | | | | | | | | | | Signed-off-by: Chris Evich <cevich@redhat.com>
* | | Merge pull request #3662 from marusak/user_socket_serviceOpenShift Merge Robot2019-08-13
|\ \ \ | | | | | | | | Add user systemd service and socket
| * | | Add user systemd service and socketMatej Marusak2019-08-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This enables user to interact with varlink and create/manage rootless containers through it. Using as: `varlink call unix:/run/user/1000/podman/io.podman/io.podman.ListContainers` Signed-off-by: Matej Marusak <mmarusak@redhat.com>
* | | | Merge pull request #3649 from cevich/brent_is_backOpenShift Merge Robot2019-08-13
|\ \ \ \ | |_|/ / |/| | | Revert "Cirrus: Temp. workaround missing imgprune image"
| * | | Revert "Cirrus: Temp. workaround missing imgprune image"Chris Evich2019-08-12
| |/ / | | | | | | | | | | | | | | | This reverts commit 9b2e98f1e872354f0708a86b59e16b8b86e9f8b2. Signed-off-by: Chris Evich <cevich@redhat.com>
* | | Merge pull request #3794 from ashley-cui/macpkgOpenShift Merge Robot2019-08-13
|\ \ \ | | | | | | | | Homebrew installation in install.md
| * | | Homebrew installation in install.mdAshley Cui2019-08-12
| |/ / | | | | | | | | | | | | | | | Add brew installation instructions to docs & small fix to brew makefile Signed-off-by: Ashley Cui <ashleycui16@gmail.com>
* | | Merge pull request #3797 from mheon/test_events_revertOpenShift Merge Robot2019-08-13
|\ \ \ | | | | | | | | Revert #3745 and fix missing exit code for journald
| * | | Small optimization - only store exit code when nonzeroMatthew Heon2019-08-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | JSON optimizes it out in that case anyways, so don't waste cycles doing an Itoa (and Atoi on the decode side). Signed-off-by: Matthew Heon <matthew.heon@pm.me>
| * | | Fix container exit code with Journald backendMatthew Heon2019-08-12
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | We weren't actually storing this, so we'd lose the exit code for containers run with --rm or force-removed while running if the journald backend for events was in use. Fixes #3795 Signed-off-by: Matthew Heon <matthew.heon@pm.me>
* | | Merge pull request #3607 from cevich/cgroup2_vmOpenShift Merge Robot2019-08-12
|\ \ \ | | | | | | | | Add another Fedora VM with cgroups v2 enabled
| * | | Adjust get_ci_vm.sh for substitutionChris Evich2019-08-12
| | | | | | | | | | | | | | | | Signed-off-by: Chris Evich <cevich@redhat.com>
| * | | Cirrus: Add verification for cgroupv2 imageChris Evich2019-08-12
| | | | | | | | | | | | | | | | Signed-off-by: Chris Evich <cevich@redhat.com>
| * | | Cirrus: Add experimental fedora VM image & testChris Evich2019-08-12
| | | | | | | | | | | | | | | | Signed-off-by: Chris Evich <cevich@redhat.com>
| * | | Cirrus: Minor, use newer Ubuntu base imageChris Evich2019-08-12
| | |/ | |/| | | | | | | Signed-off-by: Chris Evich <cevich@redhat.com>
* | | Merge pull request #3753 from baude/varlinkrequiresrootOpenShift Merge Robot2019-08-12
|\ \ \ | |_|/ |/| | varlink endpoint for containerstats requires root
| * | varlink endpoint for containerstats requires rootbaude2019-08-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | obtaining containerstats requires the use of cgroups. at present, rootless users do not have privileges to create cgroups. add an error message that catches this for the varlink endpoint and return a proper error. Fixes: #3749 Signed-off-by: baude <bbaude@redhat.com>
* | | Merge pull request #3751 from TomSweeneyRedHat/dev/tsweeney/squishnitsOpenShift Merge Robot2019-08-12
|\ \ \ | | | | | | | | Squish a few tpyo nits in container.go doc
| * | | Squish a few tpyo nits in container.go docTomSweeneyRedHat2019-08-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A quick fix a few nits in documentation within cmd/podman/shared/containers.go. This gets the last bits as noted in #3577 Signed-off-by: TomSweeneyRedHat <tsweeney@redhat.com>
* | | | Merge pull request #3789 from giuseppe/cirrus-add-crunOpenShift Merge Robot2019-08-12
|\ \ \ \ | | | | | | | | | | cirrus: run tests with crun
| * | | | tests: disable some tests currently failing when not using runcGiuseppe Scrivano2019-08-12
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
| * | | | containers: look also for 'file not found' in the error messageGiuseppe Scrivano2019-08-12
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
| * | | | cirrus: add tests with crun on Fedora 30Giuseppe Scrivano2019-08-12
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
| * | | | cirrus: install crunGiuseppe Scrivano2019-08-12
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* | | | | Merge pull request #3793 from stefanb2/topic-pr-3788OpenShift Merge Robot2019-08-12
|\ \ \ \ \ | |_|_|_|/ |/| | | | image: add user agent to Docker registry options
| * | | | image: add user agent to Docker registry optionsStefan Becker2019-08-12
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Set the string to "libpod/VERSION" so that we don't use the unspecific default of "Go-http-client/xxx". Fixes #3788 Signed-off-by: Stefan Becker <chemobejk@gmail.com>
* | | | Merge pull request #3786 from giuseppe/fix-rootless-checksOpenShift Merge Robot2019-08-12
|\ \ \ \ | | | | | | | | | | rootless: drop some superflous checks
| * | | | cmd: drop check for euid==0Giuseppe Scrivano2019-08-12
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
| * | | | storage: drop unused geteuid checkGiuseppe Scrivano2019-08-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | it is always running with euid==0 at this point. Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
| * | | | cmd, stats: fix check for rootless modeGiuseppe Scrivano2019-08-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and enable rootless stats when running on cgroups v2. Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
| * | | | oci: drop check for euid==0Giuseppe Scrivano2019-08-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | we are always running with euid==0 at this point. Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>