devshm missing in alpine minirootfs
Hi, I was spending some debugging time to find the reason, why a apk add squid in an lxc/lxd container (alpine 3.10 oder 3.11) would not start the squid daemon.
Reason: /etc/init.d/devshm is missing in the lxc/lxd alpine images therefore /dev/shm is not created and daemons (like squid) requiring /dev/shm cannot be started.
Workaround: Install my own /etc/init.d/devshm script
I then blamed the https://linuxcontainers.org/ people for breaking alpine by fiddling with the startup scripts, but actually they are just taking the miniroot filesystem from alpinelinux.org, and in the minirootfs, e.g. alpine-minirootfs-3.11.0-x86_64.tar.gz, /dev/shm and /etc/init.d/devshm are missing as well.
if that's intended behaviour and /dev/init.d/devshm should be installed as a separate package, then packages like squid should depend on them instead of just failing at startup.
if that's not intended behaviour, then this should be fixed.
What's the intended clean way to get from the minitrootfs to a running squid daemon ?
regards