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

Bug 235303

Summary: www-servers/lighttpd depends on nfsmount
Product: Gentoo Linux Reporter: macindy <gp>
Component: Current packagesAssignee: www-servers Herd (OBSOLETE) <www-servers+disabled>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description macindy 2008-08-20 17:43:25 UTC
If you use lighttpd in clustered conditions, you need nfs for file distribution. But the nfsmount-initscript is started after lighttpd is loaded. In this case lightppd can't get the www files. For this put in the depend section of the lighttpd-initscript a dependence of nfsmount.

Reproducible: Always

Steps to Reproduce:

Actual Results:  
lighttpd isn't loaded
Comment 1 Arthur Hagen 2008-08-21 10:01:32 UTC
In addition to nfsmount (or, rather netmount which will use nfsmount if needed), the init.d depend also lacks "use dns".  If using a local DNS server and binding lighty to domain names, it will fail to start.

I recommend adding "use netmount dns" to the depend() section.
Comment 2 Thilo Bangert (RETIRED) (RETIRED) gentoo-dev 2009-04-01 19:04:14 UTC
fixed in cvs - you will have to remerge lighttpd to get the changed init script installed.
thanks for the report.