Skip to content

Commit

Permalink
Ignore NTP leap second file expired syslog (sonic-net#16347)
Browse files Browse the repository at this point in the history
What is the motivation for this PR?
Recently testcase fails with the syslog error:
2024 Dec 30 15:13:59.746932 str3-7260cx3-acs-14 ERR ntpd[64974]: CLOCK: leapsecond file ('/usr/share/zoneinfo/leap-seconds.list'): expired less than 3 days ago

How did you do it?
Ignore this syslog error for now.
  • Loading branch information
wsycqyz authored Jan 6, 2025
1 parent 6d966ff commit 169c7be
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,9 @@ r, ".* ERR sshd\[\d*\]: auth fail.*"
# ignore NTP nss_tacplus error, which will happen when reload config, because NTPD will invoke getpwnap API but nss_tacplus will re-render during reload config
r, ".* ERR ntpd\[\d*\]: nss_tacplus: .*"

# ignore leap second file NTP daemon (ntpd) is using has passed its expiration date
r, ".* ERR ntpd\[\d*\]:.*leapsecond file ('/usr/share/zoneinfo/leap-seconds.list'): expired.*"

# Ignore auditd error
r, ".* ERR auditd\[\d*\]: Error receiving audit netlink packet \(No buffer space available\)"
r, ".* ERR audisp-tacplus: tac_connect_single: connection failed with.*Interrupted system call"
Expand Down

0 comments on commit 169c7be

Please sign in to comment.