Skip to content

Commit

Permalink
For NTPsec, ignore error about statistics directory not existing (son…
Browse files Browse the repository at this point in the history
…ic-net#10502)

NTPsec by default wants to log statistics to a file (or at least check
to see that the statistics directory exists, even if no logging is
enabled). To match the behavior we had with NTP where no logging is
enabled, don't configure the statistics directory for NTPsec, and ignore
any errors about it not existing.

Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com>
  • Loading branch information
saiarcot895 authored Oct 26, 2023
1 parent ecb01e0 commit 8aa3100
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -186,3 +186,6 @@ r, ".* ERR syncd\d*#syncd.*SAI_API_UNSPECIFIED:sai_bulk_object_get_stats.*"

# https://msazure.visualstudio.com/One/_workitems/edit/25018599
r, ".* ERROR: Failed to parse lldp age.*"

# NTPsec always expects the statistics directory to be available, but for now, we don't need NTP stats to be logged
r, ".* ERR ntpd.*: statistics directory .* does not exist or is unwriteable, error No such file or directory"

0 comments on commit 8aa3100

Please sign in to comment.