With openrc the init.d/lighttpd script creates the /run/lighttpd directory. In systemd we should have a /etc/tmpfiles.d/lighttpd.conf with d /run/lighttpd 0700 lighttpd lighttpd otherwise lighttpd fails to start with fastcgi enabled. Reproducible: Always
Reassigning to systemd@
I guess this would also benefit from bug 462118
Perhaps the directory that should be created is /var/run/lighttpd, as it is the one mentioned in /etc/lighttpd/mod_fastcgi.conf.
Or /etc be migrated to /run (as /var/run is deprecated if I didn't misunderstand that issue)
Will try to review this soon
Solved, thanks