From owner-freebsd-current Wed Oct 17 7: 7:34 2001 Delivered-To: freebsd-current@freebsd.org Received: from mailhub.fokus.gmd.de (mailhub.fokus.gmd.de [193.174.154.14]) by hub.freebsd.org (Postfix) with ESMTP id 2C59037B409; Wed, 17 Oct 2001 07:07:30 -0700 (PDT) Received: from beagle (beagle [193.175.132.100]) by mailhub.fokus.gmd.de (8.8.8/8.8.8) with ESMTP id QAA07336; Wed, 17 Oct 2001 16:07:28 +0200 (MET DST) Date: Wed, 17 Oct 2001 16:07:28 +0200 (CEST) From: Harti Brandt To: bsd@freebsd.org Cc: current@freebsd.org Subject: rc.diskless2 fails to create /var/log/lastlog Message-ID: <20011017155923.S1072-100000@beagle.fokus.gmd.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, /var/log/lastlog is not in /etc/newsyslog.conf and is for this reason no created upon boot. This gives an error message each time one logs into the system. The append patch creates the file. harti Index: rc.diskless2 =================================================================== RCS file: /usr/ncvs/src/etc/rc.diskless2,v retrieving revision 1.12 diff -c -r1.12 rc.diskless2 *** rc.diskless2 1 Jun 2001 10:07:15 -0000 1.12 --- rc.diskless2 17 Oct 2001 14:03:37 -0000 *************** *** 67,72 **** --- 67,75 ---- /usr/bin/touch $LOGFILES fi + echo "+++ create lastlog" + /usr/bin/touch /var/log/lastlog + mount -a # chown and chgrp are in /usr # -- harti brandt, http://www.fokus.gmd.de/research/cc/cats/employees/hartmut.brandt/private brandt@fokus.fhg.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message