2 Use non-localized ls output
source | link

rsyslog doesn't listen on INET sockets by default. Instead, it binds to /dev/log, which is a Unix domain socket.

# ls -la /proc/$(pidof rsyslogd)/fd
razemtotal 0
dr-x------ 2 root root  0 07-Jul 20 11:28 .
dr-xr-xr-x 7 root root  0 07-Jul 20 11:05 ..
lrwx------ 1 root root 64 07-Jul 20 11:28 0 -> socket:[3559]
l-wx------ 1 root root 64 07-Jul 20 11:28 1 -> /var/log/syslog
...

# netstat -x | grep 3559
unix  19     [ ]         DGRAM                    3559     /dev/log

rsyslog doesn't listen on INET sockets by default. Instead, it binds to /dev/log, which is a Unix domain socket.

# ls -la /proc/$(pidof rsyslogd)/fd
razem 0
dr-x------ 2 root root  0 07-20 11:28 .
dr-xr-xr-x 7 root root  0 07-20 11:05 ..
lrwx------ 1 root root 64 07-20 11:28 0 -> socket:[3559]
l-wx------ 1 root root 64 07-20 11:28 1 -> /var/log/syslog
...

# netstat -x | grep 3559
unix  19     [ ]         DGRAM                    3559     /dev/log

rsyslog doesn't listen on INET sockets by default. Instead, it binds to /dev/log, which is a Unix domain socket.

# ls -la /proc/$(pidof rsyslogd)/fd
total 0
dr-x------ 2 root root  0 Jul 20 11:28 .
dr-xr-xr-x 7 root root  0 Jul 20 11:05 ..
lrwx------ 1 root root 64 Jul 20 11:28 0 -> socket:[3559]
l-wx------ 1 root root 64 Jul 20 11:28 1 -> /var/log/syslog
...

# netstat -x | grep 3559
unix  19     [ ]         DGRAM                    3559     /dev/log
1
source | link

rsyslog doesn't listen on INET sockets by default. Instead, it binds to /dev/log, which is a Unix domain socket.

# ls -la /proc/$(pidof rsyslogd)/fd
razem 0
dr-x------ 2 root root  0 07-20 11:28 .
dr-xr-xr-x 7 root root  0 07-20 11:05 ..
lrwx------ 1 root root 64 07-20 11:28 0 -> socket:[3559]
l-wx------ 1 root root 64 07-20 11:28 1 -> /var/log/syslog
...

# netstat -x | grep 3559
unix  19     [ ]         DGRAM                    3559     /dev/log