From owner-freebsd-current@FreeBSD.ORG Sun Nov 10 16:14:43 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id BA0F6767 for ; Sun, 10 Nov 2013 16:14:43 +0000 (UTC) (envelope-from freebsd@allanjude.com) Received: from mx1.scaleengine.net (beauharnois2.bhs1.scaleengine.net [142.4.218.15]) by mx1.freebsd.org (Postfix) with ESMTP id 6FCBB22D6 for ; Sun, 10 Nov 2013 16:14:42 +0000 (UTC) Received: from [10.1.1.1] (S01060001abad1dea.hm.shawcable.net [50.70.108.129]) (Authenticated sender: allan.jude@scaleengine.com) by mx1.scaleengine.net (Postfix) with ESMTPSA id E5C0046F09 for ; Sun, 10 Nov 2013 16:14:41 +0000 (UTC) Message-ID: <527FB0F4.5050206@allanjude.com> Date: Sun, 10 Nov 2013 11:14:44 -0500 From: Allan Jude User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; 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> <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> <527E3EB3.6000301@FreeBSD.org> <8034B822-F903-43D1-8BF6-DFAD7C22F5B0@gsoft.com.au> <527ED34A.1060401@allanjude.com> <527EE417.6060704@allanjude.com> <527EE84D.4060901@allanjude.com> <527EEE3D.9000101@allanjude.com> <527F925D.5030201@m5p.com> In-Reply-To: <527F925D.5030201@m5p.com> X-Enigmail-Version: 1.6 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="jLILN3nSESP1CqHBMC6VU5Kx25ptRmFRJ" 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: Sun, 10 Nov 2013 16:14:43 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --jLILN3nSESP1CqHBMC6VU5Kx25ptRmFRJ Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 2013-11-10 09:04, George Mitchell wrote: > On 11/09/13 21:23, Allan Jude wrote: >> On 2013-11-09 21:13, Adrian Chadd wrote: >>> On 9 November 2013 17:58, Allan Jude wrote: >>> >>>> Well, if the rc.conf config is specific to the daemon being >>>> installed by >>>> the package, then the existing /etc/rc.conf.d/ system works fine, it= >>>> just falls down a little on xorg configuring hald, unless you just >>>> make >>>> the xorg package create /etc/rc.conf.d/hald and /etc/rc.conf.d/dbus >>> If I install hal/dbus, why wouldn't they themselves populate >>> /etc/rc.conf.d/hald and /etc/rc.conf.d/dbus ? >>> >>> If there are hal/dbus options that need configuring by other packages= , >>> then sure, you'll need to add some other things too. >> ahh, right, why didn't I think of that >> >>>> I like the simplicity of rc.conf, and I would much rather not >>>> involve an >>>> sqlite database, I am not sure how that could possibly be faster the= n >>>> sourcing an extra shell script. >>> Don't focus on that. The sqlite example is just that - an example - >>> showing what kind of operations you would want to implement to _allow= _ >>> you to do that. I'm not advocating for doing it in freebsd-base. >>> >>> The point I'm making is this: >>> >>> * when populating rc.conf.d/, don't just do 'cp' in a post-install >>> script >>> * when populating the cron daemon entries in rc.cron.d, don't just >>> 'cp' in a post-install script. >>> >>> >>> -adrian >> >> If the cron daemon is just scanning /etc/cron.d/* and treating it as i= f >> those lines had been appended to /etc/crontab I don't see why you >> couldn't just cp in the post-install. I think it would be better if yo= u >> didn't have to 'register' a change. >> >> > > For this whole thread, please s,/etc/rc.d,/usr/local/etc/rc.d,g > -- George > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to > "freebsd-current-unsubscribe@freebsd.org" We have never once mentioned /etc/rc.d rc.conf.d is an entirely different system (extending rc.conf) and I proposed both /etc/cron.d/ (stuff you'd normally add to /etc/crontab) and /usr/local/etc/cron.d/ (packages) --=20 Allan Jude --jLILN3nSESP1CqHBMC6VU5Kx25ptRmFRJ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (MingW32) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBAgAGBQJSf7D3AAoJEJrBFpNRJZKfEH4P/1vZVFZr6eprm2+TbgKXf7Fz rxgSIERWYd8wRAE9veK3rOTCiASxmTYIRtjcYbOwEbM0t/q9w/WUNHtUAxJTH3J4 j57eIaZFZZ+a2eyynEfHolZvuPy5dihV60LnUmiuKhXJj8nEbddlyq0ziwERAd1+ SBswOTDZJV99V/42Hdn6I1VXF4Ppf6xV2XQJdyFpQUwQUnvae2AAdy3i5dxaoKiQ r/LLM1zEAJHBmZ+RuqcmL8qH3/LSe281HD5SGS/pZ/jlcU7jicuFlQnjnOpozbVn 8dYLT4oynp1MV9FSsEDwIdlu1k+Uhc9qA27tYQFa8eOF3ggks4XPH62EwbvQ9nay q56bQHu9ubN5vT2JGM/DDFL0gmt2uhFjegz3VhgrQvV6S8gpUQ6xor22v+Px8tKP tkuKmW+uDuh6wtdtO7FEZXLfzmWwcqf/EkH574+XP+QhENhjpy+W77dLlI5ox8rx r/A2jzsoBCB/CRSzLowhoLfUyiigH2ho5VwR5l4q1s2wIYpnsj7W5S5/4cV9whWR QL0Qqq1qo6WaWlm/HmtR55emEL7VYbxmBiV4lbsNnpJnVWmp5AllFyYSiIeDjXFV eB7LnmK8cPdyPYzg1ZqSD6H4EJ2y7ZitqnwR5mCaWvcPkQjasmw3C8kzE2Xlw78T wG6K0Nz+1vKn2cERQQl3 =PiYj -----END PGP SIGNATURE----- --jLILN3nSESP1CqHBMC6VU5Kx25ptRmFRJ--