k3s/pkg
Brad Davidson a18c2efb4c Refactor log and reaper exec to omit MAINPID
Using MAINPID breaks systemd's exit detection, as it stops watching the
original pid, but is unable to watch the new pid as it is not a child
of systemd itself. The best we can do is just notify when execing the child
process.

We also need to consolidate forking into a sigle place so that we don't
end up with multiple levels of child processes if both redirecting log
output and reaping child processes.

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
(cherry picked from commit dc18ef2e51)
2021-10-20 14:36:54 -07:00
..
agent Add containerd ready channel to delay etcd node join 2021-10-20 11:06:12 -07:00
apiaddresses Fix condition for adding kubernetes endpoints (#3941) (#3946) 2021-08-31 19:37:42 +02:00
apis/k3s.cattle.io Update generated code 2019-10-30 19:08:26 -07:00
authenticator Use secrets for node-passwd entries and cleanup 2020-11-05 09:48:53 -07:00
bootstrap Refactor tokens, bootstrap, and cli args 2019-10-30 19:06:49 -07:00
cli Refactor log and reaper exec to omit MAINPID 2021-10-20 14:36:54 -07:00
clientaccess [release-1.21] - Backport Fix storing bootstrap data with empty token string (#3514) 2021-07-13 22:28:38 +02:00
cloudprovider Fix race condition in cloud provider 2021-10-19 10:25:34 +02:00
cluster Display cluster tls error only in debug mode (#4201) 2021-10-13 01:10:54 +02:00
codegen Add support for disabling all staged content 2020-09-14 14:21:37 -07:00
configfilearg Add ability to append to slice during config file merge 2021-04-27 15:59:03 -07:00
containerd AkihiroSuda/containerd-fuse-overlayfs -> containerd/fuse-overlayfs-snapshotter 2021-03-24 10:34:34 -07:00
ctr Build & enable ctr with k3s server 2019-06-30 09:30:25 -07:00
daemons Add containerd ready channel to delay etcd node join 2021-10-20 11:06:12 -07:00
datadir Make program name a variable to be changed at compile time 2020-06-06 16:39:41 -07:00
dataverify Add file verification for data directory 2020-10-06 10:29:27 -07:00
deploy Fix issue where addon checksum was never stored 2021-08-27 10:26:38 -07:00
etcd Add containerd ready channel to delay etcd node join 2021-10-20 11:06:12 -07:00
flock Add Release function for flock 2020-10-06 10:29:27 -07:00
generated Update go.mod for k8s 1.19 2020-08-28 17:18:31 -07:00
kubectl Update Kubernetes to v1.20.0-k3s1 2020-12-08 22:51:34 -08:00
netutil Initial Logging Output Update (#2246) 2020-09-21 09:56:03 -07:00
node Use secrets for node-passwd entries and cleanup 2020-11-05 09:48:53 -07:00
nodeconfig Use config file values in node-args annotation 2021-05-10 14:08:02 -07:00
nodepassword Use secrets for node-passwd entries and cleanup 2020-11-05 09:48:53 -07:00
passwd Use secrets for node-passwd entries and cleanup 2020-11-05 09:48:53 -07:00
rootless rootless: allow kernel.dmesg_restrict=1 2021-03-24 01:03:14 -07:00
rootlessports Initial Logging Output Update (#2246) 2020-09-21 09:56:03 -07:00
server Add containerd ready channel to delay etcd node join 2021-10-20 11:06:12 -07:00
servicelb Add system-default-registry support and remove shared code (#3285) 2021-05-10 15:58:41 -07:00
static Add system-default-registry support and remove shared code (#3285) 2021-05-10 15:58:41 -07:00
token Refactor tokens, bootstrap, and cli args 2019-10-30 19:06:49 -07:00
untar Limit zstd decoder memory 2021-02-17 11:48:03 -08:00
util Minor cleanup on cribbed function 2021-10-20 11:06:12 -07:00
version remove hard coded value 2020-07-09 11:20:06 -07:00