From 60e1c11dc869f8e7b6a50fca7e6268ac2821d10d Mon Sep 17 00:00:00 2001 From: Mike Yuan Date: Mon, 6 Oct 2025 21:47:42 +0200 Subject: [PATCH] units: enable MaxConnectionsPerSource= for all our Accept=yes units (-ng) Apply 5d1e8cd3e057261c6db3fb3d7de39b7ca48efd3b on newly-added sockets. --- units/systemd-bootctl.socket | 1 + units/systemd-mute-console.socket | 1 + units/systemd-pcrlock.socket | 1 + units/systemd-repart.socket | 1 + 4 files changed, 4 insertions(+) diff --git a/units/systemd-bootctl.socket b/units/systemd-bootctl.socket index 59151ba161..d4071833b6 100644 --- a/units/systemd-bootctl.socket +++ b/units/systemd-bootctl.socket @@ -19,3 +19,4 @@ ListenStream=/run/systemd/io.systemd.BootControl FileDescriptorName=varlink SocketMode=0600 Accept=yes +MaxConnectionsPerSource=16 diff --git a/units/systemd-mute-console.socket b/units/systemd-mute-console.socket index 6223dc033c..16032e94b4 100644 --- a/units/systemd-mute-console.socket +++ b/units/systemd-mute-console.socket @@ -20,3 +20,4 @@ ListenStream=/run/systemd/io.systemd.MuteConsole FileDescriptorName=varlink SocketMode=0600 Accept=yes +MaxConnectionsPerSource=16 diff --git a/units/systemd-pcrlock.socket b/units/systemd-pcrlock.socket index 17a56f7eb3..ca1cd53aea 100644 --- a/units/systemd-pcrlock.socket +++ b/units/systemd-pcrlock.socket @@ -20,6 +20,7 @@ ListenStream=/run/systemd/io.systemd.PCRLock FileDescriptorName=varlink SocketMode=0600 Accept=yes +MaxConnectionsPerSource=16 [Install] WantedBy=sockets.target diff --git a/units/systemd-repart.socket b/units/systemd-repart.socket index 0c77165e1c..c9fc308b1b 100644 --- a/units/systemd-repart.socket +++ b/units/systemd-repart.socket @@ -20,3 +20,4 @@ ListenStream=/run/systemd/io.systemd.Repart FileDescriptorName=varlink SocketMode=0600 Accept=yes +MaxConnectionsPerSource=16