Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 476882

Summary: www-servers/lighttpd does not create /run/lighttpd with systemd
Product: Gentoo Linux Reporter: Francisco J. Vazquez <dv>
Component: [OLD] ServerAssignee: Gentoo systemd Team <systemd>
Status: RESOLVED FIXED    
Severity: normal CC: fturco, hwoarang, wired
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Francisco J. Vazquez 2013-07-15 09:31:29 UTC
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
Comment 1 Markos Chandras (RETIRED) gentoo-dev 2013-07-15 09:41:44 UTC
Reassigning to systemd@
Comment 2 Pacho Ramos gentoo-dev 2013-07-20 14:57:30 UTC
I guess this would also benefit from bug 462118
Comment 3 Francesco Turco 2013-09-15 12:45:44 UTC
Perhaps the directory that should be created is /var/run/lighttpd, as it is the one mentioned in /etc/lighttpd/mod_fastcgi.conf.
Comment 4 Pacho Ramos gentoo-dev 2013-09-15 13:45:42 UTC
Or /etc be migrated to /run (as /var/run is deprecated if I didn't misunderstand that issue)
Comment 5 Pacho Ramos gentoo-dev 2013-09-21 13:47:58 UTC
Will try to review this soon
Comment 6 Pacho Ramos gentoo-dev 2013-09-22 09:36:20 UTC
Solved, thanks