summaryrefslogtreecommitdiff
path: root/src/responder/nss
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2010-03-02 06:58:46 -0500
committerStephen Gallagher <sgallagh@redhat.com>2010-03-04 12:41:30 -0500
commitb93f6528f77284198ccf974355558f64d6ea7a57 (patch)
tree01929bc6f168cf770d4188e30208bebec14d578e /src/responder/nss
parent9fb59763bce293c2490e0b9f8e97bb1f74ba0910 (diff)
downloadsssd-b93f6528f77284198ccf974355558f64d6ea7a57.tar.gz
sssd-b93f6528f77284198ccf974355558f64d6ea7a57.tar.bz2
sssd-b93f6528f77284198ccf974355558f64d6ea7a57.zip
Eliminate monitor reconfig
We disabled live reconfiguration a long time ago with the intent of fixing it so that it wasn't completely broken, but we've decided that live updates are too delicate to handle all cases gracefully. For the forseeable future, we will rely on process restart for updating the configuration. Furthermore, we had not completely disabled live updates. It would still attempt to run if we sent a SIGHUP. This has also been eliminated.
Diffstat (limited to 'src/responder/nss')
-rw-r--r--src/responder/nss/nsssrv.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/responder/nss/nsssrv.c b/src/responder/nss/nsssrv.c
index 1b55baf6..06e8bfe9 100644
--- a/src/responder/nss/nsssrv.c
+++ b/src/responder/nss/nsssrv.c
@@ -47,11 +47,8 @@
#define DEFAULT_PWFIELD "*"
-static int service_reload(DBusMessage *message, struct sbus_connection *conn);
-
struct sbus_method monitor_nss_methods[] = {
{ MON_CLI_METHOD_PING, monitor_common_pong },
- { MON_CLI_METHOD_RELOAD, service_reload },
{ MON_CLI_METHOD_RES_INIT, monitor_common_res_init },
{ NULL, NULL }
};
@@ -64,17 +61,6 @@ struct sbus_interface monitor_nss_interface = {
NULL
};
-static int service_reload(DBusMessage *message, struct sbus_connection *conn)
-{
- /* Monitor calls this function when we need to reload
- * our configuration information. Perform whatever steps
- * are needed to update the configuration objects.
- */
-
- /* Send an empty reply to acknowledge receipt */
- return monitor_common_pong(message, conn);
-}
-
static int nss_get_config(struct nss_ctx *nctx,
struct resp_ctx *rctx,
struct confdb_ctx *cdb)