tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Apache should never be a mandatory dependency



>    Any reason APACHE_USER/APACHE_GROUP and NGINX_USER/NGINX_GROUP
> must differ? Some packages depend on apache and set
> WWW_USER=APACHE_USER/WWW_GROUP=APACHE_GROUP, then set permissions
> with WWW_USER/WWW_GROUP.
> 
> I may want to have Apache and nginx both running simultaneously in
> isolated privilege domains.

In that case, the user has a special requirement, and most likely the
knowledge to take care of setting the appropriate PKG_OPTIONS him- or
herself. It might be a good idea to keep the possibility of using
different users/groups, but for mainstream, having them use the same
user/group.
It might even be a possibility, to have a general "WWW_USER" and
"WWW_GROUP" parameter introduced, that will be used as a default, if
(APACHE|NGINX)_(USER|GROUP) is empty.

That way, everything is possible, while the packages in general will
use a unified user/group.

- Volkmar


-- 
http://www.dimensionv.de/
http://tech.nifelheim.info/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
OpenPGP
Fingerprint: E03D 33DB B409 2E99 C2DA 7D64 145F 0A76 D252 7078
Key: http://www.dimensionv.de/pgp (+ all public key-servers)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Attachment: pgpF_uvzJWtXj.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index