Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Oct 2001 16:07:28 +0200 (CEST)
From:      Harti Brandt <brandt@fokus.gmd.de>
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>

next in thread | raw e-mail | index | archive | help

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011017155923.S1072-100000>