From b93f6528f77284198ccf974355558f64d6ea7a57 Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Tue, 2 Mar 2010 06:58:46 -0500 Subject: 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. --- src/responder/nss/nsssrv.c | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'src/responder/nss') diff --git a/src/responder/nss/nsssrv.c b/src/responder/nss/nsssrv.c index 1b55baf6d..06e8bfe98 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) -- cgit