From: Amos Jeffries Date: Tue, 5 Nov 2024 16:46:41 +0000 (+0000) Subject: Fix systemd startup sequence to require active Local Filesystem (#1937) X-Git-Tag: SQUID_7_0_1~43 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=884dcf431f18f96fe0078ac08aba6bac032a5d6b;p=thirdparty%2Fsquid.git Fix systemd startup sequence to require active Local Filesystem (#1937) Squid requires Local Filesystem to be active. While uncommon, it may in some cases be incomplete or delayed. Ensure that the dependency is explicitly listed to prevent failure from Squid early initialization. This change resolves Debian Bug 956581: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=956581 --- diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 26a754f17d..39bed1dc00 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -511,6 +511,7 @@ Thank you! Thomas Zajic Thomas-Martin Seck Tianyin Xu + Tilman Heinrich Tilmann Bubeck Tim Brown Tim Starling diff --git a/tools/systemd/squid.service b/tools/systemd/squid.service index aa95da00c9..4f3388ed17 100644 --- a/tools/systemd/squid.service +++ b/tools/systemd/squid.service @@ -8,7 +8,7 @@ [Unit] Description=Squid Web Proxy Server Documentation=man:squid(8) -After=network.target network-online.target nss-lookup.target +After=local-fs.target network.target network-online.target nss-lookup.target [Service] Type=notify