Re: cron(8) improvement

From: Daniel O'Connor <doconnor_at_gsoft.com.au>
Date: Sun, 10 Nov 2013 10:50:30 +1030
On 10 Nov 2013, at 10:48, Adrian Chadd <adrian_at_freebsd.org> wrote:
>> 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.

I agree that is a pain in the arse, however it IS existing policy.

I don't think changing it here is right - if the policy is to change it should be changed everywhere.

> 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.

A rc.conf script sounds good to me.

That still won't get you want you want though because the port/pkg install wouldn't touch it? (would it?)

--
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C







Received on Sat Nov 09 2013 - 23:20:53 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:44 UTC