kore/include/kore
Joris Vink 3b20cda11c Rework worker startup/privsep config.
Starting with the privsep config, this commit changes the following:

- Removes the root, runas, keymgr_root, keymgr_runas, acme_root and
  acme_runas configuration options.

  Instead these are now configured via a privsep configuration context:

  privsep worker {
      root /tmp
      runas nobody
  }

  This is also configurable via Python using the new kore.privsep() method:

      kore.privsep("worker", root="/tmp", runas="nobody", skip=["chroot"])

Tied into this we also better handle worker startup:

- Per worker process, wait until it signalled it is ready.
- If a worker fails at startup, display its last log lines more clearly.
- Don't start acme process if no domain requires acme.
- Remove each process its individual startup log message in favour
  of a generalized one that displays its PID, root and user.
- At startup, log the kore version and built-ins in a nicer way.
- The worker processes now check things they need to start running
  before signaling they are ready (such as access to CA certs for
  TLS client authentication).
2021-09-07 21:59:22 +02:00
..
acme.h Rework worker startup/privsep config. 2021-09-07 21:59:22 +02:00
curl.h bump copyright year. 2021-01-11 23:46:08 +01:00
hooks.h Move Kore hook functions to kore/hooks.h. 2021-01-11 23:58:26 +01:00
http.h Add the http_pretty_error configuration option. 2020-03-04 08:22:51 +01:00
jsonrpc.h Move header files to include/kore. 2018-03-30 13:45:29 +02:00
kore.h Rework worker startup/privsep config. 2021-09-07 21:59:22 +02:00
pgsql.h bump copyright year. 2021-01-11 23:46:08 +01:00
python_api.h Major Python API improvements. 2021-05-02 00:32:47 +02:00
python_methods.h Rework worker startup/privsep config. 2021-09-07 21:59:22 +02:00
seccomp.h KORE_SECCOMP_FILTER() does not require a semicolumn. 2021-03-23 15:03:47 +01:00
tasks.h Changes to the event loop inside of Kore. 2018-10-09 19:34:40 +02:00