From owner-freebsd-current@FreeBSD.ORG Sun Nov 10 00:18:04 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 DF053A17; Sun, 10 Nov 2013 00:18:03 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-qe0-x22b.google.com (mail-qe0-x22b.google.com [IPv6:2607:f8b0:400d:c02::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 88B0C2AF6; Sun, 10 Nov 2013 00:18:03 +0000 (UTC) Received: by mail-qe0-f43.google.com with SMTP id nc12so3347798qeb.30 for ; Sat, 09 Nov 2013 16:18:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=YrIBoOFDcaG1WTWGaYZSTAnPqc9FbS+WpEtAAhIw4h4=; b=FbtvC4+B9vGa7VN6UCr0PI3FESRakpQ9QGzH0JPawKblTfvvZicT2FmspfI/u5QzMi lrIN5V6vP8v5Q61dHWTjl7xXPORP94/5PGIR+iC1r/zi3+/8P/kck8n9VjXrQJFwzWlK 2P7XpPaff1Uu30Q5VsYWJTlcGplyZN4y0sL61ZkIIAlA/xf6HSL3sg6KctOSyHCM94hX swu3jWKGNqQ+SWbzvEFBwNRSBWMcMhJukNKSmalJ+NofnKHCSVuuyIOZAcv3+BqHtNmc iTQhugHdqc2uNDXEaOtHTov+9bowN9rAAXYNJFRhWLXdeJUquQLRMvnVH4h5GwjCmSWJ tq2A== MIME-Version: 1.0 X-Received: by 10.224.111.197 with SMTP id t5mr36507977qap.49.1384042682766; Sat, 09 Nov 2013 16:18:02 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.224.207.66 with HTTP; Sat, 9 Nov 2013 16:18:02 -0800 (PST) In-Reply-To: <8034B822-F903-43D1-8BF6-DFAD7C22F5B0@gsoft.com.au> 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> <527E3EB3.6000301@FreeBSD.org> <8034B822-F903-43D1-8BF6-DFAD7C22F5B0@gsoft.com.au> Date: Sat, 9 Nov 2013 16:18:02 -0800 X-Google-Sender-Auth: -8lZRpt1BGbOBVrIaDEpBI6_HQo Message-ID: Subject: Re: cron(8) improvement From: Adrian Chadd To: "Daniel O'Connor" Content-Type: text/plain; charset=ISO-8859-1 Cc: FreeBSD Current , Matthew Seaman 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 00:18:04 -0000 On 9 November 2013 16:05, Daniel O'Connor wrote: > > On 10 Nov 2013, at 24:24, Matthew Seaman wrote: >> >> 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. > > I think it would be OK if they installed entries in a disabled state. > > ie either the file is named such that it is ignored by cron (preferable IMO) or the entries in them are commented out. I want the opposite. I'm kinda fed up installing packages that don't enable themselves. 'pkg install xorg' is not enough to get a working xorg. You have to enable hal and dbus and then restart (so things come up in the right order; manually starting them doesn't work) in order to get X working. If people are really worried about this, then I suggest a couple of package options for this stuff: * whether to default enable the package or not; * whether to default enable the cron scripts or not. Please install the cron scripts by default. Please then write up a simple rc.conf style setup where the cron scripts can check a config file to see if they should run. I don't want to have to freaking delete, rename, etc cron.d files. I just want the package files to be almost-untouched and have an option of working out of the box. Please, please allow an option to make this crap work out of the box already. -adrian