main/squid: make sure statedir exists

For IPC, squid creates a socket file in /var/run/squid, but this
directory does not exist. Because /run (/var/run) lives in tmpfs, you
cannot rely on it being created by the package.

Use `checkpath` in the initd file to make sure this path exists.

Fixes #11249
7 jobs for !4468 with squid-upgrade-4-10-fix-statedir in 23 minutes and 43 seconds (queued for 3 seconds)
detached
Status Job ID Name Coverage
  Lint
failed #55198
x86_64 docker-alpine allowed to fail
lint

00:00:19

 
  Build
passed #55203
aarch64 ci-build docker-alpine
build-aarch64

00:18:23

passed #55204
armv7 ci-build docker-alpine
build-armv7

00:15:14

passed #55202
ppc64le ci-build docker-alpine
build-ppc64le

00:07:59

passed #55201
s390x ci-build docker-alpine
build-s390x

00:04:54

passed #55200
x86 ci-build docker-alpine
build-x86

00:04:31

passed #55199
x86_64 ci-build docker-alpine
build-x86_64

00:04:04

 
Name Stage Failure
failed
lint Lint
No job log