HUP to syslog-ng does not close files
I'm upgrading from syslog-ng 2.0rc3 to 2.0.7. One thing that no longer works is when I send syslog-ng a hangup signal the currently open files aren't closed and reopened when the config file is reread. I verified this by running an lsof on syslog-ng and I see that it has files open that say "Deleted" next to the filename in the lsof output. If I send syslog-ng a hangup signal without deleting I files I do see a log entry that the config file is being reread. Because of all this I have had to change the restart line in the logrotate configuration from "syslog reload" to "syslog restart". Is this expected? Thanks, Beirne
Hi,
I'm upgrading from syslog-ng 2.0rc3 to 2.0.7. One thing that no longer works is when I send syslog-ng a hangup signal the currently open files aren't closed and reopened when the config file is reread. I verified this by running an lsof on syslog-ng and I see that it has files open that say "Deleted" next to the filename in the lsof output. If I send syslog-ng a hangup signal without deleting I files I do see a log entry that the config file is being reread. Because of all this I have had to change the restart line in the logrotate configuration from "syslog reload" to "syslog restart". Is this expected?
I reported this issue last Thursday and Bazsi fixed it within an hour. See the thread 'syslog-ng 2.0.7 major problem' for the patch, or use a recent snapshot. Regards, Sandor -------------------------------------------------------- NOTICE: If received in error, please destroy and notify sender. Sender does not intend to waive confidentiality or privilege. Use of this email is prohibited when received in error.
participants (2)
-
Beirne Konarski
-
Geller, Sandor (IT)