[Bug 280929] mail/dovecot move bogus warning "Time moved forwards" to debug

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 19 Aug 2024 16:07:29 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280929

            Bug ID: 280929
           Summary: mail/dovecot move bogus warning "Time moved forwards"
                    to debug
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ler@FreeBSD.org
          Reporter: sko@rostwald.de
          Assignee: ler@FreeBSD.org
             Flags: maintainer-feedback?(ler@FreeBSD.org)

Created attachment 252923
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=252923&action=edit
patch that moves the bogus "Time moved forward" warning to debug

Dovecot complains about time moving forward, which seems to be due to a broken
mechanism (on FreeBSD) used to measure timeouts. This warning spams the maillog
up to several hundred times per day.

There's an ongoing thread about this issue in the freebsd forums:
https://forums.freebsd.org/threads/dovecot-time-moved-forwards.82886

In post #33 RypPn points out the offending line in main.c and in post #34
msplsh suggests instead of completely removing/commenting out the line, it
would be more sensible to move it from 'warning' to 'debug'.
This is what this patch does: change the log facility to 'debug' to mute that
bogus message for standard configurations, but keep it in 'debug' for anyone
who might want to debug that issue in the future.

I tested the patch as a local patch in poudriere and it builds fine on
13.3-RELEASE with the quarterly and latest branch.

-- 
You are receiving this mail because:
You are the assignee for the bug.