From owner-freebsd-hackers@FreeBSD.ORG Mon Jun 23 19:48:23 2014 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 126E9E5; Mon, 23 Jun 2014 19:48:23 +0000 (UTC) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8E56E2D05; Mon, 23 Jun 2014 19:48:22 +0000 (UTC) Received: from tom.home (kostik@localhost [127.0.0.1]) by kib.kiev.ua (8.14.9/8.14.9) with ESMTP id s5NJmG8B005353; Mon, 23 Jun 2014 22:48:16 +0300 (EEST) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.8.3 kib.kiev.ua s5NJmG8B005353 Received: (from kostik@localhost) by tom.home (8.14.9/8.14.8/Submit) id s5NJmG2Y005352; Mon, 23 Jun 2014 22:48:16 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Mon, 23 Jun 2014 22:48:15 +0300 From: Konstantin Belousov To: Tomek Wa??aszek Subject: Re: Improve cron(8) Message-ID: <20140623194815.GQ93733@kib.kiev.ua> References: <53A72666.8090101@cox.net> <53A78C13.8030909@freebsd.org> <53A82008.9050002@digiware.nl> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="G+DT6X5ssgZ56VG3" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-Spam-Status: No, score=-2.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED autolearn=no autolearn_force=no version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on tom.home Cc: "freebsd-hackers@freebsd.org" , Adrian Chadd , Willem Jan Withagen , Alfred Perlstein X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jun 2014 19:48:23 -0000 --G+DT6X5ssgZ56VG3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jun 23, 2014 at 09:33:38PM +0200, Tomek Wa??aszek wrote: > 2014-06-23 18:53 GMT+02:00 Adrian Chadd : >=20 > > On 23 June 2014 06:26, Tomek Wa??aszek wrote: > > > > > Hello, > > > I got your point. > > > From the technical perspective it should be quite easy to implement t= his > > > feature, but I'm not sure whether this will get positive feedback. I > > > remeber that there was a discussion on the OpenBSD mailing lists (the= re > > was > > > even a patch for this) but they don't like the idea :) maybe FreeBSD > > > project will like it, I don't know. > > > > > > At the moment I want to update FreeBSD cron to ISC cron (with all the > > > features that FreeBSD has at the moment and ISC does not have) and > > > integrate atrun into cron like it was done in OpenBSD cron. After that > > (or > > > faster who knows :)) maybe we should have a discussion about this ide= a. > > > > Sweet! > > > > Well, hm. How should we do it? Can we run both cron's in the same > > source tree and just pick which to build/install? They're both > > different crons, right? Or is there a common ancestor that makes the > > diff not so terrible? > > > > > > -a > > >=20 > Hi, > I don't quite follow you, who said that there will be cron's? There will = be > one cron, from the functional perspective it will work just like it is > working now. The main differences will be that for example crontab will n= ot > have suid, atrun will be integrated and it will for example has the abili= ty > to run jobs from files in /var/cron.d but this will be not mandatory > feature to use, /etc/crontab will stay. Could you, please, explain the methodology you use to ensure that all local FreeBSD modifications to out version of the Vixie' cron are carried forward together with the update ? We do not used the vendor imports/contrib workflow for the cron, so FreeBSD-specific modifications are just sit there. The history on head/usr.sbin/cron is huge, there is a lot of private changes for the old codebase. --G+DT6X5ssgZ56VG3 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBAgAGBQJTqIR/AAoJEJDCuSvBvK1BC5UQAIYJowCxSiIgWFAW3dk2UqP7 3hx2fTve7eMGqL67BMZk48qpn9VuFBQDINVqDFYZceWq5eZwCjEDL193NE3HgCZg bjc+0sGDb5W46F1btfHHDYs2qMKTu4UBzP4VnSuICrB22fHlEXDbvzcgDcrMIY22 Zg6gSV0wuCJ+geHbu1sLU9xUSZdMrw01O34Y4+BmqaW8Ulist7Za4sr3qtIGUXcY npkktLJa74MYEb35FcXAbJrPulcVjGRkNFBLDVCtc8DFqsD4vi0VuMRzkjfAZ5C0 ct9EuIvl24Yf6JobPDQ9aVRIFLHDlSUuXz36gvnLA3T9V2h4DqT1dmVA/ZcalJ5u cdtATqAOEaoeUraU9qG1QkZ201A2NRpvdZLkkAgiFYWG3H1VsAHlqktqBXvPCzpZ lDHgVBnTfAWQ8SRE+IvTxYl2Qh3P3UmDdwdro6I/fSC4Q0ag22vy5K8bZUctrXko 8/ncb7QdK5hPzMXusRkzQN3t2Ca9o/LvB0UrYS5r55nfOknHxwRiIZWpqEfn6JtN 8jgcId2y9TXcKBd/KVTgRyPbGz+VCiZBrPOeRM+fiESx3ZWEDGtnzW/efSRo9seg kcSQF3+dqzt2xuVlUL5RZvx1THDc6Osqy40+O0GlBqeTfcgttxjgYQps6FZgDsl8 Rmz+QloTqB6E5J42h2YB =iTmE -----END PGP SIGNATURE----- --G+DT6X5ssgZ56VG3--