diff options
author | Michal Židek <mzidek@redhat.com> | 2015-06-23 18:17:42 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2015-07-02 13:43:02 +0200 |
commit | 0469c14cae927298838e92d5827c803ca694e7e0 (patch) | |
tree | 3842cf76387d02365eebb2b21cc83eb1dc264541 | |
parent | 66615eee77792c1437e309d53b19cfb642eca502 (diff) | |
download | sssd-0469c14cae927298838e92d5827c803ca694e7e0.tar.gz sssd-0469c14cae927298838e92d5827c803ca694e7e0.tar.xz sssd-0469c14cae927298838e92d5827c803ca694e7e0.zip |
MONITOR: Do not report missing file as fatal in monitor_config_file
resolv.conf can be missing during boot. This is not
fatal and we will check for its existence later.
Reviewed-by: Pavel Reichl <preichl@redhat.com>
-rw-r--r-- | src/monitor/monitor.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/monitor/monitor.c b/src/monitor/monitor.c index 1804ad16e..02fd072a9 100644 --- a/src/monitor/monitor.c +++ b/src/monitor/monitor.c @@ -2157,13 +2157,13 @@ static int monitor_config_file(TALLOC_CTX *mem_ctx, err = errno; if (err == ENOENT && ignore_missing) { DEBUG(SSSDBG_MINOR_FAILURE, - "file [%s] is missing. Will not update online status " - "based on watching the file\n", file); + "file [%s] is missing. Will not update online status " + "based on watching the file\n", file); return EOK; } else { - DEBUG(SSSDBG_FATAL_FAILURE, - "Could not stat file [%s]. Error [%d:%s]\n", - file, err, strerror(err)); + DEBUG(SSSDBG_MINOR_FAILURE, + "Could not stat file [%s]. Error [%d:%s]\n", + file, err, strerror(err)); return err; } |