Date: Mon, 15 Oct 2001 14:40:36 -0200 (BRST) From: Joao Carlos Mendes Luis <jonny@jonny.eng.br> To: FreeBSD-gnats-submit@freebsd.org Subject: bin/31291: newsyslog dealing with daylight savings time Message-ID: <200110151640.f9FGeak72248@roma.coe.ufrj.br>
next in thread | raw e-mail | index | archive | help
>Number: 31291 >Category: bin >Synopsis: newsyslog dealing with daylight savings time >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Oct 15 09:50:00 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Joao Carlos Mendes Luis >Release: FreeBSD 4.4-STABLE i386 >Organization: COPPE/UFRJ >Environment: System: FreeBSD roma.coe.ufrj.br 4.4-STABLE FreeBSD 4.4-STABLE #0: Thu Sep 20 20:35:05 BRT 2001 jonny@roma.coe.ufrj.br:/usr/cvsup/RELENG_4/src/sys/compile/ROMA i386 FreeBSD 4.4-stable >Description: Default newsyslog.conf includes the following line: /var/log/maillog 644 7 * @T00 Z When the local region enters daylight savings time, the first day does not have the first hour, so such hour is invalid. I suppose a similar problem will happen at daylight savings end. >How-To-Repeat: Simulate a first day of a daylight savings station, and run newsyslog. >Fix: Options: - Fix newsyslog to detect daylight savings start/end. - Fix mktime(3) to return a specific error for daylight savings time inexistence. - As a simple and dirty workaround, just change newsyslog.conf. ;-) Sorry no patches. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200110151640.f9FGeak72248>