Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 187113 - www-servers/mini_httpd startup script ignores MINI_HTTPD_DOCROOT
Summary: www-servers/mini_httpd startup script ignores MINI_HTTPD_DOCROOT
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: www-servers Herd (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-30 10:48 UTC by ta2002
Modified: 2007-08-26 21:20 UTC (History)
0 users

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 ta2002 2007-07-30 10:48:01 UTC
No matter what value I put for MINI_HTTPD_DOCROOT in /etc/conf.d/mini_httpd, when I start it with the init script, it always starts with a docroot of /. If I start it just by /usr/sbin/mini_httpd, the program sets the current directory to the docroot (as it should).

I see that /etc/init.d/mini_httpd has a line "cd $MINI_HTTPD_DOCROOT", but that does not become the docroot. I don't know enough about the programs behind the startup scripts to explain why.

Using version 1.19 (the only version currently in portage).
Comment 1 Thilo Bangert (RETIRED) (RETIRED) gentoo-dev 2007-08-26 21:20:27 UTC
fixed in cvs - thanks for the report