Date: Sat, 9 Nov 2013 16:18:02 -0800 From: Adrian Chadd <adrian@freebsd.org> To: "Daniel O'Connor" <doconnor@gsoft.com.au> Cc: FreeBSD Current <freebsd-current@freebsd.org>, Matthew Seaman <matthew@freebsd.org> Subject: Re: cron(8) improvement Message-ID: <CAJ-VmomXRuwJdKUsbgMjvEtBaDiZoCxacLXOpxhCqoVhkigL6g@mail.gmail.com> 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> <CA%2B7WWSdFFk4npy0=TOWO=6RApv5-wuJASHhE87eUf52DjQrxjw@mail.gmail.com> <D260751E-85D2-4591-88E0-5EFE1821D532@orthanc.ca> <CA%2B7WWSf_%2BBg8rjLdN1j032G2P81odfmQe-Ejyq7A4CqyqPqiAA@mail.gmail.com> <527BCA55.2000207@allanjude.com> <D5199AC5-61E9-4D58-B31E-51E47F1CCFDF@orthanc.ca> <527C5D52.7030508@allanjude.com> <047405A8-B6EB-427B-A2E4-6254DD1A077B@orthanc.ca> <CA%2B7WWSfiWT4wprOS8oQS5YaeE%2BjjyxfK5fzAyFz8XMyX_J%2BoLw@mail.gmail.com> <3E6377FF-69FE-48E4-BFB1-E5095A7FA1BB@orthanc.ca> <527C6DEF.6020102@allanjude.com> <527E3EB3.6000301@FreeBSD.org> <8034B822-F903-43D1-8BF6-DFAD7C22F5B0@gsoft.com.au>
next in thread | previous in thread | raw e-mail | index | archive | help
On 9 November 2013 16:05, Daniel O'Connor <doconnor@gsoft.com.au> wrote: > > On 10 Nov 2013, at 24:24, Matthew Seaman <matthew@freebsd.org> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-VmomXRuwJdKUsbgMjvEtBaDiZoCxacLXOpxhCqoVhkigL6g>