diff options
author | Stephen Gallagher <sgallagh@redhat.com> | 2009-09-24 08:59:03 -0400 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2009-09-25 09:03:26 -0400 |
commit | 5e2301b8a75d10e5cbbe11e26e5192b894af6ad7 (patch) | |
tree | d5cefda18bde94b4d52f05642c4fd84e7026a8f0 /server/monitor/monitor.c | |
parent | 7716bef4a7515344a7f552011ba458aaf4582e44 (diff) | |
download | sssd-5e2301b8a75d10e5cbbe11e26e5192b894af6ad7.tar.gz sssd-5e2301b8a75d10e5cbbe11e26e5192b894af6ad7.tar.bz2 sssd-5e2301b8a75d10e5cbbe11e26e5192b894af6ad7.zip |
Temporarily disable automatic config file reread
The backends do not honor the reloadConfig SBUS message right now,
so if an admin changes the sssd.conf file, it will update only the
monitor, potentially leaving the SSSD as a whole in a bad state.
This patch will simply comment out monitor_config_file() for the
time being until https://fedorahosted.org/sssd/ticket/91 is fixed.
Diffstat (limited to 'server/monitor/monitor.c')
-rw-r--r-- | server/monitor/monitor.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/server/monitor/monitor.c b/server/monitor/monitor.c index e6b6902e..fa9eb0e8 100644 --- a/server/monitor/monitor.c +++ b/server/monitor/monitor.c @@ -1871,12 +1871,18 @@ int monitor_process_init(struct mt_ctx *ctx, int ret, i; struct sss_domain_info *dom; +#if 0 + This feature is incomplete and can leave the SSSD in a bad state if the + config file is changed while the SSSD is running. + + Uncomment this once the backends are honoring reloadConfig() + /* Watch for changes to the confdb config file */ ret = monitor_config_file(ctx, ctx, config_file, monitor_signal_reconf); if (ret != EOK) { return ret; } - +#endif /* Watch for changes to the DNS resolv.conf */ ret = monitor_config_file(ctx, ctx, RESOLV_CONF_PATH, monitor_update_resolv); |