When installing web-apps/bugzilla-3.2, all the .cgi files are created as hard links to the corresponding files in /usr/share/webapps, owned by root. In a shared-hosting environment with apache, fastcgi and suexec, the user who runs a webscript is determined by the directory of the virtual host and the file permissions (which must match in some way). Of course, suexec refuses to run those cgi scripts as root! An adequate fix would be to copy all .cgi instead of making hard links. This might also be controllable by use flags (e.g. suexec). Reproducible: Always Steps to Reproduce: 1. Install a running apache/fastcgi/suexec constellation 2. Install bugzilla into two webroots 3. chown -R webroots to their corresponding (different!) users 4. chown -R root:root /usr/share/webapps Actual Results: You get an "Internal Server Error" by apache and suexec_log results in "target uid/gid (webroot-uid,webroot-gid) mismatch with directory (webroot-uid,webroot-gid) or program (0/0)". Expected Results: Landing page of bugzilla
hard linking is how webapp-config works. the real 'fix' would be to add copy support to webapp-config. as a workaround you can install it manually, of course, by copying the bugzilla cgi files (or you run mpm itk/peruser to get rid of the suxec cruft)