From owner-freebsd-current@FreeBSD.ORG Sat Nov 9 13:55:05 2013 Return-Path: Delivered-To: freebsd-current@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 ESMTP id 84B874C3 for ; Sat, 9 Nov 2013 13:55:05 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 284DE2E69 for ; Sat, 9 Nov 2013 13:55:05 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.2.117.99]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.7/8.14.7) with ESMTP id rA9Dsx5x043157 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Sat, 9 Nov 2013 13:54:59 GMT (envelope-from matthew@FreeBSD.org) DKIM-Filter: OpenDKIM Filter v2.8.3 smtp.infracaninophile.co.uk rA9Dsx5x043157 Authentication-Results: smtp.infracaninophile.co.uk/rA9Dsx5x043157; dkim=none reason="no signature"; dkim-adsp=none (unprotected policy) Message-ID: <527E3EB3.6000301@FreeBSD.org> Date: Sat, 09 Nov 2013 13:54:59 +0000 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: freebsd-current@freebsd.org Subject: Re: cron(8) improvement References: <52792B60.1030309@allanjude.com> <488180AE-5C23-402A-BAA4-E3263D8C52BF@kientzle.com> <1383788977.14448.44112617.6F0D61A0@webmail.messagingengine.com> <527AFAA1.1040001@allanjude.com> <527BCA55.2000207@allanjude.com> <527C5D52.7030508@allanjude.com> <047405A8-B6EB-427B-A2E4-6254DD1A077B@orthanc.ca> <3E6377FF-69FE-48E4-BFB1-E5095A7FA1BB@orthanc.ca> <527C6DEF.6020102@allanjude.com> In-Reply-To: <527C6DEF.6020102@allanjude.com> X-Enigmail-Version: 1.6 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="iuuakXge1Cl0PHKitr71B3xL4hx9WuCD9" X-Virus-Scanned: clamav-milter 0.97.8 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Nov 2013 13:55:05 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --iuuakXge1Cl0PHKitr71B3xL4hx9WuCD9 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 08/11/2013 04:51, Allan Jude wrote: > My use case is puppet etc, not ports/packages, so I'll leave the policy= > about packages up to portsmgr@, I just want a less sloppy way to manage= > crontabs with my orchestration system (and feature parity with Linux) There's two questions here: 1) Should cron(8) support use of /etc/cron.d and/or /usr/local/etc/cron.d ? Clearly yes it should. Seems a no-brainer to me. 2) Should ports / packages populate these cron.d directories? This is a much more interesting question. Effectively its asking if a port / package should provide some level of automatic configuration -- a thing that has previously been a no-no for FreeBSD. However, I personally would not be completely against this *given* the switch to use of sub-packages. I think having a foo-config sub-package as an optional extra would provide the best of both worlds. People who want the same sort of behaviour as you get with most Linux distributions can install the pre-canned configuration bits; those who prefer the FreeBSD traditional approach can simply not install them. Done right this should also facilitate people writing their own customized configuration sub-ports. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey JID: matthew@infracaninophile.co.uk --=20 Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey --iuuakXge1Cl0PHKitr71B3xL4hx9WuCD9 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.20 (Darwin) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQJ8BAEBCgBmBQJSfj6zXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkATE1IP/js4wqu6mm5sL96DVD/t0Xem XxJa4nMplD9vtoZBED1ul15piB+4F/ofPWm5DGYMhURkJt4/wSoJh6/9pwrYigdv BeXw3fVf7QH7ssexs/XxYtQzhpKcFRVaM+zczzHv+rvlVYerOrQWy3uZ6j5SwlIY WvNG6utPnvy+pxE1VV36HueklATmrybLT2a8TyATvNRmFqdujXjhJE5XnwEGjjUk 2RlqkvkVA+xuEResXOZ1twmh29UizzHovZ83K/HGH7QLMHcv8yInBYN9FoOVSq4b U498qyo1GCCQEGG6mYN2kAB/5GqynkOBNm8uVpaxCahnHe+UG4ZRmOEJTxRFVUI4 ooofp0CH5nQpqBi9Ye3F4yZdUm6q301thTqLkGZzo4oVcdh1HdNKAjB6ChOUWUCS bhEiaZiBMtSKU2A0IoHkf0gT5lVc/Z9jK6oZtSBAwoIMxI3aKgwl0/gcVSk8rbSr eSteeUuNqNF1OvzHcCwsXGsj9O+oFISMWWW6AB3g3A2gTfsCLmHdnYMFeuOpDWgZ YZnuqqmk9qOwEJ09nvJbYM6PqiwzaxrLHo88SXOF95WthX831evswY/f4r8mNbyF t5kev1C+4vtLIQgjgfXt2YhkgFRw3V9sCD8HsLqInPyexq6Ixy99QXoxxwZ9shBV f7rSI9un3a8JcMe1UI10 =qEW3 -----END PGP SIGNATURE----- --iuuakXge1Cl0PHKitr71B3xL4hx9WuCD9--