Hello Jon,
thanks for your post.
Yes, I can truly share the sentiment. In Germany, there is a bank which once used “der wie für mich gemachte Kredit” (the loan that has been made just for me) as an advertising slogan. At some point, I adopted that to “der wie für mich gemachte Seiteneffekt” (the side-effect that has been made just for me), since I sometimes seem to constantly bump into one edge case after another. Oh well - that keeps things interesting, I guess. 
This is intentional, as the firewall initscript is always executed before the Squid initscript on boot:
[root@maverick ~]# ls -lah /etc/rc.d/rcsysinit.d/
total 8.0K
drwxr-xr-x 2 root root 4.0K Jun 6 2020 .
drwxr-xr-x 8 root root 4.0K Jun 23 22:51 ..
lrwxrwxrwx 1 root root 21 Aug 10 2019 S00mountkernfs -> ../init.d/mountkernfs
lrwxrwxrwx 1 root root 16 Aug 10 2019 S01sysctl -> ../init.d/sysctl
lrwxrwxrwx 1 root root 17 Aug 10 2019 S05modules -> ../init.d/modules
lrwxrwxrwx 1 root root 17 Feb 4 2020 S09lvmetad -> ../init.d/lvmetad
lrwxrwxrwx 1 root root 14 Aug 10 2019 S10udev -> ../init.d/udev
lrwxrwxrwx 1 root root 20 Aug 10 2019 S19waitdrives -> ../init.d/waitdrives
lrwxrwxrwx 1 root root 20 Aug 10 2019 S25partresize -> ../init.d/partresize
lrwxrwxrwx 1 root root 17 Aug 10 2019 S30checkfs -> ../init.d/checkfs
lrwxrwxrwx 1 root root 17 Aug 10 2019 S40mountfs -> ../init.d/mountfs
lrwxrwxrwx 1 root root 14 Aug 10 2019 S41swap -> ../init.d/swap
lrwxrwxrwx 1 root root 18 Aug 10 2019 S42fsresize -> ../init.d/fsresize
lrwxrwxrwx 1 root root 20 Aug 10 2019 S43mounttmpfs -> ../init.d/mounttmpfs
lrwxrwxrwx 1 root root 13 Aug 10 2019 S44smt -> ../init.d/smt
lrwxrwxrwx 1 root root 20 Aug 10 2019 S45udev_retry -> ../init.d/udev_retry
lrwxrwxrwx 1 root root 17 Aug 10 2019 S50cleanfs -> ../init.d/cleanfs
lrwxrwxrwx 1 root root 18 Aug 10 2019 S60setclock -> ../init.d/setclock
lrwxrwxrwx 1 root root 14 Aug 10 2019 S65rngd -> ../init.d/rngd
lrwxrwxrwx 1 root root 16 Aug 10 2019 S66random -> ../init.d/random
lrwxrwxrwx 1 root root 17 Aug 10 2019 S70console -> ../init.d/console
lrwxrwxrwx 1 root root 17 Aug 10 2019 S71pakfire -> ../init.d/pakfire
lrwxrwxrwx 1 root root 20 Aug 10 2019 S74cloud-init -> ../init.d/cloud-init
lrwxrwxrwx 1 root root 20 Aug 10 2019 S75firstsetup -> ../init.d/firstsetup
lrwxrwxrwx 1 root root 18 Aug 10 2019 S80localnet -> ../init.d/localnet
lrwxrwxrwx 1 root root 18 Aug 10 2019 S85firewall -> ../init.d/firewall
These are all the initscripts that are executed unconditionally on boot, in the order of their S[digits] prefix. The firewall one will run as the last one.
Squid’s initscript is called while bringing the RED interface up, in the very same manner as /etc/rc.d/rcsysinit.d/
:
[root@maverick ~]# ls -lah /etc/rc.d/init.d/networking/red.up/
total 64K
drwxr-xr-x 2 root root 4.0K Apr 8 17:28 .
drwxr-xr-x 4 root root 4.0K Jun 6 02:46 ..
-rwxr-xr-- 1 root root 727 Aug 10 2019 01-conntrack-cleanup
-rwxr-xr-- 1 root root 189 Aug 10 2019 10-multicast
-rwxr-xr-- 1 root root 83 Aug 10 2019 10-static-routes
-rwxr-xr-- 1 root root 47 Aug 10 2019 20-firewall
-rwxr-xr-- 1 root root 1.1K Dec 14 2019 23-suricata
lrwxrwxrwx 1 root root 36 Aug 10 2019 24-RS-qos -> ../../../../../usr/local/bin/qosctrl
-rwxr-xr-- 1 root root 80 Feb 4 2020 25-update-dns-forwarders
lrwxrwxrwx 1 root root 11 Aug 10 2019 27-RS-squid -> ../../squid
-rwxr-xr-- 1 root root 43 Aug 10 2019 30-ddns
-rwxr-xr-- 1 root root 72 Oct 31 2021 35-guardian
-rwxr-xr-- 1 root root 45 Aug 10 2019 50-ipsec
-rwxr-xr-- 1 root root 118 Aug 10 2019 50-ovpn
-rwxr-xr-- 1 root root 54 Aug 10 2019 98-leds
-rwxr-xr-- 1 root root 71 Dec 14 2019 99-beep
-rwxr-xr-- 1 root root 209 Aug 10 2019 99-fireinfo
-rwxr-xr-- 1 root root 76 Aug 10 2019 99-pakfire-update
So, the separation of these two is intentional, although it leads to side-effects on Squid if RED is unavailable for some reason during boot.
(Also, the 24-RS-qos
symlink is broken on my machine, will fix that.
)
This warning is emitted by Squid. It is okay, and safe to ignore, they seem to have added it just for the bad conscience of operators.
Thanks, and best regards,
Peter Müller