Date: Thu, 06 Apr 1995 21:14:17 -0700 From: "Jordan K. Hubbard" <jkh@freefall.cdrom.com> To: Paul Traina <pst@cisco.com> Cc: freebsd-bugs@freefall.cdrom.com Subject: Re: conf/301: Log rotation wastes _much_ to much space Message-ID: <21236.797228057@freefall.cdrom.com> In-Reply-To: Your message of "Thu, 06 Apr 95 20:16:18 PDT." <199504070316.UAA09229@feta.cisco.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> > 1. They should do nothing by default. > > Bzzz... they should not allow the disk to fill up by default. > The idea here is to build a unix system that any moron can use. So put the moron in a setup screen towards the end of the install that says lots of scarey things, like: "WE STRONGLY SUGGEST THAT YOU ENABLE AT LEAST THE LOG-ROTATION FUNCTION, OR YOUR /VAR WILL SLOWLY FILL UP!" But principle of least astonishment DICTATES that we not just play father-knows-best and run these things behind the average user's back. We should do nothing unless specifically asked, first. Sure, make it EASY for the user to "ask" and all that, but still ask! > > 2. They should contain only shell functions for doing the various > > operations. > > ??? E.g., instead a /etc/daily full of linear crap, you have: % cat /etc/daily # # /etc/daily script - this is run once a day from CRON. # # Suck in the appropriate libraries . /etc/scripts/security.sh . /etc/scripts/logs.sh . /etc/scripts/hoohah.sh # Don't touch anything above this line # # BEGIN User configuration section rotate_logs rotate_tires check_login_security check_tty_security knock_on_doors arrest_the_usual_suspects # END User configuration section Or something to that effect. It would be my assumption that the "function calls" here would be administered through a front-end program. Jordan
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?21236.797228057>