summaryrefslogtreecommitdiff
path: root/units
diff options
context:
space:
mode:
authorMichal Schmidt <mschmidt@redhat.com>2011-11-30 09:37:13 +0100
committerMichal Schmidt <mschmidt@redhat.com>2011-11-30 11:00:28 +0100
commit1a2801529e916ec31d2a8cc66cd5c3b8d9ad9caa (patch)
treeb2acaee28cce29142c929a5b4aa67f3d476f62a3 /units
parent75d3fc60f88e08bf953063819a8a04b881d6db23 (diff)
syslog: use PassCred=yes for the /dev/log socket
Both kmsg-syslogd and the real syslog service want to receive SCM_CREDENTIALS. With socket activation it is too late to set SO_PASSCRED in the services.
Diffstat (limited to 'units')
-rw-r--r--units/syslog.socket1
1 files changed, 1 insertions, 0 deletions
diff --git a/units/syslog.socket b/units/syslog.socket
index 500bb7c314..e74b55948e 100644
--- a/units/syslog.socket
+++ b/units/syslog.socket
@@ -18,6 +18,7 @@ Wants=syslog.target
[Socket]
ListenDatagram=/dev/log
SocketMode=0666
+PassCred=yes
# The service we activate on incoming traffic is
# systemd-kmsg-syslogd.service. That doesn't mean however, that this