do not activate sd_notify support when varlink

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>
This commit is contained in:
baude
2019-08-14 09:29:47 -05:00
parent 3f1657d729
commit e6673012b5
6 changed files with 38 additions and 10 deletions

View File

@ -252,6 +252,10 @@ type RuntimeConfig struct {
EventsLogFilePath string `toml:"-events_logfile_path"`
//DetachKeys is the sequence of keys used to detach a container
DetachKeys string `toml:"detach_keys"`
// SDNotify tells Libpod to allow containers to notify the host
// systemd of readiness using the SD_NOTIFY mechanism
SDNotify bool
}
// runtimeConfiguredFrom is a struct used during early runtime init to help