Betr.: Re: [syslog-ng]pbs on syslog-ng 1.5.23 on freebsd 4.7 on / partition read-only !

Balazs Scheidler bazsi@balabit.hu
Wed, 11 Dec 2002 19:41:07 +0100


On Wed, Dec 11, 2002 at 04:04:30PM +0300, Borzenkov Andrey wrote:
> 
> > 
> > 
> > Hi,
> > 
> > Really, as mentioned by Balazs, try using /var/run/log in your
> > syslog-ng.conf file.
> > 
> > On Freebsd 4.5:
> > syslog.h:#define        _PATH_LOG       "/var/run/log"
> > 
> 
> I dare to say, it is exactly what configure script is for :-)

the configure script is for detecting compile time variables. The path to
the default local log socket above is configuration data for syslog-ng, as
it doesn't care about what OS you are running on, you could specify
/var/run/log on Linux too (and symlink /dev/log to /var/run/log).

Too bad different platforms behave differently but that's what the contrib
directory is for: include platform specific config files (btw: this BSD
thing is clearly written in the INSTALL file)

-- 
Bazsi
PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1