From owner-freebsd-current@FreeBSD.ORG Mon Nov 11 05:46:01 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 296638BD; Mon, 11 Nov 2013 05:46:01 +0000 (UTC) (envelope-from jiashiun@gmail.com) Received: from mail-wg0-x233.google.com (mail-wg0-x233.google.com [IPv6:2a00:1450:400c:c00::233]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 8FA182AA3; Mon, 11 Nov 2013 05:46:00 +0000 (UTC) Received: by mail-wg0-f51.google.com with SMTP id l18so4159668wgh.30 for ; Sun, 10 Nov 2013 21:45:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=YNd6YF0+O9X9nXuxmoeKddFzqmchZLMA4wbsBGYgOnM=; b=NL9qFTUZR7PfY9U/KO5oSsazXYKooYrSb2jGJjWZ3vc8C2LHBCNFpLRi3+AYDSyQgS YI7kdkaDcOBTjgRyV73yBEXTrZSNhKOd6AIqaJh9RzFTl7w5SIPEaIYHWTbaHE8lffh3 PKEmA9vG4jXiaSE5+L1TBorxHNoctThYNz7/a4MoI9jb0Y3JVKlI8xr7i3VnpW+cc08w G/CdPhCIbxVl5TZgFC184LHY9CpCtXnZ/7dVQuHgqc4XirK9638B9hOgm+i8L6s57nfh MteMbPwll6qhlNbGeKs7GDzU7KSpVCoGGCVjyETgM12d8emES/RSIUusaAIm46oDDx0t HAkQ== X-Received: by 10.194.235.138 with SMTP id um10mr21412037wjc.30.1384148758896; Sun, 10 Nov 2013 21:45:58 -0800 (PST) MIME-Version: 1.0 Received: by 10.227.240.198 with HTTP; Sun, 10 Nov 2013 21:45:28 -0800 (PST) In-Reply-To: References: <52792B60.1030309@allanjude.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> <527E3EB3.6000301@FreeBSD.org> <8034B822-F903-43D1-8BF6-DFAD7C22F5B0@gsoft.com.au> <527ED34A.1060401@allanjude.com> <527EE417.6060704@allanjude.com> <527EE84D.4060901@allanjude.com> From: Jia-Shiun Li Date: Mon, 11 Nov 2013 13:45:28 +0800 Message-ID: Subject: Re: cron(8) improvement To: Adrian Chadd Content-Type: text/plain; charset=UTF-8 Cc: freebsd-current 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: Mon, 11 Nov 2013 05:46:01 -0000 On Sun, Nov 10, 2013 at 10:13 AM, Adrian Chadd wrote: > > 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. > > sounds like we need a ports/pkg config system for admins *after* they have been installed, if bsdconfig interface for en-/disabling services is too simple to do what users want. For cron.d I believe only a few will object it. It is only question who should put files in it. Taking dbus/hald for example, that probably belongs to xorg meta-ports to do the necessary works to enable it, if dbus users prefer to enable it manually. And that will involve painful package dependencies. Imagine more complex cases like letting user choose cron tasks to enable. ports/pkg being a wrapper around 3rd party packages, inevitably it will need to decide some default settings in advance for user. For compile time it is probably ok, or user can choose to compile it with different options. Do we need to agree on some common user interface to do the run-time user-adjustable settings for applications? That's probably also subject to what a pkg install should do by definition. -Jia-Shiun.