diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2015-11-02 11:41:31 +0100 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2015-11-13 10:55:50 +0100 |
commit | 89530c830ded58c6140cdb34c9de07bf77bb5bc0 (patch) | |
tree | 3377c5ab067444cd127ea145b4753612ff6cae12 /src/confdb | |
parent | 499b60f44ecf7124e1906157bd4fca141f48e8d9 (diff) | |
download | sssd-89530c830ded58c6140cdb34c9de07bf77bb5bc0.tar.gz sssd-89530c830ded58c6140cdb34c9de07bf77bb5bc0.tar.xz sssd-89530c830ded58c6140cdb34c9de07bf77bb5bc0.zip |
SSSD: Add a new option diag_cmd
This option is an optional one that is run when a sbus ping times out
and before a SIGKILL signal is sent.
It is undocumented by default.
diag_cmd (string):
A command that should be run for diagnostic purpose when an sbus timeout
fails. The option value may contain %p which would be expanded for the
process ID of the process that timed out
Example:
pstack %p
This setting would print the stackstrace of the service whose ping timed out.
Default: not set.
Reviewed-by: Petr Cech <pcech@redhat.com>
Diffstat (limited to 'src/confdb')
-rw-r--r-- | src/confdb/confdb.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/confdb/confdb.h b/src/confdb/confdb.h index 37b5fd7c7..0ef7268f9 100644 --- a/src/confdb/confdb.h +++ b/src/confdb/confdb.h @@ -71,6 +71,7 @@ #define CONFDB_MONITOR_DEFAULT_DOMAIN "default_domain_suffix" #define CONFDB_MONITOR_OVERRIDE_SPACE "override_space" #define CONFDB_MONITOR_USER_RUNAS "user" +#define CONFDB_MONITOR_PRE_KILL_CMD "diag_cmd" /* Both monitor and domains */ #define CONFDB_NAME_REGEX "re_expression" |