From e86a751224d08ef7aa91a099d93d98b384dd0c99 Mon Sep 17 00:00:00 2001 From: Patrick Wicki Date: Mon, 26 Oct 2026 18:42:44 +0100 Subject: [PATCH] squid: install systemd unit without executable bit install defaults to mode 0755, which makes systemd complain: Configuration file /usr/lib/systemd/system/squid.service is marked executable. Please remove executable permission bits. Proceeding anyway. Signed-off-by: Patrick Wicki Signed-off-by: Khem Raj --- meta-networking/recipes-daemons/squid/squid_7.7.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-networking/recipes-daemons/squid/squid_7.7.bb b/meta-networking/recipes-daemons/squid/squid_7.7.bb index b657197fd7..bda8f124cb 100644 --- a/meta-networking/recipes-daemons/squid/squid_7.7.bb +++ b/meta-networking/recipes-daemons/squid/squid_7.7.bb @@ -117,7 +117,7 @@ do_install:append() { if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then # Install service unit file install -d ${D}/${systemd_unitdir}/system - install ${S}/tools/systemd/squid.service ${D}/${systemd_unitdir}/system + install -m 0644 ${S}/tools/systemd/squid.service ${D}/${systemd_unitdir}/system sed -i 's:/var/run/:/run/:g' ${D}/${systemd_unitdir}/system/squid.service # Configure tmpfiles.d