Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 46525 - cvsweb and other ebuilds fail when trying to write to a network-mounted /home
Summary: cvsweb and other ebuilds fail when trying to write to a network-mounted /home
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Web Application Packages Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-01 13:54 UTC by Mike Culbertson
Modified: 2004-04-23 10:12 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 Mike Culbertson 2004-04-01 13:54:42 UTC
I'm using cvsweb as an example here, but there are other applications that do this as well (sorry, I didn't keep a list).

The problem is simple, in the case of cvsweb (from the ebuild)
<snip>
    insinto /home/httpd/cgi-bin
</snip>

The problem lies in an environment with network-mounted /home directories. In my specific case, /home is NFS-mounted with root_squash on.  This makes any ebuild that tries to write to /home fail.

Some setups mount home directories individually, but many others nfs-mount /home itself.  IMHO, /home is a completely custom location, and no ebuild should assume that it will be writable, or even exist. (and in the case of cvsweb, /home/httpd is not even the default location for apache)



Reproducible: Always
Steps to Reproduce:
1. NFS mount /home with root_sqash on
2. emerge cvsweb or any other package that tries to write to /home
3.
Comment 1 Stuart Herbert (RETIRED) gentoo-dev 2004-04-23 10:12:38 UTC
We're in the process of porting all web-based applications to install into /var/www/localhost by default.  Please track the relevant bugs for the packages that are causing you problems.

Best regards,
Stu