Your message dated Thu, 06 Oct 2011 18:21:23 +0200
with message-id <[email protected]>
and subject line sid uses unix-dgram()
has caused the Debian Bug report #384802,
regarding wrong type for the /dev/log socket
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
384802: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=384802
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: syslog-ng
Severity: normal
The default syslog-ng.conf contains this comment:
# standard Linux log source (this is the default place for the syslog()
# function to send logs to)
unix-stream("/dev/log");
But it is wrong: as you can easily verify using strace, libc by default
uses datagram sockets (which for the AF_UNIX family are as reliable as
stream sockets):
$ strace -e trace=socket logger test
socket(PF_FILE, SOCK_DGRAM, 0) = 1
$
For this reason, the default configuration should use unix-dgram.
--
ciao,
Marco
signature.asc
Description: Digital signature
--- End Message ---
--- Begin Message ---
Version: 3.2.4-1
The version currently in sid (3.2.4-1) uses unix-dgram(). I'm not quite
sure when it started to do that, as the changelog does not seem to
document it. But at least in sid, this is fixed.
--
|8]
--- End Message ---