Re: syslogd: log socket path truncation

2014-12-03 Thread Todd C. Miller
On Tue, 02 Dec 2014 23:04:39 +0100, Nicolas Bedos wrote: > syslogd fails strangely when the path of a log socket exceeds > sizeof(sun_path) (defined in sys/un.h as 104) by one byte. Thanks, committed. - todd

syslogd: log socket path truncation

2014-12-02 Thread Nicolas Bedos
syslogd fails strangely when the path of a log socket exceeds sizeof(sun_path) (defined in sys/un.h as 104) by one byte : # logdir='syslog_' # testdir="/tmp/$logdir/$logdir" # socket_path="$testdir/log" # echo ${#socket_path} # path length, not counting