From owner-freebsd-current@FreeBSD.ORG Thu Apr 30 09:42:21 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D6A97106566C for ; Thu, 30 Apr 2009 09:42:21 +0000 (UTC) (envelope-from Matthias.Apitz@oclc.org) Received: from mail.pica.nl (mail.pica.nl [192.87.44.30]) by mx1.freebsd.org (Postfix) with ESMTP id 725988FC0A for ; Thu, 30 Apr 2009 09:42:20 +0000 (UTC) (envelope-from Matthias.Apitz@oclc.org) Received: from rebelion.Sisis.de ([10.0.1.29]) by mail.pica.nl with Microsoft SMTPSVC(6.0.3790.3959); Thu, 30 Apr 2009 11:42:19 +0200 Received: (from guru@localhost) by rebelion.Sisis.de (8.14.2/8.13.8/Submit) id n3U9gIVN006994 for freebsd-current@freebsd.org; Thu, 30 Apr 2009 11:42:18 +0200 (CEST) (envelope-from matthias.apitz@oclc.org) X-Authentication-Warning: rebelion.Sisis.de: guru set sender to matthias.apitz@oclc.org using -f Date: Thu, 30 Apr 2009 11:42:18 +0200 From: Matthias Apitz To: freebsd-current@freebsd.org Message-ID: <20090430094218.GA6800@rebelion.Sisis.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 7.0-STABLE (i386) X-OriginalArrivalTime: 30 Apr 2009 09:42:19.0463 (UTC) FILETIME=[F45A7570:01C9C977] Subject: syslogd with log files in /tmp X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Apr 2009 09:42:22 -0000 Hello, I've configured in syslog.conf(5) the log files in /tmp and not /var/log; /tmp is a memfs to reduce writes to SSD: # mount ... /dev/md0 on /tmp (ufs, local) provided via /etc/rc.conf.local as: tmpmfs="YES" tmpsize="128m" and syslogd should create the log files on start because it is started with syslogd_enable="YES" syslogd_flags="-s -C" on reboot it seems that syslogd has no logfiles (as I can see with lsof), but after I restart it with # /etc/rc.d/syslogd restart all is fine; maybe this is because syslogd is started before tmpmfs is ready? in RELENG_7 it worked exactly this way, now in CURRENT not; any idea how to solve this? matthias -- Matthias Apitz Manager Technical Support - OCLC GmbH Gruenwalder Weg 28g - 82041 Oberhaching - Germany t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.oclc.org/ http://www.UnixArea.de/ People who hate Microsoft Windows use Linux but people who love UNIX use FreeBSD.