Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Apr 2009 14:10:12 +0200
From:      Matthias Apitz <guru@unixarea.de>
To:        freebsd-current@freebsd.org
Subject:   Re: syslogd with log files in /tmp
Message-ID:  <20090430121012.GB10553@rebelion.Sisis.de>
In-Reply-To: <20090430094218.GA6800@rebelion.Sisis.de>
References:  <20090430094218.GA6800@rebelion.Sisis.de>

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

El día Thursday, April 30, 2009 a las 11:42:18AM +0200, Matthias Apitz escribió:

> 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?

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 <matthias.apitz@oclc.org> - w http://www.oclc.org/ http://www.UnixArea.de/
People who hate Microsoft Windows use Linux but people who love UNIX use FreeBSD.



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