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
On Thu, Oct 26, 2000 at 10:28:13AM +1300, Russell Street wrote:
Sun changed the door in the 5.8 release.
Hmm. I haven't done much with 5.8 yet. Is there any danger in specifying both locations (ie. for a portable, backwards-comapatible conf file, given that I create a /var/run under 5.6 anyway) or will the presence of the symlink in 5.8 break things? - Morty
participants (2)
-
Mordechai T. Abzug
-
Russell Street