mirror of
https://gitlab.com/chrony/chrony.git
synced 2026-01-21 05:10:19 -05:00
log more changes made by chronyc commands
Log important changes from chronyc for auditing purposes. Add log messages for: - loaded symmetric keys and server NTS keys (logged also on start) - modified maxupdateskew and makestep - enabled/disabled local reference mode (logged also on start) - reset time smoothing (logged also on clock steps) - reset sources
This commit is contained in:
@@ -575,7 +575,7 @@ save_keys(void)
|
||||
return;
|
||||
|
||||
error:
|
||||
LOG(LOGS_ERR, "Could not %s server NTS keys", "save");
|
||||
LOG(LOGS_ERR, "Could not %s %s", "save", "server NTS keys");
|
||||
fclose(f);
|
||||
|
||||
if (!UTI_RemoveFile(dump_dir, DUMP_FILENAME, NULL))
|
||||
@@ -649,10 +649,11 @@ load_keys(void)
|
||||
|
||||
fclose(f);
|
||||
|
||||
LOG(LOGS_ERR, "Loaded %s", "server NTS keys");
|
||||
return 1;
|
||||
|
||||
error:
|
||||
LOG(LOGS_ERR, "Could not %s server NTS keys", "load");
|
||||
LOG(LOGS_ERR, "Could not %s %s", "load", "server NTS keys");
|
||||
fclose(f);
|
||||
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user