9 Jul
2019
9 Jul
'19
12:22
As part of migrating a mail cluster til leap15.1, I noticed that log messages from a custom-written daemon were being written to both /var/log/mail and to /var/log/messages - only intended for facility=LOG_MAIL. I noticed the same for spamd. With our own custom-written daemon, on a hunch I fixed the problem by adding an openlog() in the threads that are being created, so it seems the openlog() is not being inherited across a thread create / fork() ? I haven't looked at spamd yet, but as it also forks .... -- Per Jessen, Zürich (20.0°C) http://www.dns24.ch/ - your free DNS host, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org