From owner-freebsd-hackers Sat Jan 20 12:17:44 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.gmx.net (pop.gmx.net [194.221.183.20]) by hub.freebsd.org (Postfix) with SMTP id 03A4737B401 for ; Sat, 20 Jan 2001 12:17:26 -0800 (PST) Received: (qmail 9692 invoked by uid 0); 20 Jan 2001 20:17:24 -0000 Received: from p3ee20aaa.dip.t-dialin.net (HELO speedy.gsinet) (62.226.10.170) by mail.gmx.net (mail09) with SMTP; 20 Jan 2001 20:17:24 -0000 Received: (from sittig@localhost) by speedy.gsinet (8.8.8/8.8.8) id TAA21567 for freebsd-hackers@FreeBSD.org; Sat, 20 Jan 2001 19:43:25 +0100 Date: Sat, 20 Jan 2001 19:43:25 +0100 From: Gerhard Sittig To: freebsd-hackers@FreeBSD.org Subject: Re: how to test out cron.c changes? (was: cvs commit: src/etc crontab) Message-ID: <20010120194325.N253@speedy.gsinet> References: <3A513799.75EAB470@FreeBSD.org> <20010102133239.V253@speedy.gsinet> <20010107170840.G253@speedy.gsinet> <3A5AE490.D251F590@gorean.org> <20010109124044.A16276@mithrandr.moria.org> <3A5B5656.E2AAF0B5@FreeBSD.org> <20010116192601.B253@speedy.gsinet> <20010117184854.G253@speedy.gsinet> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <20010117184854.G253@speedy.gsinet>; from Gerhard.Sittig@gmx.net on Wed, Jan 17, 2001 at 06:48:54PM +0100 Organization: System Defenestrators Inc. Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Jan 17, 2001 at 18:48 +0100, Gerhard Sittig wrote: > > I'm just editing the PR with the cron patches [ ... ] So it finally happened. It's filed as "bin/24485: [PATCH] to make cron(8) handle clock jumps" and got archived at http://www.freebsd.org/cgi/query-pr.cgi?pr=24485 I don't see it as a ready solution but more as a basis for further discussion if needed or considered useful. Up to now there was only the reference to "cvs diff -r1.3 -r1.4 $OPENBSDTREE/cron.c". Now there's an isolated DST part of what's different between OpenBSD and FreeBSD. And the code turned out to not handle DST, but time(3) differences. In the course of this thread I got uncertain if this is the way to follow when talking about the DST issue. The PR's subject tries to demonstrate that I see the patch to serve a different purpose from what its manpage diff promises. As a consequence I try to discuss in the PR the enhancements the diff could be in need of as well as what other mechanisms could solve (or lower) the DST "problem". There's nothing new for those who followed the thread. But it might be pleasant to have them bundled and archived. (Sorry if I forgot something or didn't read it. It's no bad intent, I'm just not subscribed to -hackers and the web frontend has some four days of delay. And I don't browse from where I do the mail, so something could get dropped "in transit". Feel free to followup to the PR in case there's something missing or wrong. But you surely do without me inviting you:) Combine this one with the "conf/24358: [PATCH] etc/rc variables for cron(8)" PR and everybody has the choice to - do nothing and live unaffected - create / get a port and switch over to it ('cd /usr/ports; make search key=cron' is empty at the moment) - repo copy cron and fiddle in any way with the new instance - locally patch the cron tree and leave others unaffected - revive private implementations (? I heard mention of these) There should be no suspicion any longer of getting harmed for no other reason than lazy / unexperienced / misguided admins' wanting their computer to do things the way humans expect. :) I wouldn't think about make.conf switches, but rather handle it the rc.conf way. Have the one "stable" cron that's been there for good, leave it untouched and experiment in one of the above sketched ways. This should give the maximum in deterministic and expected behaviour for those wanting consistency with the current implementation as well as maximum flexibility for those who feel a change to be necessary for their own environments. The lesson I have learnt from the discussion is that there is no single cron that would be able to satisfy everyone. And since cron is an essential component of a UNIX machine concerns cannot be taken easily. virtually yours 82D1 9B9C 01DC 4FB4 D7B4 61BE 3F49 4F77 72DE DA76 Gerhard Sittig true | mail -s "get gpg key" Gerhard.Sittig@gmx.net -- If you don't understand or are scared by any of the above ask your parents or an adult to help you. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message