[Shorewall-users] STDERR messages (fwd)

Paul Gear paulgear@bigfoot.com
Sat, 06 Apr 2002 09:23:34 +1000

"Cowles, Steve" wrote:

> > -----Original Message-----
> > From: Gar Nelson [mailto:gar.nelson@noaa.gov]
> > Sent: Friday, April 05, 2002 5:09 PM
> > To: Shorewall Users
> > Subject: Re: [Shorewall-users] STDERR messages (fwd)
> >
> > If you're using the symbolic link in /etc/rc3.d or /etc/rc5.d, then
> > sysVinit supplies the "start". So how do you supply the rest of the
> > tail? "> /var/log/shorewall.log 2>&1" Is it possible?
> >
> Are you sure /etc/syslog.conf does not contain the line...
> kern.*                /dev/console
> or something similar that is redirecting log messages to the console?

Indeed.  On my (Red Hat 7.2) boxes, shorewall starts up silently every
time, with no special action taken.

BTW, may i recommend that in /etc/syslog.conf, you put something like
    *.info    /dev/tty12
That makes messages go not to the currently selected virtual console but
to a fixed one (VC 12).  This means that you can press Alt-F12 to see
your current messages.  Mandrake do this in their default install, and
i've found it very helpful.