cron(8) improvement

Daniel O'Connor doconnor at gsoft.com.au
Sun Nov 10 00:20:54 UTC 2013


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






-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4145 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20131110/0832ebfd/attachment.bin>


More information about the freebsd-current mailing list