diff options
author | Sami Kerola | 2013-04-02 21:42:57 +0200 |
---|---|---|
committer | Karel Zak | 2013-04-05 14:05:24 +0200 |
commit | fe6999da0a7e6f14f50342666b72a6ec41d1227a (patch) | |
tree | 05a1c9cc9ec795615f59063797bda2e49e1b5bb9 /Makefile.am | |
parent | setarch: add option to list settable architectures (diff) | |
download | kernel-qcow2-util-linux-fe6999da0a7e6f14f50342666b72a6ec41d1227a.tar.gz kernel-qcow2-util-linux-fe6999da0a7e6f14f50342666b72a6ec41d1227a.tar.xz kernel-qcow2-util-linux-fe6999da0a7e6f14f50342666b72a6ec41d1227a.zip |
logger: make local sockets to try both stream and datagram
When journald, from systemd, is in use logger gave following error.
$ logger --socket /dev/log test logger: connect /dev/log: Protocol wrong
type for socket
The journald supports only AF_DGRAM, and nothing else. Support for
AF_STREAM sockets was dropped because it messed up message ordering.
From an users point of view necessity to add --udp (UNIX(TM) Datagram
Protocol?) option when talking to syslog via unix socket felt confusing
and wrong. The command should know what is the socket type, and silently
use the correct one, unless the type is explicitely defined.
CC: Karel Zak <kzak@redhat.com>
Adviced-by: Lennart Poettering <lennart@poettering.net>
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'Makefile.am')
0 files changed, 0 insertions, 0 deletions