spiegel_podman/pkg
Giuseppe Scrivano 5b69e7f2ef
rootlessport: drop Pdeathsig in favor of Kill
there is a race condition where the child process is immediately
killed:

[pid 2576752] arch_prctl(0x3001 /* ARCH_??? */, 0x7ffdf612f170) = -1 EINVAL (Invalid argument)
[pid 2576752] access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
[pid 2576752] --- SIGTERM {si_signo=SIGTERM, si_code=SI_USER, si_pid=2576742, si_uid=0} ---
[pid 2576752] +++ killed by SIGTERM +++

this happens because the parent process here really means the "parent
thread".

Since there is no way of running it on the main thread,
let's skip this functionality altogether and use kill(2).

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-02-12 18:48:42 +01:00
..
adapter sigproxy: return after closing the channel 2020-01-31 16:13:00 +01:00
annotations Add ContainerManager annotation to created containers 2019-09-10 09:37:14 +02:00
api Merge pull request #5175 from baude/apiv2events 2020-02-12 13:28:55 +01:00
apparmor apparmor: allow receiving of signals from 'podman kill' 2020-01-24 15:34:47 +01:00
bindings Add test cases to validate remove and list images api. 2020-02-10 12:07:35 -05:00
cgroups Use cgroupv2 super magic from golang.org/x/sys/unix 2020-01-21 16:08:29 +01:00
channelwriter account for varlink calls that dont use more 2019-07-10 08:50:05 -05:00
criu Add helper function to read out CRIU version 2018-10-23 12:52:03 +02:00
ctime Re-add int64 casts for ctime 2019-07-23 15:43:40 -04:00
errorhandling first pass of corrections for golangci-lint 2019-07-10 15:52:17 -05:00
hooks make lint: include unit tests 2020-01-14 10:51:59 +01:00
inspect inspect image healthchecks 2020-01-27 08:36:25 -06:00
kubeutils Remove dependency on kubernetes 2018-03-27 21:55:33 +00:00
logs first pass of corrections for golangci-lint 2019-07-10 15:52:17 -05:00
lookup execuser: look at the source for /etc/{passwd,group} overrides 2019-09-21 22:11:09 +02:00
namespaces namespaces: by default create cgroupns on cgroups v2 2019-11-05 17:29:01 +01:00
netns network: hide EPERM warning when rootless 2019-10-01 08:51:58 +02:00
network display file name of bad cni conf 2020-01-28 16:21:59 -06:00
registrar Update registrar unit tests to match them of cri-o 2019-04-04 08:53:32 +02:00
registries podman: mirror information 2019-12-12 19:53:46 -03:00
resolvconf Use host's resolv.conf if no network namespace enabled 2018-11-27 15:28:09 -05:00
rootless rootless: enable shortcut only for podman 2020-01-29 16:16:36 -06:00
rootlessport rootlessport: drop Pdeathsig in favor of Kill 2020-02-12 18:48:42 +01:00
spec podman: add new option --cgroups=no-conmon 2020-01-16 18:56:51 +01:00
specgen [CI:DOCS]addition of specgen package 2020-02-04 13:46:51 -06:00
sysinfo Setup a reasonable default for pids-limit 4096 2019-10-04 16:09:13 -04:00
systemdgen systemdgen: specify --cgroups=disabled-conmon for --new 2020-01-16 18:59:09 +01:00
timetype make lint: enable gocritic 2020-01-13 14:27:02 +01:00
tracing make lint: include pkg/tracing 2020-01-14 09:54:48 +01:00
trust codespell: spelling corrections 2019-11-13 08:15:00 +11:00
util camelcase: fix lint reports 2020-01-25 09:48:37 +01:00
varlinkapi LibpodAPI.BuildImage: don't require a name for the new image 2020-02-06 17:41:46 -05:00