In my Debian 8 (Jessie) containers the /var/log socket doesn't seem to work.
is enabled in rsyslog.conf
I can also see that the daemon is listening on that socket:
However, in the /var/log/* files I just see the start/stop messages of rsyslog itself, nothing else.
Apparently something is preventing access to /dev/log:
In VMs (still Debian Jessie) everything is working fine.
What could be the problem!?
(Proxmox VE 3.4)
Code:
$ModLoad imuxsock
I can also see that the daemon is listening on that socket:
Code:
lsof /dev/log
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
rsyslogd 1953 root 3u unix 0xffff88107209c500 0t0 678611 /dev/log
However, in the /var/log/* files I just see the start/stop messages of rsyslog itself, nothing else.
Apparently something is preventing access to /dev/log:
Code:
# strace logger hello
...
socket(PF_LOCAL, SOCK_DGRAM|SOCK_CLOEXEC, 0) = 3
connect(3, {sa_family=AF_LOCAL, sun_path="/dev/log"}, 110) = -1 ECONNREFUSED (Connection refused)
close(3) = 0
close(1) = 0
close(2) = 0
exit_group(0) = ?
+++ exited with 0 +++
In VMs (still Debian Jessie) everything is working fine.
What could be the problem!?
(Proxmox VE 3.4)