# la -d ~apache ls: /home/httpd: No such file or directory # finger apache Login: apache Name: apache Directory: /home/httpd Shell: /bin/false Never logged in. No mail. No Plan. i wasn't able to locate place where apache user is created, but i assume the home directory was set there by previous apache ebuild. ps: this wrong homedirectory prevents me from postconfiguring bugzilla: Do you want to set a crontab [y/N]y Unable to cd to "/home/httpd" * Then you just have to : * append to apache/conf: Include conf/bugzilla.conf * Restart Apache * login on http://yourhost/bugzilla/index.cgi and edit global parameters click *parameters* at the bottom * enjoy bugzilla! # crontab -l -u apache no crontab for apache Reproducible: Didn't try Steps to Reproduce: 1. 2. 3.
To be honest, I'm happy for /home/httpd to remain as the apache user's home directory. I don't know why we're installing users without a home directory. This is done in the sys-apps/baselayout package. I've re-assigned this bug to them to look into. Best regards, Stu
Stu, I don't give a rip what apache's home directory is or whether it exists or not. Just tell me what the apache team wants and you'll have it. Eventually I assume you would switch to enewuser and enewgroup whenever spanky finishes up his GLEP. So then... what do you want me to change in baselayout?
I commented on this in another working bug. Bug #49497 comment #6 may have some relevant information.
Hmm.. I guess this is our (apache herd's) problem, then.. should we create this in the 1.x/2.x ebuilds if non-existent? Is /home/httpd ok by everyone else?
beu wrote: > Hmm.. I guess this is our (apache herd's) problem, > then.. should we create this in the 1.x/2.x ebuilds > if non-existent? Is /home/httpd ok by everyone else? However, apache has it's base dir for virtual hosts, called /var/www, well, I think, it's a good idea to have this vhost *base* dir somewhere *inside* the apache's homedir, that is, even if apache's home is /var/www. I dislike daemons having their homedir's in the user's home directory, /home. And, if we *really* think about changing directory structure, we shall also think about /srv (new FHS), and tough, maybe e.g. /srv/apache-httpd (or whatever). Greetings, Christian Parpart.
Has anyone (/me pokes rl03 in the ribs ;-) looked into whether we really need a home directory for Apache? Is it possible to create cron jobs w/out the apache user having a home directory? Best regards, Stu
*** This bug has been marked as a duplicate of 77738 ***