From owner-freebsd-questions@FreeBSD.ORG Thu Sep 15 23:26:03 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2F8A616A41F for ; Thu, 15 Sep 2005 23:26:03 +0000 (GMT) (envelope-from freebsd@meijome.net) Received: from sigma.octantis.com.au (ns2.octantis.com.au [207.44.189.124]) by mx1.FreeBSD.org (Postfix) with ESMTP id AEE7843D49 for ; Thu, 15 Sep 2005 23:26:02 +0000 (GMT) (envelope-from freebsd@meijome.net) Received: (qmail 16880 invoked from network); 16 Sep 2005 09:26:00 +1000 Received: from 203-166-227-62.dyn.iinet.net.au (HELO ?192.168.13.3?) (203.166.227.62) by sigma.octantis.com.au with (DHE-RSA-AES256-SHA encrypted) SMTP; 16 Sep 2005 09:25:59 +1000 Message-ID: <432A0303.9000507@meijome.net> Date: Fri, 16 Sep 2005 09:25:55 +1000 From: Norberto Meijome User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <43298076.7050705@codeweavers.net> <4329921F.2070006@dial.pipex.com> <43299A1B.8050406@ashleymoran.me.uk> <43299CCA.4040509@meijome.net> <4329A1AF.7030602@dial.pipex.com> In-Reply-To: <4329A1AF.7030602@dial.pipex.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Ashley Moran Subject: Re: Trying to colour syslog-ng logs to ttyv7 but won't work after a reboot X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Sep 2005 23:26:03 -0000 Alex Zbyslaw wrote: > Norberto Meijome wrote: > >> Perhaps the ttyv7 isn't properly created until after all the local rc >> scripts are run? That's all I can think. >> >> you may want to edit the syslogng.sh to add some debug lines to see if >> ttyv7 is up @ that point in time. based on the result of this, you may >> want to background (sleep? wait and try again?) the launch of syslogng >> until after the ttyv7 is ready. >> >> or figure out in which order things are started and make sure the >> ttyvs are launched before syslogng > > > Given that anything in /usr/local/etc will start after anything in /etc, > I would really expect a virtual tty to be available. I don't suppose > that syslogng is logging an error anywhere? (Not on ttyv7, obviously :-)) yes, of course. I guess one other thing to do would be to ktrace the actual call to syslogng and figure out what's going on.