Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 3533 - automounter on /home and emerge apache
Summary: automounter on /home and emerge apache
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Donny Davies (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-06-09 03:22 UTC by Harald Kubota
Modified: 2003-09-04 04:32 UTC (History)
1 user (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 Harald Kubota 2002-06-09 03:22:36 UTC
When installing Apache via "emerge apache" the script was not able to install
the usual files in /home as the automounter took over this directory. Stopping
the automounter helped. Later copying /home/httpd to another place (in my case
/var/httpd) and changing the config files for Apache in /etc/apache/conf/* and
/etc/passwd to reflect this move, helped. Since /home is the default place to
have home directories for users, I fear I am not the only one having this problem.

I did not find any documentation for emerge to move this directory somewhere
else using a command line parameter.

A proposed solution could be to choose a different directory or to test for
automount on /home. The latter being more a hack than a clean solution...
Comment 1 Nicholas Jones (RETIRED) gentoo-dev 2002-06-18 16:21:27 UTC
I'm not sure how friendly apache would be to an automounted partition. Why not
just mount at boot? 

Wanna try 1.3.24-r6 -- It's an exploit fix, and I added in functionality
that works with your current config. It checks the home directory of user
'apache' and makes data_dir go there instead of /home/httpd
Comment 2 Nicholas Jones (RETIRED) gentoo-dev 2002-06-21 16:45:54 UTC
Solution has been added and tested.
Comment 3 Gregory Shimansky 2003-09-03 15:30:01 UTC
When my /home directory is on automount which is mapped to NFS directories with a NIS card, and my root is only local root, not a network wide root, emerge breaks because apache stills tries to install into /home/httpd (why not use more commonly used /var/ directories?). The same is true for ftp and proftpd packages.

Stopping automount and emerging helps though.
Comment 4 SpanKY gentoo-dev 2003-09-04 04:32:17 UTC
your problem will be a non issue in the future ... the web-apps.eclass will take 
care of it