Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 77738 - apache2: apache user home set to /home/httpd
Summary: apache2: apache user home set to /home/httpd
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
: 51982 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-01-12 13:54 UTC by Mark Janssen
Modified: 2005-02-06 00:21 UTC (History)
2 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 Mark Janssen 2005-01-12 13:54:13 UTC
The Apache user's home dir is still set to /home/httpd while this directory does not exist, causing strange errors.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Michael Stewart (vericgar) (RETIRED) gentoo-dev 2005-01-12 21:39:20 UTC
What strange errors are you seeing?

The apache user is a default in /etc/passwd, though I'm not sure why - the ebuild should probably add the user, and the default get taken out of /etc/passwd.

http://www.gentoo.org/proj/en/glep/glep-0027.html looks like it's been approved. I assume apache will move to that standard once it's implemented.
Comment 2 Mark Janssen 2005-01-13 07:00:47 UTC
It are errors with cacti, installed into htdocs/cacti/ - but the cronjob executes in ~apache/cacti or so (so /home/httpd/cacti which does not exist).
Comment 3 Christian Parpart (RETIRED) gentoo-dev 2005-01-21 22:34:14 UTC
What about setting the home directory to somewhere inside /srv?

So, we could follow the /srv GLEP 20 some day, too. (as we should)

see: http://www.gentoo.org/proj/en/glep/glep-0020.html
Comment 4 Christian Parpart (RETIRED) gentoo-dev 2005-02-05 01:37:27 UTC
As of apache-1.3.33-r1 and apache-2.0.52-r3. Apache will now add the apache user and group by himself using enewuser and enewgroup commands in the ebuild. The default homedir (for now) is set to /var/www.

I'd appreciate the base-system herd, when they will remove the apache entries from /etc/passwd and /etc/group though (thanks).
Comment 5 Michael Stewart (vericgar) (RETIRED) gentoo-dev 2005-02-05 11:32:06 UTC
Assigning to base-system. Our side is fixed, now it's their turn.
Comment 6 SpanKY gentoo-dev 2005-02-06 00:02:11 UTC
done
Comment 7 Benedikt Böhm (RETIRED) gentoo-dev 2005-02-06 00:21:26 UTC
*** Bug 51982 has been marked as a duplicate of this bug. ***