From owner-freebsd-bugs Fri Jul 4 19:39:56 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id TAA18715 for bugs-outgoing; Fri, 4 Jul 1997 19:39:56 -0700 (PDT) Received: from mail.webspan.net (root@mail.webspan.net [206.154.70.7]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id TAA18709 for ; Fri, 4 Jul 1997 19:39:54 -0700 (PDT) Received: from orion.webspan.net (orion.webspan.net [206.154.70.5]) by mail.webspan.net (WEBSPAN/970608) with ESMTP id WAA21620; Fri, 4 Jul 1997 22:39:53 -0400 (EDT) Received: from orion.webspan.net (localhost [127.0.0.1]) by orion.webspan.net (WEBSPAN/970608) with ESMTP id WAA25612; Fri, 4 Jul 1997 22:39:52 -0400 (EDT) To: Brett Glass cc: bugs@FreeBSD.ORG From: "Gary Palmer" Subject: Re: Serious maintenance bug in 2.2.2-R In-reply-to: Your message of "Fri, 04 Jul 1997 17:15:43 MDT." <3.0.1.32.19970704171543.008f8e00@mail.lariat.org> Date: Fri, 04 Jul 1997 22:39:52 -0400 Message-ID: <25610.868070392@orion.webspan.net> Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Brett Glass wrote in message ID <3.0.1.32.19970704171543.008f8e00@mail.lariat.org>: > I merged the old /etc/crontab with the new, but the line with "newsyslog" > was commented out. RCS file: /home/ncvs/src/etc/crontab,v Working file: crontab head: 1.16 branch: locks: strict access list: symbolic names: RELENG_2_2_2_RELEASE: 1.13 RELENG_2_2_1_RELEASE: 1.13 RELENG_2_2_0_RELEASE: 1.13 [SNIP] ---------------------------- revision 1.12 date: 1996/01/05 10:09:07; author: graichen; state: Exp; lines: +2 -2 changed /etc/[daily,weekly,monthly] to not rotate the logfiles by "hand", changed /etc/crontab to call /usr/sbin/newsyslog every hour (the entry was there before - but we haven't had any newsyslog until today :-) and changed /etc/inetd.conf to also contain (commentet out) entries for rpc.rquotad and rpc.sprayd (taken from NetBSD) ---------------------------- root@mutara:/home/src-current/etc> cvs diff -r 1.11 -r 1.12 crontab Index: crontab =================================================================== RCS file: /home/ncvs/src/etc/crontab,v retrieving revision 1.11 retrieving revision 1.12 diff -r1.11 -r1.12 3c3 < # $Id: crontab,v 1.11 1995/11/19 17:21:09 ache Exp $ --- > # $Id: crontab,v 1.12 1996/01/05 10:09:07 graichen Exp $ 15c15 < #0 * * * * root /usr/bin/newsyslog --- > 0 * * * * root /usr/sbin/newsyslog I think it's uncommented. Certainly is on all newly installed systems here. The only complaint I've had is that I'd prefer it not to roll log files over in the middle of the day, but rather at the old haunting hour of 2am. But thats easily fixed. > The documentation states that the "newsyslog" program > uses a file called "newsyslog.conf", which was not created during the > upgrade. Thus, uncommenting this line will do nothing as it stands. Is a > standard "newsyslog.conf" file available? If so, why was it not copied to > my system during the upgrade? Depends how you did the upgrade. If you did it with `make world', there is a stipulation that it CANNOT touch /etc, and if you want the changes you have to merge them in by hand. If you did it through sysinstall, then something went wrong and I'm not sure what (You'd have to ask Jordan) > My real concern is that this could have happened to everyone who did an > upgrade. The "class" problem was a minor annoyance; this could cripple a > system. As I said, without knowing just how you did the `upgrade' it's impossible to say if this is really a problem with the system or not. Some may argue that `make world' should do what it needs to do, but I'd really not have it blow away my /etc changes just because someone touched something. Gary -- Gary Palmer FreeBSD Core Team Member FreeBSD: Turning PC's into workstations. See http://www.FreeBSD.ORG/ for info