From owner-freebsd-current@FreeBSD.ORG Fri May 1 14:52:45 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 A9A48106566B for ; Fri, 1 May 2009 14:52:45 +0000 (UTC) (envelope-from mike@jellydonut.org) Received: from mail-fx0-f162.google.com (mail-fx0-f162.google.com [209.85.220.162]) by mx1.freebsd.org (Postfix) with ESMTP id 450758FC0A for ; Fri, 1 May 2009 14:52:44 +0000 (UTC) (envelope-from mike@jellydonut.org) Received: by fxm6 with SMTP id 6so2351427fxm.43 for ; Fri, 01 May 2009 07:52:44 -0700 (PDT) MIME-Version: 1.0 Received: by 10.223.119.198 with SMTP id a6mr1167395far.42.1241187676006; Fri, 01 May 2009 07:21:16 -0700 (PDT) In-Reply-To: <20090430121012.GB10553@rebelion.Sisis.de> References: <20090430094218.GA6800@rebelion.Sisis.de> <20090430121012.GB10553@rebelion.Sisis.de> Date: Fri, 1 May 2009 10:21:15 -0400 Message-ID: <1de79840905010721n7dcf1b8fy8746590681d43f20@mail.gmail.com> From: Michael Proto To: Matthias Apitz Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-current@freebsd.org Subject: Re: syslogd with log files in /tmp X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 May 2009 14:52:45 -0000 On Thu, Apr 30, 2009 at 8:10 AM, Matthias Apitz wrote: > El d=EDa Thursday, April 30, 2009 a las 11:42:18AM +0200, Matthias Apitz = escribi=F3: > >> syslogd_enable=3D"YES" >> syslogd_flags=3D"-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? > > it has todo with the order if rc files: > > CURRENT: > > # rcorder /etc/rc.d/* /usr/local/etc/rc.d/* | cat -n | egrep 'syslogd|tmp= ' > 61 /etc/rc.d/syslogd > 76 /etc/rc.d/tmp > 77 /etc/rc.d/cleartmp > > 7.0-REL: > > # rcorder /etc/rc.d/* /usr/local/etc/rc.d/* | cat -n | egrep 'syslogd|tmp= ' > 56 /etc/rc.d/tmp > 57 /etc/rc.d/cleartmp > 64 /etc/rc.d/syslogd > > I will insert 'REQUIRE: tmp' in /etc/rc.d/syslogd > > 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. > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org= " > An alternative that doesn't require reordering or changes to the rc.d script is to setup your mfs in /etc/fstab instead of in /etc/rc.conf: md /tmp mfs rw,-s128m 2 0 -Proto