From owner-freebsd-hackers Mon Jan 11 09:50:32 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA04390 for freebsd-hackers-outgoing; Mon, 11 Jan 1999 09:50:32 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from mail.ruhrgebiet.individual.net (in-ruhr.ruhr.de [141.39.224.38]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA04379 for ; Mon, 11 Jan 1999 09:50:21 -0800 (PST) (envelope-from bs@adimus.de) Received: (from admin@localhost) by mail.ruhrgebiet.individual.net (8.8.5-r-beta/8.8.5) with UUCP id SAA18364; Mon, 11 Jan 1999 18:02:42 +0100 (MET) Received: from mail by mx.adimus.de with local (Exim 1.92 #1) id 0zzjHr-0000m4-00; Mon, 11 Jan 1999 16:29:51 +0100 Received: from det.adimus.de(192.168.0.1) via SMTP by adimus.de, id smtpdlc2872; Mon Jan 11 16:29:42 1999 Received: from bs by det.adimus.de with local (Exim 1.92 #1) id 0zzjGp-000094-00; Mon, 11 Jan 1999 16:28:47 +0100 To: Joe Abley Cc: Benedikt Stockebrand , Yani Brankov , "Stephen J. Roznowski" , hackers@FreeBSD.ORG Subject: Re: Why is root's crontab different? References: <199901032313.SAA04829@istari.home.net> <368FFD42.F849603C@bulinfo.net> <19990106002259.B6168@clear.co.nz> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit From: Benedikt Stockebrand Date: 11 Jan 1999 16:28:44 +0100 In-Reply-To: Joe Abley's message of "Wed, 6 Jan 1999 00:22:59 +1300" Message-ID: Lines: 52 X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Joe Abley writes: > On Tue, Jan 05, 1999 at 11:45:28AM +0100, Benedikt Stockebrand wrote: > > > Aside from that it's a Good Thing[TM] to keep all configuration files > > in /etc --- putting them in /var will bite you as soon as you have to > > recover from a disk crash and find out you've never bothered to dump > > /var (including assorted spools and log files). And /var has a way > > stronger tendency to get messed up on a system crash than / has. > > If you've lost /var, isn't it probably a good thing that cron isn't > running? You probably have more important things to worry about :) Cron shouldn't be running because your system should be coming up in single user mode then. > Turning your argument around, if it _is_ desirable to have crontabs available > with a minimal number of filesystems mounted, why not move /var/cron to > /etc/cron and dispense with /etc/crontab? Yes, that's an option. Or put the user crontabs into ~/.crontab (with ~root being on the root FS that'd work reasonably well). The downside is that people expect certain things in certain directories. If they don't find things where they expect them they get mighty annoyed (try SuSe-Linux if you don't believe me---I've learned to hate it at my former job). > We seem to have taken the same approach with /etc/namedb, which I have > seen more often located in /var/named... But maybe that's just me. I don't > know the history of this one. The standards for named aren't as thoroughly established and with a secondary server one could argue that the zone files should go to /var because they aren't configuration. Personally I keep the boot and primary zone files in /etc and the rest in /var/named. Since the location of the zone files is configured in the zone file and the zone file is (usually) given as a boot-time argument it's way easier to track down than the compiled-in paths in crond. So long, Ben -- Benedikt Stockebrand Adimus Beratungsgesellschaft für System- System Administration & Design, und Netzwerkadministration mbH & Co KG IT Security, Remote System Mgmt Universitätsstr. 142, 44799 Bochum Opinions presented are my own. Tel. (02 34) 971 971 -2, Fax -9 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message