Trying to colour syslog-ng logs to ttyv7 but won't work after
a reboot
Norberto Meijome
freebsd at meijome.net
Thu Sep 15 16:26:03 PDT 2005
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.
More information about the freebsd-questions
mailing list