From e7c8d78e7f4c67064f8e934e2022a5a1a51f876c Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 22 Aug 2024 11:49:25 +0200 Subject: units: don't set LISTEN_FDNAMES for varlink services explicitly Now that FileDescriptorName= is properly honored by Accept=yes sockets, this explicit override is pointless. --- units/systemd-bootctl@.service | 1 - units/systemd-creds@.service | 1 - units/systemd-pcrextend@.service.in | 1 - units/systemd-pcrlock@.service.in | 1 - units/systemd-sysext@.service | 1 - 5 files changed, 5 deletions(-) (limited to 'units') diff --git a/units/systemd-bootctl@.service b/units/systemd-bootctl@.service index 5de6156638..3f49e10457 100644 --- a/units/systemd-bootctl@.service +++ b/units/systemd-bootctl@.service @@ -16,5 +16,4 @@ After=local-fs.target Before=shutdown.target [Service] -Environment=LISTEN_FDNAMES=varlink ExecStart=bootctl diff --git a/units/systemd-creds@.service b/units/systemd-creds@.service index d565836d3a..014444161f 100644 --- a/units/systemd-creds@.service +++ b/units/systemd-creds@.service @@ -15,5 +15,4 @@ Conflicts=shutdown.target initrd-switch-root.target Before=shutdown.target initrd-switch-root.target [Service] -Environment=LISTEN_FDNAMES=varlink ExecStart=-systemd-creds diff --git a/units/systemd-pcrextend@.service.in b/units/systemd-pcrextend@.service.in index 68b71d4068..79841a5fab 100644 --- a/units/systemd-pcrextend@.service.in +++ b/units/systemd-pcrextend@.service.in @@ -16,5 +16,4 @@ Conflicts=shutdown.target initrd-switch-root.target Before=shutdown.target initrd-switch-root.target [Service] -Environment=LISTEN_FDNAMES=varlink ExecStart=-{{LIBEXECDIR}}/systemd-pcrextend diff --git a/units/systemd-pcrlock@.service.in b/units/systemd-pcrlock@.service.in index 3528c565c8..143d6c5154 100644 --- a/units/systemd-pcrlock@.service.in +++ b/units/systemd-pcrlock@.service.in @@ -17,5 +17,4 @@ Before=sysinit.target shutdown.target After=systemd-remount-fs.service var.mount [Service] -Environment=LISTEN_FDNAMES=varlink ExecStart={{LIBEXECDIR}}/systemd-pcrlock --location=770 diff --git a/units/systemd-sysext@.service b/units/systemd-sysext@.service index 9dcbf9f1dd..ec9c6b0d6d 100644 --- a/units/systemd-sysext@.service +++ b/units/systemd-sysext@.service @@ -16,5 +16,4 @@ Conflicts=shutdown.target initrd-switch-root.target Before=shutdown.target initrd-switch-root.target [Service] -Environment=LISTEN_FDNAMES=varlink ExecStart=-systemd-sysext -- cgit v1.2.3