Lines Matching defs:file

84 #define CONF_FILE_PERM_ERROR_MSG "Cannot read config file %s. Please check "\
85 "that the file is accessible only by the "\
1546 const char *file,
1570 /* We will queue the file for update in one second.
1571 * This way, if there is a script writing to the file
1581 "Unable to queue config file update! Exiting.\n");
1610 DEBUG(SSSDBG_CRIT_FAILURE, "Processing config file changes\n");
1626 "Critical error reading inotify file descriptor [%d]: %s\n",
1645 "Critical error reading inotify file descriptor [%d]: %s\n",
1662 /* Some text editors will move a new file on top of the
1666 * new file.
1753 "Could not add inotify watch for file [%s]. Error [%d:%s]\n",
1793 "Could not stat file [%s]. Error [%d:%s]\n",
1795 /* TODO: If the config file is missing, should we shut down? */
1800 /* Parse the configuration file and signal the children */
1804 DEBUG(SSSDBG_CRIT_FAILURE, "Config file changed\n");
1819 "Error: Config file no longer monitored for changes!\n");
1831 /* Monitoring the file descriptor should be global */
1833 /* Set up inotify to monitor the config file for changes */
1858 /* Add the inotify file descriptor to the TEvent context */
1885 "Could not add inotify watch for file [%s]. Error [%d:%s]\n",
1902 const char *file,
1910 ret = stat(file, &file_stat);
1915 "file [%s] is missing. Will not update online status "
1916 "based on watching the file\n", file);
1920 "Could not stat file [%s]. Error [%d:%s]\n",
1921 file, err, strerror(err));
1944 ret = try_inotify(ctx->file_ctx, file, fn);
1951 /* Could not monitor file with inotify, fall back to polling */
1952 ret = monitor_config_file_fallback(mem_ctx, ctx, file, fn, true);
1960 const char *file,
1969 ret = stat(file, &file_stat);
1974 "file [%s] is missing. Will not update online status "
1975 "based on watching the file\n", file);
1980 "Could not stat file [%s]. Error [%d:%s]\n",
1981 file, err, strerror(err));
1992 cb->filename = talloc_strdup(cb, file);
2126 config file is changed while the SSSD is running.
2130 /* Watch for changes to the confdb config file */
2507 _("Specify a non-default config file"), NULL}, \
2604 /* we want a pid file check */
2673 /* Parse config file, fail if cannot be done */
2680 "Configuration file: %s does not exist.\n", config_file);
2682 "Configuration file: %s does not exist.\n", config_file);
2701 /* at this point we are done generating the config file, we may exit