[syslog-ng]/var/adm/messages

Russell Street Russell.Street@clear.co.nz
Thu, 26 Oct 2000 10:28:13 +1300


Sun changed the door in the 5.8 release.

On 5.8 there is a symlink from /etc/.syslog_door to /var/run/syslog_door, so
the old path will still work.

HOWEVER:  /var/run is a swap-based file system.  It gets re-created from
scratch when the OS boots and the door does not exist until the syslog
process creates it.  

If you point syslog-ng at the old place it will fail to create the door in
/var/run; it does not create the door at the "end" of the symlink.

The syslog client library code in libc is trying to use /var/run/syslog_door
and will fail to log messages.  It then tends to sleep for 5 seconds after
failing to open the door and dumps the messages onto the console.

At least that is my experience.

Russell


-----Original Message-----
From: Ohrberg, Mick [mailto:Mick.Ohrberg@umb.com]
Sent: Thursday, 26 October 2000 9:56 a.m.
To: 'syslog-ng@lists.balabit.hu'
Subject: RE: [syslog-ng]/var/adm/messages


> I use this source on the 5.6 systems
[snip]
>         sun-streams("/dev/log" door("/etc/.syslog_door") );
[snip]
> and this one on 5.8 systems 
[snip]
>         sun-streams("/dev/log" door("/var/run/syslog_door") );

What's the difference between these two files? I use /etc/.syslog_door on my
5.8 system.

	/Mick

_______________________________________________
syslog-ng maillist  -  syslog-ng@lists.balabit.hu
https://lists.balabit.hu/mailman/listinfo/syslog-ng