Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 476882 - www-servers/lighttpd does not create /run/lighttpd with systemd
Summary: www-servers/lighttpd does not create /run/lighttpd with systemd
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo systemd Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-15 09:31 UTC by Francisco J. Vazquez
Modified: 2013-09-22 09:36 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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