[systemd-devel] [PATCH] syslog: apply requested datagram size before sysctl

Umut Tezduyar Lindskog umut.tezduyar at axis.com
Thu Jul 24 01:53:41 PDT 2014


systemd-sysctl runs after syslog.socket since syslog.socket
has DefaultDependencies=no. Due to this, syslog.socket
is created with default value of net.unix.max_dgram_qlen.
---
 units/syslog.socket |    1 +
 1 file changed, 1 insertion(+)

diff --git a/units/syslog.socket b/units/syslog.socket
index e6e9cf8..4e23953 100644
--- a/units/syslog.socket
+++ b/units/syslog.socket
@@ -16,6 +16,7 @@ Before=sockets.target shutdown.target
 Conflicts=shutdown.target
 
 [Socket]
+ExecStartPre=/usr/lib/systemd/systemd-sysctl --prefix=/proc/sys/net/unix/max_dgram_qlen
 ListenDatagram=/run/systemd/journal/syslog
 SocketMode=0666
 PassCredentials=yes
-- 
1.7.10.4



More information about the systemd-devel mailing list